RSA.ExportRSAPublicKeyPem Metoda

Definice

Exportuje část aktuálního klíče ve formátu PKCS#1 RSAPublicKey s kódováním PEM.

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

Návraty

String

Řetězec obsahující kódovaný PEM PKCS#1 RSAPublicKey.

Výjimky

Klíč nelze exportovat.

Poznámky

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.

Platí pro