Share via


RSA.ExportRSAPublicKeyPem メソッド

定義

現在のキーの公開キー部分を PKCS#1 RSAPublicKey 形式 (PEM エンコード) でエクスポートします。

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

戻り値

PEM でエンコードされた PKCS#1 RSAPublicKey を含む文字列。

例外

キーをエクスポートすることができませんでした。

注釈

PEM でエンコードされた PKCS#1 RSAPublicKey は、 で始まり -----BEGIN RSA PUBLIC KEY----- 、 で -----END RSA PUBLIC KEY-----終わり、PEM 境界間のキーの base64 でエンコードされた DER コンテンツを使用します。

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

適用対象