Share via


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。

适用于