RSA.ExportRSAPublicKeyPem Método

Definición

Exporta la parte de clave pública de la clave actual en el formato RSAPublicKey PKCS#1, codificado en PEM.

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

Devoluciones

String

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

Excepciones

No se ha podido exportar la clave.

Comentarios

A PEM-encoded PKCS#1 RSAPublicKey will begin with -----BEGIN RSA PUBLIC KEY----- and end with -----END RSA PUBLIC 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