5 writes to _securityContext
System.Net.Security (5)
System\Net\Security\SslStream.Protocol.cs (5)
879
ref
_securityContext
,
895
ref
_securityContext
,
907
ref
_securityContext
,
923
ref
_securityContext
,
970
ref
_securityContext
,
22 references to _securityContext
System.Net.Security (22)
System\Net\Security\SslStream.Protocol.cs (22)
96
_localClientCertificateUsed = CertificateValidationPal.IsLocalCertificateUsed(_credentialsHandle,
_securityContext
!)
129
if (
_securityContext
!= null)
131
result = SslStreamPal.QueryContextChannelBinding(
_securityContext
, kind);
150
return !(
_securityContext
== null ||
_securityContext
.IsInvalid);
170
_securityContext
?.Dispose();
311
issuers = CertificateValidationPal.GetRequestCertificateAuthorities(
_securityContext
!);
346
remoteCert = CertificateValidationPal.GetRemoteCertificate(
_securityContext
);
587
if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle,
_securityContext
, _sslAuthenticationOptions))
856
bool refreshCredentialNeeded =
_securityContext
== null;
887
_securityContext
!,
946
if (!cachedCreds &&
_securityContext
!= null && !
_securityContext
.IsInvalid && _credentialsHandle != null && !_credentialsHandle.IsInvalid)
966
Debug.Assert(
_securityContext
!= null);
983
SslStreamPal.QueryContextStreamSizes(
_securityContext
!, out StreamSizes streamSizes);
990
SslStreamPal.QueryContextConnectionInfo(
_securityContext
!, ref _connectionInfo);
1006
_securityContext
!,
1021
SecurityStatusPal status = SslStreamPal.DecryptMessage(
_securityContext
!, buffer, out outputOffset, out outputCount);
1049
X509Certificate2? certificate = CertificateValidationPal.GetRemoteCertificate(
_securityContext
, ref chain, _sslAuthenticationOptions.CertificateChainPolicy);
1101
_securityContext
!,
1183
status = SslStreamPal.ApplyAlertToken(
_securityContext
, TlsAlertType.Fatal, alertMessage);
1202
status = SslStreamPal.ApplyShutdownToken(
_securityContext
!);