Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

118 lines
5.8 KiB
C#

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