[Solved] convert java code with RSA to c#


X509EncodedKeySpec is the SubjectPublicKey part of a certificate. So you probably need to decode this structure. You could look at BouncyCastle for C# and check out Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo.GetInstance(byte[])

1

solved convert java code with RSA to c#