Files
Dec2017-Script-Dump/System/Security/Cryptography/X509Certificates/X509VerificationFlags.cs
T
2026-06-04 11:42:34 +02:00

54 lines
3.1 KiB
C#

using System;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Specifies conditions under which verification of certificates in the X509 chain should be conducted.</summary>
// Token: 0x020002A2 RID: 674
[Flags]
public enum X509VerificationFlags
{
/// <summary>No flags pertaining to verification are included.</summary>
// Token: 0x0400138A RID: 5002
NoFlag = 0,
/// <summary>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.</summary>
// Token: 0x0400138B RID: 5003
IgnoreNotTimeValid = 1,
/// <summary>Ignore that the certificate trust list (CTL) is not valid, for reasons such as the CTL has expired, when determining certificate verification.</summary>
// Token: 0x0400138C RID: 5004
IgnoreCtlNotTimeValid = 2,
/// <summary>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.</summary>
// Token: 0x0400138D RID: 5005
IgnoreNotTimeNested = 4,
/// <summary>Ignore that the basic constraints are not valid when determining certificate verification.</summary>
// Token: 0x0400138E RID: 5006
IgnoreInvalidBasicConstraints = 8,
/// <summary>Ignore that the chain cannot be verified due to an unknown certificate authority (CA).</summary>
// Token: 0x0400138F RID: 5007
AllowUnknownCertificateAuthority = 16,
/// <summary>Ignore that the certificate was not issued for the current use when determining certificate verification.</summary>
// Token: 0x04001390 RID: 5008
IgnoreWrongUsage = 32,
/// <summary>Ignore that the certificate has an invalid name when determining certificate verification.</summary>
// Token: 0x04001391 RID: 5009
IgnoreInvalidName = 64,
/// <summary>Ignore that the certificate has invalid policy when determining certificate verification.</summary>
// Token: 0x04001392 RID: 5010
IgnoreInvalidPolicy = 128,
/// <summary>Ignore that the end certificate (the user certificate) revocation is unknown when determining certificate verification.</summary>
// Token: 0x04001393 RID: 5011
IgnoreEndRevocationUnknown = 256,
/// <summary>Ignore that the certificate trust list (CTL) signer revocation is unknown when determining certificate verification.</summary>
// Token: 0x04001394 RID: 5012
IgnoreCtlSignerRevocationUnknown = 512,
/// <summary>Ignore that the certificate authority revocation is unknown when determining certificate verification.</summary>
// Token: 0x04001395 RID: 5013
IgnoreCertificateAuthorityRevocationUnknown = 1024,
/// <summary>Ignore that the root revocation is unknown when determining certificate verification.</summary>
// Token: 0x04001396 RID: 5014
IgnoreRootRevocationUnknown = 2048,
/// <summary>All flags pertaining to verification are included.</summary>
// Token: 0x04001397 RID: 5015
AllFlags = 4095
}
}