36 references to X509VerificationFlags
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
816chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags;
Microsoft.AspNetCore.Authentication.Certificate (3)
CertificateAuthenticationHandler.cs (3)
213chainPolicy.VerificationFlags |= X509VerificationFlags.AllowUnknownCertificateAuthority; 214chainPolicy.VerificationFlags |= X509VerificationFlags.IgnoreEndRevocationUnknown; 231chainPolicy.VerificationFlags |= X509VerificationFlags.IgnoreNotTimeValid;
Microsoft.DotNet.SignCheckLibrary (1)
Verification\VsixVerifier.cs (1)
173certChain.ChainPolicy.VerificationFlags |= X509VerificationFlags.IgnoreNotTimeValid;
netstandard (1)
netstandard.cs (1)
1983[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509VerificationFlags))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
889[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509VerificationFlags))]
System.Net.Quic (1)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
213bool checkCertName = !chain!.ChainPolicy!.VerificationFlags.HasFlag(X509VerificationFlags.IgnoreInvalidName);
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (1)
46CheckCertName = !(sslClientAuthenticationOptions.CertificateChainPolicy?.VerificationFlags.HasFlag(X509VerificationFlags.IgnoreInvalidName) == true);
System\Net\Security\SslStream.Protocol.cs (1)
431chain.ChainPolicy.VerificationFlags = X509VerificationFlags.IgnoreInvalidName;
System\Net\Security\SslStreamCertificateContext.cs (1)
60chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags;
System.Security.Cryptography (23)
System\Security\Cryptography\X509Certificates\IChainPal.cs (1)
13bool? Verify(X509VerificationFlags flags, out Exception? exception);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
82public bool? Verify(X509VerificationFlags flags, out Exception? exception)
System\Security\Cryptography\X509Certificates\UnixChainVerifier.cs (16)
12public static bool Verify(X509ChainElement[] chainElements, X509VerificationFlags flags) 29private static bool HasUnsuppressedError(X509VerificationFlags flags, X509ChainElement element, bool isEndEntity) 46X509VerificationFlags? suppressionFlag; 52suppressionFlag = X509VerificationFlags.IgnoreEndRevocationUnknown; 56suppressionFlag = X509VerificationFlags.IgnoreRootRevocationUnknown; 60suppressionFlag = X509VerificationFlags.IgnoreCertificateAuthorityRevocationUnknown; 91private static X509VerificationFlags? GetSuppressionFlag(X509ChainStatusFlags status) 97return X509VerificationFlags.AllowUnknownCertificateAuthority; 101return X509VerificationFlags.IgnoreWrongUsage; 104return X509VerificationFlags.IgnoreNotTimeValid; 107return X509VerificationFlags.IgnoreCtlNotTimeValid; 114return X509VerificationFlags.IgnoreInvalidName; 118return X509VerificationFlags.IgnoreInvalidPolicy; 121return X509VerificationFlags.IgnoreInvalidBasicConstraints; 125return (X509VerificationFlags)0x00002000; 128return X509VerificationFlags.IgnoreNotTimeNested;
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (5)
10private X509VerificationFlags _verificationFlags; 81public X509VerificationFlags VerificationFlags 89if (value < X509VerificationFlags.NoFlag || value > X509VerificationFlags.AllFlags) 130_verificationFlags = X509VerificationFlags.NoFlag;
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
340chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags;
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
47[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509VerificationFlags))]