ECAlgorithm.ExportECPrivateKeyPem Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exporte la clé actuelle au format ECPrivateKey, encodée PEM.
public:
System::String ^ ExportECPrivateKeyPem();
public string ExportECPrivateKeyPem();
member this.ExportECPrivateKeyPem : unit -> string
Public Function ExportECPrivateKeyPem () As String
Retours
Chaîne contenant la clé ECPrivateKey encodée par PEM.
Exceptions
Impossible d’exporter la clé.
Remarques
Une clé ECPrivateKey codée en PEM commence par -----BEGIN EC PRIVATE KEY----- et se termine -----END EC 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.