Files
27Aug2021-Cpp2IL-Dump/System/Security/Cryptography/X509Certificates/X509VerificationFlags.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

70 lines
3.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Specifies conditions under which verification of certificates in the X509 chain should be conducted.</summary>
// Token: 0x020001D8 RID: 472
[Token(Token = "0x20001D8")]
[Flags]
public enum X509VerificationFlags
{
/// <summary>No flags pertaining to verification are included.</summary>
// Token: 0x040006B6 RID: 1718
[Token(Token = "0x40006B6")]
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: 0x040006B7 RID: 1719
[Token(Token = "0x40006B7")]
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: 0x040006B8 RID: 1720
[Token(Token = "0x40006B8")]
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: 0x040006B9 RID: 1721
[Token(Token = "0x40006B9")]
IgnoreNotTimeNested = 4,
/// <summary>Ignore that the basic constraints are not valid when determining certificate verification.</summary>
// Token: 0x040006BA RID: 1722
[Token(Token = "0x40006BA")]
IgnoreInvalidBasicConstraints = 8,
/// <summary>Ignore that the chain cannot be verified due to an unknown certificate authority (CA).</summary>
// Token: 0x040006BB RID: 1723
[Token(Token = "0x40006BB")]
AllowUnknownCertificateAuthority = 16,
/// <summary>Ignore that the certificate was not issued for the current use when determining certificate verification.</summary>
// Token: 0x040006BC RID: 1724
[Token(Token = "0x40006BC")]
IgnoreWrongUsage = 32,
/// <summary>Ignore that the certificate has an invalid name when determining certificate verification.</summary>
// Token: 0x040006BD RID: 1725
[Token(Token = "0x40006BD")]
IgnoreInvalidName = 64,
/// <summary>Ignore that the certificate has invalid policy when determining certificate verification.</summary>
// Token: 0x040006BE RID: 1726
[Token(Token = "0x40006BE")]
IgnoreInvalidPolicy = 128,
/// <summary>Ignore that the end certificate (the user certificate) revocation is unknown when determining certificate verification.</summary>
// Token: 0x040006BF RID: 1727
[Token(Token = "0x40006BF")]
IgnoreEndRevocationUnknown = 256,
/// <summary>Ignore that the certificate trust list (CTL) signer revocation is unknown when determining certificate verification.</summary>
// Token: 0x040006C0 RID: 1728
[Token(Token = "0x40006C0")]
IgnoreCtlSignerRevocationUnknown = 512,
/// <summary>Ignore that the certificate authority revocation is unknown when determining certificate verification.</summary>
// Token: 0x040006C1 RID: 1729
[Token(Token = "0x40006C1")]
IgnoreCertificateAuthorityRevocationUnknown = 1024,
/// <summary>Ignore that the root revocation is unknown when determining certificate verification.</summary>
// Token: 0x040006C2 RID: 1730
[Token(Token = "0x40006C2")]
IgnoreRootRevocationUnknown = 2048,
/// <summary>All flags pertaining to verification are included.</summary>
// Token: 0x040006C3 RID: 1731
[Token(Token = "0x40006C3")]
AllFlags = 4095
}
}