How to load RSA Public Key generated by openSSL into RSACryptoServiceProvider?

You have the private key, so it's probably easier to generate a self-signed certificate from the key. You can use System.Security.Cryptography. X509Certificates.

X509Certificate (I think you should have the certificate in DER / ASN.1 format rather thant PEM) to load the certificate and X509Certificate.GetPublicKey() to get the public key.

Sorry for the late feedback but your answer was not helpful. I do not have access to the private key from this application and the core of my question is how to get DER or ASN.1 from PEM. – Stephan B Jul 14 at 23:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions