CertificateRevocationListBuilder.Load 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.
Overloads
Load(Byte[], BigInteger) |
Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL. |
Load(ReadOnlySpan<Byte>, BigInteger, Int32) |
Decodes the specified Certificate Revocation List (CRL) and produces a CertificateRevocationListBuilder with all of the revocation entries from the decoded CRL. |
Load(Byte[], BigInteger)
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 ^ Load(cli::array <System::Byte> ^ currentCrl, [Runtime::InteropServices::Out] System::Numerics::BigInteger % currentCrlNumber);
public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder Load (byte[] currentCrl, out System.Numerics.BigInteger currentCrlNumber);
static member Load : byte[] * BigInteger -> System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder
Public Shared Function Load (currentCrl As Byte(), ByRef currentCrlNumber As BigInteger) As CertificateRevocationListBuilder
Parameters
- currentCrl
- Byte[]
The DER-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
could not be decoded.
-or-
currentCrl
decoded successfully, but decoding did not
need all of the bytes provided in the array.
Applies to
Load(ReadOnlySpan<Byte>, BigInteger, Int32)
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 ^ Load(ReadOnlySpan<System::Byte> currentCrl, [Runtime::InteropServices::Out] System::Numerics::BigInteger % currentCrlNumber, [Runtime::InteropServices::Out] int % bytesConsumed);
public static System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder Load (ReadOnlySpan<byte> currentCrl, out System.Numerics.BigInteger currentCrlNumber, out int bytesConsumed);
static member Load : ReadOnlySpan<byte> * BigInteger * int -> System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder
Public Shared Function Load (currentCrl As ReadOnlySpan(Of Byte), ByRef currentCrlNumber As BigInteger, ByRef bytesConsumed As Integer) As CertificateRevocationListBuilder
Parameters
- currentCrl
- ReadOnlySpan<Byte>
The DER-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.
- bytesConsumed
- Int32
When this method returns, contains the number of bytes that were read from currentCrl
while decoding.
Returns
A new builder that has the same revocation entries as the decoded CRL.
Exceptions
currentCrl
could not be decoded.