Class PEMCrypto
- Espace de noms
- SecureExchangesSDK.Helpers
- Assembly
- SecureExchangesSDK.NetCore.dll
public class PEMCrypto
- Héritage
-
PEMCrypto
- Membres hérités
- Extension Methods
Methods
ExportPrivateKey(RSA)
Export private (including public) key from RSA into OpenSSH PEM string slightly modified from https://stackoverflow.com/a/23739932/2860309
public static string ExportPrivateKey(RSA rsa)
Paramètres
rsaRSA
Retour
ExportPublicKey(RSA)
Export public key from RSA into OpenSSH PEM string slightly modified from https://stackoverflow.com/a/28407693
public static string ExportPublicKey(RSA rsa)
Paramètres
rsaRSA
Retour
ImportPrivateKey(string)
Import OpenSSH PEM private key string into RSA
public static RSA ImportPrivateKey(string pem)
Paramètres
pemstring
Retour
ImportPublicKey(string, RSA)
Import OpenSSH PEM public key string into RSA
public static RSA ImportPublicKey(string pem, RSA rsa)