Table of Contents

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

rsa RSA

Retour

string

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

rsa RSA

Retour

string

ImportPrivateKey(string)

Import OpenSSH PEM private key string into RSA

public static RSA ImportPrivateKey(string pem)

Paramètres

pem string

Retour

RSA

ImportPublicKey(string, RSA)

Import OpenSSH PEM public key string into RSA

public static RSA ImportPublicKey(string pem, RSA rsa)

Paramètres

pem string
rsa RSA

Retour

RSA