RSA.ExportRSAPrivateKeyPem Método

Definição

Exporta a chave atual no formato PKCS#1 RSAPrivateKey, codificado em PEM.

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

Devoluções

Uma cadeia contendo o PKCS#1 RSAPrivateKey codificado em PEM.

Exceções

A chave não pôde ser exportada.

Observações

Uma PKCS#1 RSAPrivateKey codificada em PEM começará e -----BEGIN RSA PRIVATE KEY----- terminará com -----END RSA PRIVATE KEY-----, com o conteúdo DER codificado em base 64 da chave entre os limites do PEM.

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

Aplica-se a