5 instantiations of SslAuthenticationOptions
System.Net.Security (5)
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (1)
39using (SafeSslHandle ssl = SafeSslHandle.Create(innerContext, new SslAuthenticationOptions() { IsServer = false }))
System\Net\Security\SslAuthenticationOptions.cs (1)
217SslAuthenticationOptions copy = new SslAuthenticationOptions
System\Net\Security\SslStream.IO.cs (1)
18internal readonly SslAuthenticationOptions _sslAuthenticationOptions = new SslAuthenticationOptions();
System\Net\Security\TlsContext.cs (2)
119SslAuthenticationOptions bag = new SslAuthenticationOptions(); 155SslAuthenticationOptions bag = new SslAuthenticationOptions();
47 references to SslAuthenticationOptions
System.Net.Security (47)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (11)
143private static SslProtocols CalculateEffectiveProtocols(SslAuthenticationOptions sslAuthenticationOptions) 192internal static SafeSslContextHandle GetOrCreateSslContextHandle(SslAuthenticationOptions sslAuthenticationOptions, bool allowCached, bool enableResume) 217internal static unsafe SafeSslContextHandle AllocateSslContext(SslAuthenticationOptions sslAuthenticationOptions, SslProtocols protocols, bool enableResume) 326internal static void UpdateClientCertificate(SafeSslHandle ssl, SslAuthenticationOptions sslAuthenticationOptions) 361internal static unsafe SafeSslHandle AllocateSslHandle(SslAuthenticationOptions sslAuthenticationOptions) 1036WeakGCHandle<SslAuthenticationOptions>.FromIntPtr(data) 1037.TryGetTarget(out SslAuthenticationOptions? options); 1077SslAuthenticationOptions.VerifyRemoteCertificateCallback? validator = options.RemoteCertificateValidator; 1159static (X509Certificate2 certificate, X509Chain chain) GetPeerCertChainFromStoreCtx(SafeSslHandle sslHandle, IntPtr storeCtx, SslAuthenticationOptions options) 1219WeakGCHandle<SslAuthenticationOptions>.FromIntPtr(sslData) 1220.TryGetTarget(out SslAuthenticationOptions? options);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (4)
490private WeakGCHandle<SslAuthenticationOptions> _authOptionsHandle; 536public static SafeSslHandle Create(SafeSslContextHandle context, SslAuthenticationOptions options) 579handle._authOptionsHandle = new WeakGCHandle<SslAuthenticationOptions>(options); 580Interop.Ssl.SslSetData(handle, WeakGCHandle<SslAuthenticationOptions>.ToIntPtr(handle._authOptionsHandle));
System\Net\Security\SslAuthenticationOptions.cs (3)
215internal SslAuthenticationOptions Clone() 217SslAuthenticationOptions copy = new SslAuthenticationOptions 253internal void CopyFrom(SslAuthenticationOptions other)
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(); 683private void CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions) 692internal static Exception CreateCertificateValidationException(SslAuthenticationOptions options, SslPolicyErrors sslPolicyErrors, X509ChainStatusFlags chainStatus)
System\Net\Security\SslStream.Protocol.cs (2)
740private static SafeFreeCredentials? AcquireCredentialsHandle(SslAuthenticationOptions sslAuthenticationOptions, bool newCredentialsRequested = false) 1193SslAuthenticationOptions sslAuthenticationOptions,
System\Net\Security\SslStreamPal.Unix.cs (7)
37SslAuthenticationOptions sslAuthenticationOptions, 49SslAuthenticationOptions sslAuthenticationOptions) 60SslAuthenticationOptions sslAuthenticationOptions) 65public static SafeFreeCredentials? AcquireCredentialsHandle(SslAuthenticationOptions _1, bool _2) 156SslAuthenticationOptions sslAuthenticationOptions) 180SslAuthenticationOptions sslAuthenticationOptions) 188ReadOnlySpan<byte> inputBuffer, out int consumed, SslAuthenticationOptions sslAuthenticationOptions)
System\Net\Security\TlsContext.cs (11)
10/// Long-lived TLS configuration. Wraps an <see cref="SslAuthenticationOptions"/> 38private SslAuthenticationOptions? _options; 53private TlsContext(SslAuthenticationOptions options, bool isWedge, bool templateHasServerOptions) 60internal SslAuthenticationOptions Options => _options ?? throw new ObjectDisposedException(nameof(TlsContext)); 82internal SslAuthenticationOptions CreateSessionOptions() 84SslAuthenticationOptions options = Options; 85SslAuthenticationOptions sessionOptions = _isWedge ? options : options.Clone(); 94partial void AttachSharedNativeContext(SslAuthenticationOptions sessionOptions); 119SslAuthenticationOptions bag = new SslAuthenticationOptions(); 155SslAuthenticationOptions bag = new SslAuthenticationOptions(); 163internal static TlsContext WrapShared(SslAuthenticationOptions sharedOptions)
System\Net\Security\TlsContext.OpenSsl.cs (2)
22partial void AttachSharedNativeContext(SslAuthenticationOptions sessionOptions) 36SslAuthenticationOptions options = Options;
System\Net\Security\TlsSession.cs (2)
57private SslAuthenticationOptions _options = null!; 646SslAuthenticationOptions serverOpts = context.CreateSessionOptions();