[Solved] convert java code with RSA to c#

[ad_1]

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

[ad_2]

solved convert java code with RSA to c#