Ends a pending asynchronous certificate verification request.

Namespace: LLCryptoLib.Security.Certificates
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionar is a null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionThe ar parameter was not returned by a call to the BeginVerifyChain(String, AuthType, VerificationFlags, AsyncCallback, Object) method.
System..::..InvalidOperationExceptionEndVerifyChain was previously called for the asynchronous chain verification.
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while verifying the certificate chain.

See Also