X509Certificate2Collection.ExportPkcs7Pem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports the X.509 public certificates as a PKCS7 certificate collection, encoded as 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
Returns
The PEM encoded PKCS7 collection.
- Attributes
Exceptions
A certificate is corrupt, in an invalid state, or could not be exported to PEM.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.