I have public and private key information from a self-signed certificate. I
extract the RSA parameters using Microsoft cypto and then pass it to the code
in the following function:
byte[] retValue = null;
byte[] encrypted = null;
IAsymmetricBlockCipher cipher = new Pkcs1
Check to see if one of the items is zero prefixed. Msft requires that all
of the parameters be of the correct length but other libraries want to have
unsigned numbers, thus the zero prefix.
From: Herbert Falk
Sent: Saturday, September 5, 2020 12:30 PM
To: dev-crypto-csharp@bouncycastle.org
S