Verifies the end Certificate according to the SSL policy rules.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public virtual CertificateStatus VerifyChain( string server, AuthType type ) |
| Visual Basic |
|---|
Public Overridable Function VerifyChain ( _ server As String, _ type As AuthType _ ) As CertificateStatus |
| Visual C++ |
|---|
public: virtual CertificateStatus VerifyChain( String^ server, AuthType type ) |
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.
Return Value
One of the CertificateStatus values.
Exceptions
| Exception | Condition |
|---|---|
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while verifying the certificate. |