Edit

Share via


CertificateRevocationListBuilder.LoadPem Method

Definition

Overloads

LoadPem(ReadOnlySpan<Char>, BigInteger)

Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL.

LoadPem(String, BigInteger)

Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL.

LoadPem(ReadOnlySpan<Char>, BigInteger)

Source:
CertificateRevocationListBuilder.Load.cs
Source:
CertificateRevocationListBuilder.Load.cs
Source:
CertificateRevocationListBuilder.Load.cs

Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL.

public:
 static System::Security::Cryptography::X509Certificates::CertificateRevocationListBuilder ^ LoadPem(ReadOnlySpan<char> currentCrl, [Runtime::InteropServices::Out] System::Numerics::BigInteger % currentCrlNumber);
public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder LoadPem (ReadOnlySpan<char> currentCrl, out System.Numerics.BigInteger currentCrlNumber);
static member LoadPem : ReadOnlySpan<char> * BigInteger -> System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder
Public Shared Function LoadPem (currentCrl As ReadOnlySpan(Of Char), ByRef currentCrlNumber As BigInteger) As CertificateRevocationListBuilder

Parameters

currentCrl
ReadOnlySpan<Char>

The PEM-encoded CRL to decode.

currentCrlNumber
BigInteger

When this method returns, contains the CRL sequence number from the decoded CRL. This parameter is treated as uninitialized.

Returns

A new builder that has the same revocation entries as the decoded CRL.

Exceptions

currentCrl did not contain a well-formed PEM payload with an X509 CRL label.

-or-

currentCrl could not be decoded.

Remarks

This loads the first well-formed PEM found with an X509 CRL label.

Applies to

LoadPem(String, BigInteger)

Source:
CertificateRevocationListBuilder.Load.cs
Source:
CertificateRevocationListBuilder.Load.cs
Source:
CertificateRevocationListBuilder.Load.cs

Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL.

public:
 static System::Security::Cryptography::X509Certificates::CertificateRevocationListBuilder ^ LoadPem(System::String ^ currentCrl, [Runtime::InteropServices::Out] System::Numerics::BigInteger % currentCrlNumber);
public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder LoadPem (string currentCrl, out System.Numerics.BigInteger currentCrlNumber);
static member LoadPem : string * BigInteger -> System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder
Public Shared Function LoadPem (currentCrl As String, ByRef currentCrlNumber As BigInteger) As CertificateRevocationListBuilder

Parameters

currentCrl
String

The PEM-encoded CRL to decode.

currentCrlNumber
BigInteger

When this method returns, contains the CRL sequence number from the decoded CRL. This parameter is treated as uninitialized.

Returns

A new builder that has the same revocation entries as the decoded CRL.

Exceptions

currentCrl is null.

currentCrl did not contain a well-formed PEM payload with an X509 CRL label.

-or-

currentCrl could not be decoded.

Remarks

This loads the first well-formed PEM found with an X509 CRL label.

Applies to