5 instantiations of SslAuthenticationOptions
System.Net.Security (5)
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (1)
39
using (SafeSslHandle ssl = SafeSslHandle.Create(innerContext, new
SslAuthenticationOptions
() { IsServer = false }))
System\Net\Security\SslAuthenticationOptions.cs (1)
224
SslAuthenticationOptions copy = new
SslAuthenticationOptions
System\Net\Security\SslStream.IO.cs (1)
18
internal readonly SslAuthenticationOptions _sslAuthenticationOptions = new
SslAuthenticationOptions
();
System\Net\Security\TlsContext.cs (2)
129
SslAuthenticationOptions bag = new
SslAuthenticationOptions
();
165
SslAuthenticationOptions 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)
143
private static SslProtocols CalculateEffectiveProtocols(
SslAuthenticationOptions
sslAuthenticationOptions)
192
internal static SafeSslContextHandle GetOrCreateSslContextHandle(
SslAuthenticationOptions
sslAuthenticationOptions, bool allowCached, bool enableResume)
217
internal static unsafe SafeSslContextHandle AllocateSslContext(
SslAuthenticationOptions
sslAuthenticationOptions, SslProtocols protocols, bool enableResume)
326
internal static void UpdateClientCertificate(SafeSslHandle ssl,
SslAuthenticationOptions
sslAuthenticationOptions)
361
internal static unsafe SafeSslHandle AllocateSslHandle(
SslAuthenticationOptions
sslAuthenticationOptions)
1042
WeakGCHandle<
SslAuthenticationOptions
>.FromIntPtr(data)
1043
.TryGetTarget(out
SslAuthenticationOptions
? options);
1083
SslAuthenticationOptions
.VerifyRemoteCertificateCallback? validator = options.RemoteCertificateValidator;
1165
static (X509Certificate2 certificate, X509Chain chain) GetPeerCertChainFromStoreCtx(SafeSslHandle sslHandle, IntPtr storeCtx,
SslAuthenticationOptions
options)
1225
WeakGCHandle<
SslAuthenticationOptions
>.FromIntPtr(sslData)
1226
.TryGetTarget(out
SslAuthenticationOptions
? options);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (4)
496
private WeakGCHandle<
SslAuthenticationOptions
> _authOptionsHandle;
542
public static SafeSslHandle Create(SafeSslContextHandle context,
SslAuthenticationOptions
options)
585
handle._authOptionsHandle = new WeakGCHandle<
SslAuthenticationOptions
>(options);
586
Interop.Ssl.SslSetData(handle, WeakGCHandle<
SslAuthenticationOptions
>.ToIntPtr(handle._authOptionsHandle));
System\Net\Security\SslAuthenticationOptions.cs (3)
222
internal
SslAuthenticationOptions
Clone()
224
SslAuthenticationOptions
copy = new SslAuthenticationOptions
260
internal void CopyFrom(
SslAuthenticationOptions
other)
System\Net\Security\SslClientAuthenticationOptions.cs (1)
15
private X509RevocationMode _checkCertificateRevocation =
SslAuthenticationOptions
.DefaultRevocationMode;
System\Net\Security\SslServerAuthenticationOptions.cs (1)
13
private X509RevocationMode _checkCertificateRevocation =
SslAuthenticationOptions
.DefaultRevocationMode;
System\Net\Security\SslStream.IO.cs (3)
18
internal readonly
SslAuthenticationOptions
_sslAuthenticationOptions = new SslAuthenticationOptions();
686
private void CompleteHandshake(
SslAuthenticationOptions
sslAuthenticationOptions)
695
internal static Exception CreateCertificateValidationException(
SslAuthenticationOptions
options, SslPolicyErrors sslPolicyErrors, X509ChainStatusFlags chainStatus)
System\Net\Security\SslStream.Protocol.cs (2)
748
private static SafeFreeCredentials? AcquireCredentialsHandle(
SslAuthenticationOptions
sslAuthenticationOptions, bool newCredentialsRequested = false)
1227
SslAuthenticationOptions
sslAuthenticationOptions,
System\Net\Security\SslStreamPal.Unix.cs (7)
37
SslAuthenticationOptions
sslAuthenticationOptions,
49
SslAuthenticationOptions
sslAuthenticationOptions)
60
SslAuthenticationOptions
sslAuthenticationOptions)
65
public static SafeFreeCredentials? AcquireCredentialsHandle(
SslAuthenticationOptions
_1, bool _2)
156
SslAuthenticationOptions
sslAuthenticationOptions)
180
SslAuthenticationOptions
sslAuthenticationOptions)
188
ReadOnlySpan<byte> inputBuffer, out int consumed,
SslAuthenticationOptions
sslAuthenticationOptions)
System\Net\Security\TlsContext.cs (11)
10
/// Long-lived TLS configuration. Wraps an <see cref="
SslAuthenticationOptions
"/>
48
private
SslAuthenticationOptions
? _options;
63
private TlsContext(
SslAuthenticationOptions
options, bool isWedge, bool templateHasServerOptions)
70
internal
SslAuthenticationOptions
Options => _options ?? throw new ObjectDisposedException(nameof(TlsContext));
92
internal
SslAuthenticationOptions
CreateSessionOptions()
94
SslAuthenticationOptions
options = Options;
95
SslAuthenticationOptions
sessionOptions = _isWedge ? options : options.Clone();
104
partial void AttachSharedNativeContext(
SslAuthenticationOptions
sessionOptions);
129
SslAuthenticationOptions
bag = new SslAuthenticationOptions();
165
SslAuthenticationOptions
bag = new SslAuthenticationOptions();
173
internal static TlsContext WrapShared(
SslAuthenticationOptions
sharedOptions)
System\Net\Security\TlsContext.OpenSsl.cs (2)
22
partial void AttachSharedNativeContext(
SslAuthenticationOptions
sessionOptions)
36
SslAuthenticationOptions
options = Options;
System\Net\Security\TlsSession.cs (2)
57
private
SslAuthenticationOptions
_options = null!;
678
SslAuthenticationOptions
serverOpts = context.CreateSessionOptions();