RSA.ExportRSAPrivateKeyPem Méthode

Définition

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

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

Retours

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

Exceptions

Impossible d’exporter la clé.

Remarques

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

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

S’applique à