X509Certificate2Collection.ExportPkcs7Pem Method
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();
C#
[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
The PEM encoded PKCS7 collection.
- Attributes
A certificate is corrupt, in an invalid state, or could not be exported to PEM.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
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.
.NET feedback
.NET is an open source project. Select a link to provide feedback: