IActiveSyncTLClientValidateCert Method (IEnumerableX509Certificate, IEnumerableX509Certificate, Boolean)

The ValidateCert is used by the client to validate a certificate that has been received via an S/MIME mail.

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
List<CertificateStatuses> ValidateCert(
	IEnumerable<X509Certificate> certificates,
	IEnumerable<X509Certificate> certificateChains,
	bool checkCrl
)

Parameters

certificates
Type: System.Collections.GenericIEnumerableX509Certificate
Enumeration of certificates that have to be validated.
certificateChains
Type: System.Collections.GenericIEnumerableX509Certificate
Enumeration of certificates that have to be validated.
checkCrl
Type: SystemBoolean
Specifies whether the server SHOULD ignore an unverifiable revocation status. The revocation status of a certificate cannot be verified when the certificate revocation lists (CRLs) cannot be retrieved. When the CheckCRL value is set to TRUE, the server MUST NOT ignore an unverifiable revocation status. When the CheckCRL value is set to FALSE, the server SHOULD ignore an unverifiable revocation status. The default value is FALSE.

Return Value

Type: ListCertificateStatuses
List of validation certificate statuses
See Also