Ends a pending asynchronous certificate verification request.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public virtual CertificateStatus EndVerifyChain( IAsyncResult ar ) |
| Visual Basic |
|---|
Public Overridable Function EndVerifyChain ( _ ar As IAsyncResult _ ) As CertificateStatus |
| Visual C++ |
|---|
public: virtual CertificateStatus EndVerifyChain( IAsyncResult^ ar ) |
Parameters
- ar
- Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user-defined data.
Return Value
One of the CertificateStatus values.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | ar is a null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | The ar parameter was not returned by a call to the BeginVerifyChain(String, AuthType, VerificationFlags, AsyncCallback, Object) method. |
| System..::..InvalidOperationException | EndVerifyChain was previously called for the asynchronous chain verification. |
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while verifying the certificate chain. |