using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography.X509Certificates
{
/// Defines the status of an X509 chain.
// Token: 0x020001D6 RID: 470
[Token(Token = "0x20001D6")]
[Flags]
public enum X509ChainStatusFlags
{
/// Specifies that the X509 chain has no errors.
// Token: 0x0400068A RID: 1674
[Token(Token = "0x400068A")]
NoError = 0,
/// Specifies that the X509 chain is not valid due to an invalid time value, such as a value that indicates an expired certificate.
// Token: 0x0400068B RID: 1675
[Token(Token = "0x400068B")]
NotTimeValid = 1,
/// Deprecated. Specifies that the CA (certificate authority) certificate and the issued certificate have validity periods that are not nested. 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: 0x0400068C RID: 1676
[Token(Token = "0x400068C")]
NotTimeNested = 2,
/// Specifies that the X509 chain is invalid due to a revoked certificate.
// Token: 0x0400068D RID: 1677
[Token(Token = "0x400068D")]
Revoked = 4,
/// Specifies that the X509 chain is invalid due to an invalid certificate signature.
// Token: 0x0400068E RID: 1678
[Token(Token = "0x400068E")]
NotSignatureValid = 8,
/// Specifies that the key usage is not valid.
// Token: 0x0400068F RID: 1679
[Token(Token = "0x400068F")]
NotValidForUsage = 16,
/// Specifies that the X509 chain is invalid due to an untrusted root certificate.
// Token: 0x04000690 RID: 1680
[Token(Token = "0x4000690")]
UntrustedRoot = 32,
/// Specifies that it is not possible to determine whether the certificate has been revoked. This can be due to the certificate revocation list (CRL) being offline or unavailable.
// Token: 0x04000691 RID: 1681
[Token(Token = "0x4000691")]
RevocationStatusUnknown = 64,
/// Specifies that the X509 chain could not be built.
// Token: 0x04000692 RID: 1682
[Token(Token = "0x4000692")]
Cyclic = 128,
/// Specifies that the X509 chain is invalid due to an invalid extension.
// Token: 0x04000693 RID: 1683
[Token(Token = "0x4000693")]
InvalidExtension = 256,
/// Specifies that the X509 chain is invalid due to invalid policy constraints.
// Token: 0x04000694 RID: 1684
[Token(Token = "0x4000694")]
InvalidPolicyConstraints = 512,
/// Specifies that the X509 chain is invalid due to invalid basic constraints.
// Token: 0x04000695 RID: 1685
[Token(Token = "0x4000695")]
InvalidBasicConstraints = 1024,
/// Specifies that the X509 chain is invalid due to invalid name constraints.
// Token: 0x04000696 RID: 1686
[Token(Token = "0x4000696")]
InvalidNameConstraints = 2048,
/// Specifies that the certificate does not have a supported name constraint or has a name constraint that is unsupported.
// Token: 0x04000697 RID: 1687
[Token(Token = "0x4000697")]
HasNotSupportedNameConstraint = 4096,
/// Specifies that the certificate has an undefined name constraint.
// Token: 0x04000698 RID: 1688
[Token(Token = "0x4000698")]
HasNotDefinedNameConstraint = 8192,
/// Specifies that the certificate has an impermissible name constraint.
// Token: 0x04000699 RID: 1689
[Token(Token = "0x4000699")]
HasNotPermittedNameConstraint = 16384,
/// Specifies that the X509 chain is invalid because a certificate has excluded a name constraint.
// Token: 0x0400069A RID: 1690
[Token(Token = "0x400069A")]
HasExcludedNameConstraint = 32768,
/// Specifies that the X509 chain could not be built up to the root certificate.
// Token: 0x0400069B RID: 1691
[Token(Token = "0x400069B")]
PartialChain = 65536,
/// Specifies that the certificate trust list (CTL) is not valid because of an invalid time value, such as one that indicates that the CTL has expired.
// Token: 0x0400069C RID: 1692
[Token(Token = "0x400069C")]
CtlNotTimeValid = 131072,
/// Specifies that the certificate trust list (CTL) contains an invalid signature.
// Token: 0x0400069D RID: 1693
[Token(Token = "0x400069D")]
CtlNotSignatureValid = 262144,
/// Specifies that the certificate trust list (CTL) is not valid for this use.
// Token: 0x0400069E RID: 1694
[Token(Token = "0x400069E")]
CtlNotValidForUsage = 524288,
/// Specifies that the online certificate revocation list (CRL) the X509 chain relies on is currently offline.
// Token: 0x0400069F RID: 1695
[Token(Token = "0x400069F")]
OfflineRevocation = 16777216,
/// Specifies that there is no certificate policy extension in the certificate. This error would occur if a group policy has specified that all certificates must have a certificate policy.
// Token: 0x040006A0 RID: 1696
[Token(Token = "0x40006A0")]
NoIssuanceChainPolicy = 33554432,
/// Specifies that the certificate is explicitly distrusted.
// Token: 0x040006A1 RID: 1697
[Token(Token = "0x40006A1")]
ExplicitDistrust = 67108864,
/// Specifies that the certificate does not support a critical extension.
// Token: 0x040006A2 RID: 1698
[Token(Token = "0x40006A2")]
HasNotSupportedCriticalExtension = 134217728,
/// Specifies that the certificate has not been strong signed. Typically, this indicates that the MD2 or MD5 hashing algorithms were used to create a hash of the certificate.
// Token: 0x040006A3 RID: 1699
[Token(Token = "0x40006A3")]
HasWeakSignature = 1048576
}
}