RSA.ExportRSAPublicKeyPem Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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.