X509Certificate2Collection.ExportCertificatePems メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
PEM としてエンコードされたパブリック X.509 証明書をエクスポートします。
public:
System::String ^ ExportCertificatePems();
public string ExportCertificatePems ();
member this.ExportCertificatePems : unit -> string
Public Function ExportCertificatePems () As String
戻り値
証明書の PEM エンコード。
例外
証明書が破損しているか、無効な状態であるか、PEM にエクスポートできませんでした。
すべての証明書のエンコードの合計サイズが Int32.MaxValue を超えています。
注釈
A PEM-encoded X.509 certificate collection will contain certificates
where each certificate begins with -----BEGIN CERTIFICATE-----
and ends with -----END CERTIFICATE-----, with the base64 encoded DER
contents of the certificate between the PEM boundaries. Each certificate is
separated by a single line-feed character.
Certificates are encoded according to the IETF RFC 7468 "strict" encoding rules.