CertificateRevocationListBuilder.Load 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
解碼指定的憑證撤銷清單(CRL),並產生包含解碼後 CRL 中所有撤銷條目的 a CertificateRevocationListBuilder 。
多載
| 名稱 | Description |
|---|---|
| Load(Byte[], BigInteger) |
解碼指定的憑證撤銷清單(CRL),並產生包含解碼後 CRL 中所有撤銷條目的 a CertificateRevocationListBuilder 。 |
| Load(ReadOnlySpan<Byte>, BigInteger, Int32) |
解碼指定的憑證撤銷清單(CRL),並產生包含解碼後 CRL 中所有撤銷條目的 a CertificateRevocationListBuilder 。 |
Load(Byte[], BigInteger)
解碼指定的憑證撤銷清單(CRL),並產生包含解碼後 CRL 中所有撤銷條目的 a CertificateRevocationListBuilder 。
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
參數
- currentCrl
- Byte[]
DER編碼的CRL要解碼。
- currentCrlNumber
- BigInteger
當此方法返回時,包含解碼後 CRL 的序列號。 此參數被視為未初始化。
傳回
一個新的建構者,其撤銷條目與解碼後的 CRL 相同。
例外狀況
currentCrl 是 null。
適用於
Load(ReadOnlySpan<Byte>, BigInteger, Int32)
解碼指定的憑證撤銷清單(CRL),並產生包含解碼後 CRL 中所有撤銷條目的 a CertificateRevocationListBuilder 。
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
參數
- currentCrl
- ReadOnlySpan<Byte>
DER編碼的CRL要解碼。
- currentCrlNumber
- BigInteger
當此方法返回時,包含解碼後 CRL 的序列號。 此參數被視為未初始化。
- bytesConsumed
- Int32
當此方法回傳時,包含解碼時所讀取 currentCrl 的位元組數。
傳回
一個新的建構者,其撤銷條目與解碼後的 CRL 相同。
例外狀況
currentCrl 無法解碼。