8 references to SslStreamCertificateContext
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (1)
75
sslOptions.ServerCertificateContext =
SslStreamCertificateContext
.Create((X509Certificate2)sslOptions.ServerCertificate, additionalCertificates: fullChain);
Middleware\HttpsConnectionMiddleware.cs (2)
40
private readonly
SslStreamCertificateContext
? _serverCertificateContext;
112
_serverCertificateContext =
SslStreamCertificateContext
.Create(certificate, additionalCertificates: options.ServerCertificateChain);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
854
ServerCertificateContext =
SslStreamCertificateContext
.Create(_x509Certificate2, additionalCertificates: null, offline: true),
System.Net.Security (4)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (4)
211
public System.Net.Security.
SslStreamCertificateContext
? ClientCertificateContext { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } }
243
public System.Net.Security.
SslStreamCertificateContext
? ServerCertificateContext { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); } }
346
public static System.Net.Security.
SslStreamCertificateContext
Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection? additionalCertificates, bool offline) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
347
public static System.Net.Security.
SslStreamCertificateContext
Create(System.Security.Cryptography.X509Certificates.X509Certificate2 target, System.Security.Cryptography.X509Certificates.X509Certificate2Collection? additionalCertificates, bool offline = false, System.Net.Security.SslCertificateTrust? trust = null) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }