CertificateValidationErrorSuppression Enum
Namespace: iCore.Public.Crypto.X509Certificates
Assembly: iCore.Public.Crypto.dll
Specifies how certificates are to be validated. Multiple options from this enum can be combined.
- C#
- VB
public enum CertificateValidationErrorSuppression : int
Public Enum CertificateValidationErrorSuppression : Integer
Inheritance object 🡒 ValueType 🡒 Enum 🡒 CertificateValidationErrorSuppression
Fields​
Name | Value | Description |
---|---|---|
AcceptSelfSigned | 16 | Allow self signed certificates |
Default | 0 | Apply all certificate security checks. |
Disable | 255 | Disable all checks. |
IgnoreCA | 2 | Accept otherwise valid certificate if Certificate Authority Root is not known. |
IgnoreDate | 1 | Accept otherwise valid certificate if date has expired. |
IgnoreKeyUsage | 32 | Allows certificates to have an allowed usage different from the one it is actually being used as. |
IgnoreName | 8 | Accept otherwise valid certificate if name (CN) does not match the host name |
IgnoreSignature | 4 | Accept otherwise valid certificate if signature cannot be verified |