3 writes to ServerCertificateContext
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (2)
75
sslOptions.
ServerCertificateContext
= SslStreamCertificateContext.Create((X509Certificate2)sslOptions.ServerCertificate, additionalCertificates: fullChain);
206
ServerCertificateContext
= sslOptions.ServerCertificateContext,
Middleware\HttpsConnectionMiddleware.cs (1)
370
ServerCertificateContext
= _serverCertificateContext,
14 references to ServerCertificateContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
206
ServerCertificateContext = sslOptions.
ServerCertificateContext
,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionListener.cs (1)
107
serverAuthenticationOptions.
ServerCertificateContext
== null &&
Internal\QuicLog.cs (1)
201
$" {nameof(SslServerAuthenticationOptions.
ServerCertificateContext
)}, or {nameof(SslServerAuthenticationOptions.ServerCertificateSelectionCallback)}.", EventName = "ConnectionListenerCertificateNotSpecified")]
System.Net.Quic (4)
System\Net\Quic\Internal\MsQuicConfiguration.cs (4)
106
else if (authenticationOptions.
ServerCertificateContext
is not null)
108
certificate = authenticationOptions.
ServerCertificateContext
.TargetCertificate;
109
intermediates = authenticationOptions.
ServerCertificateContext
.IntermediateCertificates;
118
throw new ArgumentException(SR.Format(SR.net_quic_not_null_ceritifcate, nameof(SslServerAuthenticationOptions.ServerCertificate), nameof(SslServerAuthenticationOptions.
ServerCertificateContext
), nameof(SslServerAuthenticationOptions.ServerCertificateSelectionCallback)), nameof(options));
System.Net.Security (7)
System\Net\Security\SslAuthenticationOptions.cs (5)
106
sslServerAuthenticationOptions.
ServerCertificateContext
== null &&
114
sslServerAuthenticationOptions.
ServerCertificateContext
!= null ||
153
if (sslServerAuthenticationOptions.
ServerCertificateContext
!= null)
157
!ReferenceEquals(CertificateContext, sslServerAuthenticationOptions.
ServerCertificateContext
))
161
CertificateContext = sslServerAuthenticationOptions.
ServerCertificateContext
;
System\Net\Security\TlsContext.cs (2)
27
/// certificate context passed via <see cref="SslServerAuthenticationOptions.
ServerCertificateContext
"/>
132
options.
ServerCertificateContext
!= null ||