using System; using Cpp2IlInjected; namespace System.Security.Cryptography.X509Certificates { /// Defines the status of an X509 chain. // Token: 0x020001D2 RID: 466 [Token(Token = "0x20001D2")] [Flags] public enum X509ChainStatusFlags { /// Specifies that the X509 chain has no errors. // Token: 0x0400067D RID: 1661 [Token(Token = "0x400067D")] 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: 0x0400067E RID: 1662 [Token(Token = "0x400067E")] 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: 0x0400067F RID: 1663 [Token(Token = "0x400067F")] NotTimeNested = 2, /// Specifies that the X509 chain is invalid due to a revoked certificate. // Token: 0x04000680 RID: 1664 [Token(Token = "0x4000680")] Revoked = 4, /// Specifies that the X509 chain is invalid due to an invalid certificate signature. // Token: 0x04000681 RID: 1665 [Token(Token = "0x4000681")] NotSignatureValid = 8, /// Specifies that the key usage is not valid. // Token: 0x04000682 RID: 1666 [Token(Token = "0x4000682")] NotValidForUsage = 16, /// Specifies that the X509 chain is invalid due to an untrusted root certificate. // Token: 0x04000683 RID: 1667 [Token(Token = "0x4000683")] 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: 0x04000684 RID: 1668 [Token(Token = "0x4000684")] RevocationStatusUnknown = 64, /// Specifies that the X509 chain could not be built. // Token: 0x04000685 RID: 1669 [Token(Token = "0x4000685")] Cyclic = 128, /// Specifies that the X509 chain is invalid due to an invalid extension. // Token: 0x04000686 RID: 1670 [Token(Token = "0x4000686")] InvalidExtension = 256, /// Specifies that the X509 chain is invalid due to invalid policy constraints. // Token: 0x04000687 RID: 1671 [Token(Token = "0x4000687")] InvalidPolicyConstraints = 512, /// Specifies that the X509 chain is invalid due to invalid basic constraints. // Token: 0x04000688 RID: 1672 [Token(Token = "0x4000688")] InvalidBasicConstraints = 1024, /// Specifies that the X509 chain is invalid due to invalid name constraints. // Token: 0x04000689 RID: 1673 [Token(Token = "0x4000689")] InvalidNameConstraints = 2048, /// Specifies that the certificate does not have a supported name constraint or has a name constraint that is unsupported. // Token: 0x0400068A RID: 1674 [Token(Token = "0x400068A")] HasNotSupportedNameConstraint = 4096, /// Specifies that the certificate has an undefined name constraint. // Token: 0x0400068B RID: 1675 [Token(Token = "0x400068B")] HasNotDefinedNameConstraint = 8192, /// Specifies that the certificate has an impermissible name constraint. // Token: 0x0400068C RID: 1676 [Token(Token = "0x400068C")] HasNotPermittedNameConstraint = 16384, /// Specifies that the X509 chain is invalid because a certificate has excluded a name constraint. // Token: 0x0400068D RID: 1677 [Token(Token = "0x400068D")] HasExcludedNameConstraint = 32768, /// Specifies that the X509 chain could not be built up to the root certificate. // Token: 0x0400068E RID: 1678 [Token(Token = "0x400068E")] 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: 0x0400068F RID: 1679 [Token(Token = "0x400068F")] CtlNotTimeValid = 131072, /// Specifies that the certificate trust list (CTL) contains an invalid signature. // Token: 0x04000690 RID: 1680 [Token(Token = "0x4000690")] CtlNotSignatureValid = 262144, /// Specifies that the certificate trust list (CTL) is not valid for this use. // Token: 0x04000691 RID: 1681 [Token(Token = "0x4000691")] CtlNotValidForUsage = 524288, /// Specifies that the online certificate revocation list (CRL) the X509 chain relies on is currently offline. // Token: 0x04000692 RID: 1682 [Token(Token = "0x4000692")] 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: 0x04000693 RID: 1683 [Token(Token = "0x4000693")] NoIssuanceChainPolicy = 33554432, /// Specifies that the certificate is explicitly distrusted. // Token: 0x04000694 RID: 1684 [Token(Token = "0x4000694")] ExplicitDistrust = 67108864, /// Specifies that the certificate does not support a critical extension. // Token: 0x04000695 RID: 1685 [Token(Token = "0x4000695")] 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: 0x04000696 RID: 1686 [Token(Token = "0x4000696")] HasWeakSignature = 1048576 } }