bc-csharp icon indicating copy to clipboard operation
bc-csharp copied to clipboard

BouncyCastle.NET Cryptography Library (Mirror)

Results 210 bc-csharp issues
Sort by recently updated
recently updated
newest added

I am trying to add `SerialNumber` and `UID` as SAN but don't know how to add it, I am trying this code but it gives me error: ``` GeneralName name1...

Optimize constructors for `Org.BouncyCastle.Asn1.X509.Time` and `Org.BouncyCastle.Asn1.Cms.Time`. In the original code, `DateTime` was format to string, from string was parsed year and ASN1 time structure. I removed unnecessary steps from this...

This is the latest branch of the PCL version, updated to support: - `net6.0` - `net4` - `netstandard2.0` That provides the widest range of functionality to supported platforms, including Xamarin...

Instance `RevokedStatus` in `Org.BouncyCastle.Ocsp` it is not possible to create without a reason code. Well, he is optional.

Hi, im trying to decrypt RSA/ECB/OAEPWITHSHA-256ANDMGF1PADDING message in .net framework 4.8, however it seems cant be decrypted and im getting error message "data wrong". I'm able to decrypt RSA/ECB/OAEPWITHSHA-1ANDMGF1PADDING message...

In method `AddResponse` in [BasicOcspRespGenerator](https://github.com/bcgit/bc-csharp/blob/93b32a75656955faf7996d0f3e0ed391968d2ac6/crypto/src/ocsp/BasicOCSPRespGenerator.cs#L148) is optional `thisUpdate` time. But in _RFC 6960_ in ASN1 structure is optional `nextUpdate` time and `thisUpdate` is required. Using the current API, it is...

I'm using `CmsSignedDataGenerator` class to generate P7S files, but when I use a certificate stored in a smart card (USB), I receive the following exception: ` var cert = Certs.Find(thumbprint:...

`-----BEGIN EC PRIVATE KEY----- MHcCAQEEIFFi1Uoq5Toqp2Rgq7dSCIZjxVBu/WgzDbG9VOE+lZvtoAoGCCqBHM9V AYItoUQDQgAEJGkyPepQwAG6TRwf88Q6hOz82vVXq7mUxIxbr/yLPbLKLbOHULVW TBl6iA3DFaDhCedJdGuqvgIQyG4MSgJuXg== -----END EC PRIVATE KEY----- ` Here is the EC PRIVATE KEY, how to read it and convert to AsymmetricKeyParameter format ?