MailBee.NET Objects 4.0

CertificateValidationFlags Enumeration

Defines flags indicating errors of certificate validation. AutoValidation

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum CertificateValidationFlags

Remarks

Validate method returns CertificateValidationFlags value for the given certificate.

When checking S/MIME signatures of e-mail messages, you can use Verify method which can perform complex verification of the message signature including validating its certificate.

When making SSL connections to mail servers, you can set AutoValidation property to tell MailBee to automatically validate the server certificate accordingly the specified criteria and throw MailBeeCertificateValidationException if the validation process fails for any of the criteria.

Members

Member NameDescriptionValue
None No errors. 0
IsNotTimeValid This certificate or one of the certificates in the certificate chain is not time-valid. 1
IsNotTimeNested Certificates in the chain are not properly time-nested. 2
IsRevoked Trust for this certificate or one of the certificates in the chain has been revoked. 4
IsNotSignatureValid The certificate or one of the certificates in the chain does not have a valid signature. 8
IsNotValidForUsage The certificate or the chain is not valid in its proposed usage. 16
IsUntrustedRoot The certificate or the chain is based on an untrusted root. 32
RevocationStatusUnknown The revocation status of the certificate or one of the certificates in the chain is unknown. 64
IsCyclic One of the certificates in the chain was issued by a certification authority which had certified the original certificate. 128
IsPartialChain The certificate chain is not complete. 65536
IsNotTimeValidCtl A CTL used to create this chain was not time-valid. 131072
IsNotSignatureValidCtl A CTL used to create this chain did not have a valid signature. 262144
IsNotValidForUsageCtl A CTL used to create this chain is not valid for this usage. 524288
All All the flags listed above. 983231

Requirements

Namespace: MailBee.Security

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Security Namespace | Validate