BrunORC
❔ X509 Certificate from base64 string
I am trying to transform a base64 string I receive from a previous webrequest into a x509 certificate btu all I get is a . The public key I got in base64 is this one: and I intend to later use it in an RSACryptoServiceProvider to encrypt some data. I have the same code in Java working properly and can't understand what might be wrong in the C# version.
Java code from public key string into X509 cert.
C# version 1 from public key string into X509 cert with error:
C# version 2 from public key string into X509 cert with error:
I have tried other options, all of which failed so far.
71 replies