RSA.ExportRSAPrivateKeyPem Méthode

Définition

Exporte la clé actuelle au format RSAPrivateKey PKCS#1, encodé en PEM.

public:
 System::String ^ ExportRSAPrivateKeyPem();
public string ExportRSAPrivateKeyPem ();
member this.ExportRSAPrivateKeyPem : unit -> string
Public Function ExportRSAPrivateKeyPem () As String

Retours

Chaîne contenant la clé PKCS#1 RSAPrivateKey encodée en PEM.

Exceptions

La clé n’a pas pu être exportée.

Remarques

Une clé RSAPrivateKey codée en PEM PKCS#1 commence par -----BEGIN RSA PRIVATE KEY----- et se termine par -----END RSA PRIVATE KEY-----, avec le contenu DER encodé en base64 de la clé entre les limites PEM.

          The PEM is encoded according to the IETF RFC 7468 "strict"
          encoding rules.

S’applique à