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