Mentalis.org Security Library documentation

CertificateChain.VerifyChain Method (String, AuthType)

Verifies the end Certificate according to the SSL policy rules.

[Visual Basic]
Overridable Overloads Public Function VerifyChain( _
   ByVal server As String, _
   ByVal type As AuthType _
) As CertificateStatus
[C#]
public virtual CertificateStatus VerifyChain(
   string server,
   AuthType type
);

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.

Return Value

One of the CertificateStatus values.

Exceptions

Exception TypeCondition
CertificateExceptionAn error occurs while verifying the certificate.

See Also

CertificateChain Class | Org.Mentalis.Security.Certificates Namespace | CertificateChain.VerifyChain Overload List