using System; using Cpp2IlInjected; namespace System.Security.Cryptography.X509Certificates { /// Specifies conditions under which verification of certificates in the X509 chain should be conducted. // Token: 0x020001DC RID: 476 [Token(Token = "0x20001DC")] [Flags] public enum X509VerificationFlags { /// No flags pertaining to verification are included. // Token: 0x040006C3 RID: 1731 [Token(Token = "0x40006C3")] NoFlag = 0, /// Ignore certificates in the chain that are not valid either because they have expired or they are not yet in effect when determining certificate validity. // Token: 0x040006C4 RID: 1732 [Token(Token = "0x40006C4")] IgnoreNotTimeValid = 1, /// Ignore that the certificate trust list (CTL) is not valid, for reasons such as the CTL has expired, when determining certificate verification. // Token: 0x040006C5 RID: 1733 [Token(Token = "0x40006C5")] IgnoreCtlNotTimeValid = 2, /// Ignore that the CA (certificate authority) certificate and the issued certificate have validity periods that are not nested when verifying the certificate. For example, the CA cert can be valid from January 1 to December 1 and the issued certificate from January 2 to December 2, which would mean the validity periods are not nested. // Token: 0x040006C6 RID: 1734 [Token(Token = "0x40006C6")] IgnoreNotTimeNested = 4, /// Ignore that the basic constraints are not valid when determining certificate verification. // Token: 0x040006C7 RID: 1735 [Token(Token = "0x40006C7")] IgnoreInvalidBasicConstraints = 8, /// Ignore that the chain cannot be verified due to an unknown certificate authority (CA). // Token: 0x040006C8 RID: 1736 [Token(Token = "0x40006C8")] AllowUnknownCertificateAuthority = 16, /// Ignore that the certificate was not issued for the current use when determining certificate verification. // Token: 0x040006C9 RID: 1737 [Token(Token = "0x40006C9")] IgnoreWrongUsage = 32, /// Ignore that the certificate has an invalid name when determining certificate verification. // Token: 0x040006CA RID: 1738 [Token(Token = "0x40006CA")] IgnoreInvalidName = 64, /// Ignore that the certificate has invalid policy when determining certificate verification. // Token: 0x040006CB RID: 1739 [Token(Token = "0x40006CB")] IgnoreInvalidPolicy = 128, /// Ignore that the end certificate (the user certificate) revocation is unknown when determining certificate verification. // Token: 0x040006CC RID: 1740 [Token(Token = "0x40006CC")] IgnoreEndRevocationUnknown = 256, /// Ignore that the certificate trust list (CTL) signer revocation is unknown when determining certificate verification. // Token: 0x040006CD RID: 1741 [Token(Token = "0x40006CD")] IgnoreCtlSignerRevocationUnknown = 512, /// Ignore that the certificate authority revocation is unknown when determining certificate verification. // Token: 0x040006CE RID: 1742 [Token(Token = "0x40006CE")] IgnoreCertificateAuthorityRevocationUnknown = 1024, /// Ignore that the root revocation is unknown when determining certificate verification. // Token: 0x040006CF RID: 1743 [Token(Token = "0x40006CF")] IgnoreRootRevocationUnknown = 2048, /// All flags pertaining to verification are included. // Token: 0x040006D0 RID: 1744 [Token(Token = "0x40006D0")] AllFlags = 4095 } }