54 references to X509ChainStatusFlags
System (44)
net\System\Net\_SecureChannel.cs (16)
1398
if (chainStatus.Status ==
X509ChainStatusFlags
.NoError)
1404
(
X509ChainStatusFlags
.UntrustedRoot |
X509ChainStatusFlags
.PartialChain |
1405
X509ChainStatusFlags
.Cyclic)) != 0)
1411
(
X509ChainStatusFlags
.Revoked |
X509ChainStatusFlags
.OfflineRevocation)) != 0)
1417
(
X509ChainStatusFlags
.CtlNotTimeValid |
X509ChainStatusFlags
.NotTimeNested |
1418
X509ChainStatusFlags
.NotTimeValid)) != 0)
1423
if ((chainStatus.Status &
X509ChainStatusFlags
.CtlNotValidForUsage) != 0)
1429
(
X509ChainStatusFlags
.CtlNotSignatureValid |
X509ChainStatusFlags
.InvalidExtension |
1430
X509ChainStatusFlags
.NotSignatureValid |
X509ChainStatusFlags
.InvalidPolicyConstraints) |
1431
X509ChainStatusFlags
.NoIssuanceChainPolicy |
X509ChainStatusFlags
.NotValidForUsage) != 0)
security\system\security\cryptography\x509\x509chain.cs (28)
55
private
X509ChainStatusFlags
m_status;
58
public
X509ChainStatusFlags
Status {
324
chainStatus[index].Status = (
X509ChainStatusFlags
) (1 << shiftCount);
413
public readonly
X509ChainStatusFlags
ChainStatusFlag;
415
public X509ChainErrorMapping(uint win32Flag, int win32ErrorCode,
X509ChainStatusFlags
chainStatusFlag)
425
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_NOT_SIGNATURE_VALID, CAPI.TRUST_E_CERT_SIGNATURE,
X509ChainStatusFlags
.NotSignatureValid),
426
new X509ChainErrorMapping(CAPI.CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID, CAPI.TRUST_E_CERT_SIGNATURE,
X509ChainStatusFlags
.CtlNotSignatureValid),
427
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_UNTRUSTED_ROOT, CAPI.CERT_E_UNTRUSTEDROOT,
X509ChainStatusFlags
.UntrustedRoot),
428
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_PARTIAL_CHAIN, CAPI.CERT_E_CHAINING,
X509ChainStatusFlags
.PartialChain),
429
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_REVOKED, CAPI.CRYPT_E_REVOKED,
X509ChainStatusFlags
.Revoked),
430
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_NOT_VALID_FOR_USAGE, CAPI.CERT_E_WRONG_USAGE,
X509ChainStatusFlags
.NotValidForUsage),
431
new X509ChainErrorMapping(CAPI.CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE, CAPI.CERT_E_WRONG_USAGE,
X509ChainStatusFlags
.CtlNotValidForUsage),
432
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_NOT_TIME_VALID, CAPI.CERT_E_EXPIRED,
X509ChainStatusFlags
.NotTimeValid),
433
new X509ChainErrorMapping(CAPI.CERT_TRUST_CTL_IS_NOT_TIME_VALID, CAPI.CERT_E_EXPIRED,
X509ChainStatusFlags
.CtlNotTimeValid),
434
new X509ChainErrorMapping(CAPI.CERT_TRUST_INVALID_NAME_CONSTRAINTS, CAPI.CERT_E_INVALID_NAME,
X509ChainStatusFlags
.InvalidNameConstraints),
435
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT, CAPI.CERT_E_INVALID_NAME,
X509ChainStatusFlags
.HasNotSupportedNameConstraint),
436
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT, CAPI.CERT_E_INVALID_NAME,
X509ChainStatusFlags
.HasNotDefinedNameConstraint),
437
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT, CAPI.CERT_E_INVALID_NAME,
X509ChainStatusFlags
.HasNotPermittedNameConstraint),
438
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT, CAPI.CERT_E_INVALID_NAME,
X509ChainStatusFlags
.HasExcludedNameConstraint),
439
new X509ChainErrorMapping(CAPI.CERT_TRUST_INVALID_POLICY_CONSTRAINTS, CAPI.CERT_E_INVALID_POLICY,
X509ChainStatusFlags
.InvalidPolicyConstraints),
440
new X509ChainErrorMapping(CAPI.CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY, CAPI.CERT_E_INVALID_POLICY,
X509ChainStatusFlags
.NoIssuanceChainPolicy),
441
new X509ChainErrorMapping(CAPI.CERT_TRUST_INVALID_BASIC_CONSTRAINTS, CAPI.TRUST_E_BASIC_CONSTRAINTS,
X509ChainStatusFlags
.InvalidBasicConstraints),
442
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_NOT_TIME_NESTED, CAPI.CERT_E_VALIDITYPERIODNESTING,
X509ChainStatusFlags
.NotTimeNested),
443
new X509ChainErrorMapping(CAPI.CERT_TRUST_REVOCATION_STATUS_UNKNOWN, CAPI.CRYPT_E_NO_REVOCATION_CHECK,
X509ChainStatusFlags
.RevocationStatusUnknown),
444
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_OFFLINE_REVOCATION, CAPI.CRYPT_E_REVOCATION_OFFLINE,
X509ChainStatusFlags
.OfflineRevocation),
445
new X509ChainErrorMapping(CAPI.CERT_TRUST_IS_EXPLICIT_DISTRUST, CAPI.TRUST_E_EXPLICIT_DISTRUST,
X509ChainStatusFlags
.ExplicitDistrust),
446
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT, CAPI.CERT_E_CRITICAL,
X509ChainStatusFlags
.HasNotSupportedCriticalExtension),
447
new X509ChainErrorMapping(CAPI.CERT_TRUST_HAS_WEAK_SIGNATURE, CAPI.CERTSRV_E_WEAK_SIGNATURE_OR_KEY,
X509ChainStatusFlags
.HasWeakSignature),
System.Security (7)
system\security\cryptography\pkcs\pkcsutils.cs (2)
929
((chain.ChainStatus[0].Status &
X509ChainStatusFlags
.PartialChain) ==
X509ChainStatusFlags
.PartialChain))
system\security\cryptography\xml\keyinfo.cs (4)
540
((chain.ChainStatus[0].Status &
X509ChainStatusFlags
.PartialChain) ==
X509ChainStatusFlags
.PartialChain))
558
((chain.ChainStatus[0].Status &
X509ChainStatusFlags
.PartialChain) ==
X509ChainStatusFlags
.PartialChain))
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
928
if (status.Status !=
X509ChainStatusFlags
.NoError) {
WindowsBase (3)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
835
public static
X509ChainStatusFlags
VerifyCertificate(X509Certificate certificate)
840
X509ChainStatusFlags
status =
X509ChainStatusFlags
.NoError;