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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για