X509Certificate2Collection.TryExportPkcs7Pem(Span<Char>, Int32) 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.
Attempts to export the X.509 public certificates as a PKCS7 certificate collection, encoded as PEM.
public:
bool TryExportPkcs7Pem(Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public bool TryExportPkcs7Pem (Span<char> destination, out int charsWritten);
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.TryExportPkcs7Pem : Span<char> * int -> bool
Public Function TryExportPkcs7Pem (destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean
Parameters
- charsWritten
- Int32
When this method returns, the total number of characters written to destination
.
Returns
true
if destination
was large enough to receive PEM encoded PKCS7 certificate collection; otherwise, false
.
- Attributes
Exceptions
A certificate is corrupt, in an invalid state, or could not be exported to PEM.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.