bc-csharp
bc-csharp copied to clipboard
BouncyCastle.NET Cryptography Library (Mirror)
Are there available debug entries in BC, to give more info about decryption and encryption errors.
Please see error info: Stream clear = pbe.GetDataStream(sKey); PgpObjectFactory plainFact = new PgpObjectFactory(clear); PgpObject message = plainFact.NextPgpObject(); if (message is PgpCompressedData) { PgpCompressedData cData = (PgpCompressedData)message; PgpObjectFactory pgpFact = new...
Hi Team, I am using NCryptoki with C# code and I have created a multiple NCryptoki sessions in parallel. I want to get the list of open NCryptoki sessions from...
Hello in my ASP MVC app, I am getting some errors that there, `Found conflicts between different versions of "BouncyCastle.Crypto" that could not be resolved` In my packages config I...
We recently upgraded to the 1.8.6 package. 1.8.6.1 was published but there are no commits in git or release notes. I see that 1.8.6 was unlisted on nuget.org too. What's...
So, I added an additional constructor to the BlowfishEngine to allow it to run in a "compatibility" mode, it might be better as a parameter to init, and you can...
I am trying to create a PKCS #12 file using AES 128. When I create a PKCS #12 file from OpenSSL using AES and print out the structure, I get:...
I wanted to do some crypto with BigIntegers, but the it doesn't seem to be possible to delete them or securely overwrite them. Could you add such a method?
I have a pkcs7 **SignedData**(see my attachment), I want to validated it by Bouncy Castle. But at first, the data can't parsed by `new CmsSignedData(byte[] sigBlock)` or `new CmsSignedDataParser(byte[] sigBlock)`:...
Hi, faced some issue with Gost-2012 signature verification. For example for such signature: [signature_with_file.zip](https://github.com/bcgit/bc-csharp/files/3845325/signature_with_file.zip) If I call `SignerInformation.Verify(signerCert)` it throws [SecurityUtilityException ](https://github.com/bcgit/bc-csharp/blob/f18a2dbbc2c1b4277e24a2e51f09cac02eedf1f5/crypto/src/security/SignerUtilities.cs#L563) "1.2.643.7.1.1.2.2WITH1.2.643.7.1.1.1.1 not recognised" Bouncy castle doesn't know anything...