Files
2026-06-04 11:42:34 +02:00

81 lines
4.1 KiB
C#

using System;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Defines the status of an X509 chain.</summary>
// Token: 0x02000293 RID: 659
[Flags]
public enum X509ChainStatusFlags
{
/// <summary>Specifies that the X509 chain has no errors.</summary>
// Token: 0x04001327 RID: 4903
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: 0x04001328 RID: 4904
NotTimeValid = 1,
/// <summary>Deprecated, this flag has no effect. </summary>
// Token: 0x04001329 RID: 4905
NotTimeNested = 2,
/// <summary>Specifies that the X509 chain is invalid due to a revoked certificate.</summary>
// Token: 0x0400132A RID: 4906
Revoked = 4,
/// <summary>Specifies that the X509 chain is invalid due to an invalid certificate signature.</summary>
// Token: 0x0400132B RID: 4907
NotSignatureValid = 8,
/// <summary>Specifies that the key usage is not valid.</summary>
// Token: 0x0400132C RID: 4908
NotValidForUsage = 16,
/// <summary>Specifies that the X509 chain is invalid due to an untrusted root certificate.</summary>
// Token: 0x0400132D RID: 4909
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: 0x0400132E RID: 4910
RevocationStatusUnknown = 64,
/// <summary>Specifies that the X509 chain could not be built.</summary>
// Token: 0x0400132F RID: 4911
Cyclic = 128,
/// <summary>Specifies that the X509 chain is invalid due to an invalid extension.</summary>
// Token: 0x04001330 RID: 4912
InvalidExtension = 256,
/// <summary>Specifies that the X509 chain is invalid due to invalid policy constraints.</summary>
// Token: 0x04001331 RID: 4913
InvalidPolicyConstraints = 512,
/// <summary>Specifies that the X509 chain is invalid due to invalid basic constraints.</summary>
// Token: 0x04001332 RID: 4914
InvalidBasicConstraints = 1024,
/// <summary>Specifies that the X509 chain is invalid due to invalid name constraints.</summary>
// Token: 0x04001333 RID: 4915
InvalidNameConstraints = 2048,
/// <summary>Specifies that the certificate does not have a supported name constant or has a name constant that is unsupported.</summary>
// Token: 0x04001334 RID: 4916
HasNotSupportedNameConstraint = 4096,
/// <summary>Specifies that the certificate has an undefined name constant.</summary>
// Token: 0x04001335 RID: 4917
HasNotDefinedNameConstraint = 8192,
/// <summary>Specifies that the certificate has an impermissible name constraint.</summary>
// Token: 0x04001336 RID: 4918
HasNotPermittedNameConstraint = 16384,
/// <summary>Specifies that the X509 chain is invalid because a certificate has excluded a name constraint.</summary>
// Token: 0x04001337 RID: 4919
HasExcludedNameConstraint = 32768,
/// <summary>Specifies that the X509 chain could not be built up to the root certificate.</summary>
// Token: 0x04001338 RID: 4920
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: 0x04001339 RID: 4921
CtlNotTimeValid = 131072,
/// <summary>Specifies that the certificate trust list (CTL) contains an invalid signature.</summary>
// Token: 0x0400133A RID: 4922
CtlNotSignatureValid = 262144,
/// <summary>Specifies that the certificate trust list (CTL) is not valid for this use.</summary>
// Token: 0x0400133B RID: 4923
CtlNotValidForUsage = 524288,
/// <summary>Specifies that the online certificate revocation list (CRL) the X509 chain relies on is currently offline.</summary>
// Token: 0x0400133C RID: 4924
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: 0x0400133D RID: 4925
NoIssuanceChainPolicy = 33554432
}
}