Verifies the end Certificate according to the SSL policy rules.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public virtual CertificateStatus VerifyChain(
	string server,
	AuthType type,
	VerificationFlags flags
)
Visual Basic
Public Overridable Function VerifyChain ( _
	server As String, _
	type As AuthType, _
	flags As VerificationFlags _
) As CertificateStatus
Visual C++
public:
virtual CertificateStatus VerifyChain(
	String^ server, 
	AuthType type, 
	VerificationFlags flags
)

Parameters

server
Type: System..::..String
The server that returned the certificate -or- a null reference if the certificate is a client certificate.
type
Type: LLCryptoLib.Security.Certificates..::..AuthType
One of the AuthType values.
flags
Type: LLCryptoLib.Security.Certificates..::..VerificationFlags
One or more of the VerificationFlags values. VerificationFlags values can be combined with the OR operator.

Return Value

One of the CertificateStatus values.

Exceptions

ExceptionCondition
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while verifying the certificate.

See Also