X509Certificate2Collection.ExportPkcs7Pem 方法

定義

將 X.509 公開憑證匯出為 PKCS7 憑證集合,編碼為 PEM。

public:
 System::String ^ ExportPkcs7Pem();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public string ExportPkcs7Pem ();
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.ExportPkcs7Pem : unit -> string
Public Function ExportPkcs7Pem () As String

傳回

PEM 編碼的 PKCS7 集合。

屬性

例外狀況

憑證已損毀、處於無效狀態,或無法匯出至 PEM。

適用於