Class PEMCrypto
Assembly: SecureExchangesSDK.dll
Syntax
Methods
ExportPrivateKey(RSACryptoServiceProvider)
Declaration
public static string ExportPrivateKey(RSACryptoServiceProvider csp)
Parameters
Returns
ExportPublicKey(RSACryptoServiceProvider)
Declaration
public static string ExportPublicKey(RSACryptoServiceProvider csp)
Parameters
Returns
ImportPrivateKey(string)
Import OpenSSH PEM private key string into MS RSACryptoServiceProvider
Declaration
public static RSACryptoServiceProvider ImportPrivateKey(string pem)
Parameters
| Type |
Name |
Description |
| string |
pem |
|
Returns
ImportPublicKey(string, RSACryptoServiceProvider)
Import OpenSSH PEM public key string into MS RSACryptoServiceProvider
Declaration
public static RSACryptoServiceProvider ImportPublicKey(string pem, RSACryptoServiceProvider csp)
Parameters
Returns
Extension Methods