bc-csharp
bc-csharp copied to clipboard
BouncyCastle.NET Cryptography Library (Mirror)
Here is my scenario: Using the following openssl command to generate the pfx file which doesn't contains cert: > openssl.exe genrsa -aes256 -out E:\Temp\test.pem -passout pass:123456 2048 2 > openssl.exe...
code : ```C# var certificateStore = new Pkcs12Store(certificateStream, password.ToCharArray()); ``` | 名称 | 值 | 类型 -- | -- | -- | -- ▶ | $exception | {"attempt to add...
https://github.com/bcgit/bc-csharp/blob/42f933608f60af7e9c36ffa3f9150b06b842a6ca/crypto/src/tsp/TSPUtil.cs#L144 But in real life we may encounter with absolutely random sets of KeyUsage and ExtendedKeyUsage attrs. And it is OK for us. How about adding extension points in such...
https://github.com/bcgit/bc-csharp/blob/42f933608f60af7e9c36ffa3f9150b06b842a6ca/crypto/src/cms/SignerInformation.cs#L431 I need to validate a counter sign which is obtained from a time stamp server. Message from it contains a content type field. ``` ... [1] (2 elem) SEQUENCE...
Steps to reproduce: 1. Create Blazor Web Assembly Project: dotnet new blazorwasm 2. Add package reference to project: 3. Add code to create a BigInteger: BigInteger b = new BigInteger("18446744073709551616");...
Are there any plans to add TLS v1.3 anytime soon? I checked the `bc-java` repo and similar issues about it date back to 2018. Maybe I'm looking in the wrong...
I tried to connect to prod.jdgroupmesh.cloud on port 443. But I get fatal alert internal_error(80). 
The TwofishEngine's Init function only fails with "Key size larger than 256 bits" if the supplied key is larger than 312 bit. I believe this is because the following line...
Greetings, developers! A new mapping is required to create and verify a ESIA (https://www.gosuslugi.ru/) signature for oauth2. Hashing algorithm - GOST 34.11-2012 Algorithm electronically - GOST 34.10-2012 More information https://partners.gosuslugi.ru/catalog/esia...
Add support of GOST2012 algorithms for the CmsSignedDataGenerator class. This helps to generate a digital signature with actual russian algorithms.