X509Certificate2Collection.ExportCertificatePems Methode

Definition

Exportiert die öffentlichen X.509-Zertifikate, die als PEM codiert sind.

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

Gibt zurück

String

Die PEM-Codierung der Zertifikate.

Ausnahmen

Ein Zertifikat ist beschädigt, in einem ungültigen Zustand oder konnte nicht in PEM exportiert werden.

Die kombinierte Größe aller Zertifikate überschreitet Int32.MaxValue.

Hinweise

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.

Gilt für: