Compartir a través de


RSA.ExportRSAPrivateKeyPem Método

Definición

Exporta la clave actual en el formato RSAPrivateKey PKCS#1, codificado en PEM.

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

Devoluciones

String

Cadena que contiene el PKCS#1 RSAPrivateKey codificado en PEM.

Excepciones

No se ha podido exportar la clave.

Comentarios

A PEM-encoded PKCS#1 RSAPrivateKey will begin with -----BEGIN RSA PRIVATE KEY----- and end with -----END RSA PRIVATE KEY-----, with the base64 encoded DER contents of the key between the PEM boundaries.

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

Se aplica a