2 instantiations of SslAuthenticationOptions
System.Net.Security (2)
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (1)
39using (SafeSslHandle ssl = SafeSslHandle.Create(innerContext, new SslAuthenticationOptions() { IsServer = false }))
System\Net\Security\SslStream.IO.cs (1)
18internal readonly SslAuthenticationOptions _sslAuthenticationOptions = new SslAuthenticationOptions();
27 references to SslAuthenticationOptions
System.Net.Security (27)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (10)
134private static SslProtocols CalculateEffectiveProtocols(SslAuthenticationOptions sslAuthenticationOptions) 183internal static SafeSslContextHandle GetOrCreateSslContextHandle(SslAuthenticationOptions sslAuthenticationOptions, bool allowCached) 208internal static unsafe SafeSslContextHandle AllocateSslContext(SslAuthenticationOptions sslAuthenticationOptions, SslProtocols protocols, bool enableResume) 317internal static void UpdateClientCertificate(SafeSslHandle ssl, SslAuthenticationOptions sslAuthenticationOptions) 352internal static SafeSslHandle AllocateSslHandle(SslAuthenticationOptions sslAuthenticationOptions) 873WeakGCHandle<SslAuthenticationOptions>.FromIntPtr(data) 874.TryGetTarget(out SslAuthenticationOptions? options); 971static (X509Certificate2 certificate, X509Chain chain) GetPeerCertChainFromStoreCtx(SafeSslHandle sslHandle, IntPtr storeCtx, SslAuthenticationOptions options) 1031WeakGCHandle<SslAuthenticationOptions>.FromIntPtr(sslData) 1032.TryGetTarget(out SslAuthenticationOptions? options);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (4)
403private WeakGCHandle<SslAuthenticationOptions> _authOptionsHandle; 438public static SafeSslHandle Create(SafeSslContextHandle context, SslAuthenticationOptions options) 451handle._authOptionsHandle = new WeakGCHandle<SslAuthenticationOptions>(options); 452Interop.Ssl.SslSetData(handle, WeakGCHandle<SslAuthenticationOptions>.ToIntPtr(handle._authOptionsHandle));
System\Net\Security\SslClientAuthenticationOptions.cs (1)
15private X509RevocationMode _checkCertificateRevocation = SslAuthenticationOptions.DefaultRevocationMode;
System\Net\Security\SslServerAuthenticationOptions.cs (1)
13private X509RevocationMode _checkCertificateRevocation = SslAuthenticationOptions.DefaultRevocationMode;
System\Net\Security\SslStream.IO.cs (3)
18internal readonly SslAuthenticationOptions _sslAuthenticationOptions = new SslAuthenticationOptions(); 653private void CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions) 662internal static Exception CreateCertificateValidationException(SslAuthenticationOptions options, SslPolicyErrors sslPolicyErrors, X509ChainStatusFlags chainStatus)
System\Net\Security\SslStream.Protocol.cs (1)
739private static SafeFreeCredentials? AcquireCredentialsHandle(SslAuthenticationOptions sslAuthenticationOptions, bool newCredentialsRequested = false)
System\Net\Security\SslStreamPal.Unix.cs (7)
32SslAuthenticationOptions sslAuthenticationOptions, 44SslAuthenticationOptions sslAuthenticationOptions) 55SslAuthenticationOptions sslAuthenticationOptions) 60public static SafeFreeCredentials? AcquireCredentialsHandle(SslAuthenticationOptions _1, bool _2) 144SslAuthenticationOptions sslAuthenticationOptions) 168SslAuthenticationOptions sslAuthenticationOptions) 176ReadOnlySpan<byte> inputBuffer, out int consumed, SslAuthenticationOptions sslAuthenticationOptions)