RSA.ExportRSAPublicKeyPem 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 partie clé publique de la clé actuelle au format RSAPublicKey PKCS#1, encodée PEM.
public:
System::String ^ ExportRSAPublicKeyPem();
public string ExportRSAPublicKeyPem();
member this.ExportRSAPublicKeyPem : unit -> string
Public Function ExportRSAPublicKeyPem () As String
Retours
Chaîne contenant la clé RSAPublicKey encodée en PEM PKCS#1.
Exceptions
Impossible d’exporter la clé.
Remarques
Un PKCS#1 RSAPublicKey encodé en PEM commence par -----BEGIN RSA PUBLIC KEY----- et se termine -----END RSA PUBLIC 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.