Mentalis.org Security Library documentation

CertificateChain.BeginVerifyChain Method 

Begins verification of the end Certificate according to the SSL policy rules.

[Visual Basic]
Overridable Public Function BeginVerifyChain( _
   ByVal server As String, _
   ByVal type As AuthType, _
   ByVal flags As VerificationFlags, _
   ByVal callback As AsyncCallback, _
   ByVal asyncState As Object _
) As IAsyncResult
[C#]
public virtual IAsyncResult BeginVerifyChain(
   string server,
   AuthType type,
   VerificationFlags flags,
   AsyncCallback callback,
   object asyncState
);

Parameters

server
The server that returned the certificate -or- a null reference if the certificate is a client certificate.
type
One of the AuthType values.
flags
One or more of the VerificationFlags values. VerificationFlags values can be combined with the OR operator.
callback
The AsyncCallback delegate.
asyncState
An object that contains state information for this request.

Return Value

An IAsyncResult that references the asynchronous connection.

Exceptions

Exception TypeCondition
CertificateExceptionAn error occurs while queuing the verification request.

See Also

CertificateChain Class | CertificateChain Members | Org.Mentalis.Security.Certificates Namespace