I have a DSA
private key exported using the DSACryptoServiceProvider.ToXmlString
, and I need to convert it to PEM
format ("file.pem"), so I can open it in PHP
using openssl_pkey_get_private
function.
How do I accomplish this?
The solution can use DSACryptoServiceProvider.ExportCspBlob
method if it's of any help, I just need to convert the key.