AsymmetricAlgorithm.ExportPkcs8PrivateKeyPem Méthode

Définition

Exporte la clé actuelle au format PKCS#8 PrivateKeyInfo, encodé PEM.

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

Retours

Chaîne contenant le code PKCS#8 PrivateKeyInfo codé en PEM.

Exceptions

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

Remarques

Un PKCS#8 PrivateKeyInfo encodé pem commence par -----BEGIN PRIVATE KEY----- et se termine par -----END 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 à