Convert RSACryptoServiceProvider RSA XML key to PKCS8
问题 I use RSACryptoServiceProvider in my C# code, and it's working good I could Export RSA XML private and public keys, but for some reason I need to convert this key to *.pem with format (PKCS8 Unencrypted) my private key like <RSAKeyValue> <Modulus>zYs6baSaRDgLc5fG3/ozwGwS8OAvxd9quE2su+7//Lnz2WuIbe8jMc5kL7p2gsPZUEoB88SFHdGZSYiZJhERDc/1iQ4VsW2/ra8DBW+1m3K33EDvvI3rJ0NIyuRNuwoYql3hYdY0cdW6Gru9ZARCpptgBSJEiUSPjlzDEXz3RaU=</Modulus> <Exponent>AQAB</Exponent> <P