RSA.ExportRSAPublicKeyPem Método

Definição

Exporta a parte de chave pública da chave atual no formato PKCS nº 1 RSAPublicKey, codificado em PEM.

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

Retornos

String

Uma cadeia de caracteres que contém o PKCS nº 1 RSAPublicKey codificado em PEM.

Exceções

Não é possível exportar a chave.

Comentários

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.

Aplica-se a