4 writes to m_SecurityContext
System (4)
net\System\Net\_SecureChannel.cs (4)
109
m_SecurityContext
= null;
980
ref
m_SecurityContext
,
996
ref
m_SecurityContext
,
1023
ref
m_SecurityContext
,
18 references to m_SecurityContext
System (18)
net\System\Net\_SecureChannel.cs (18)
190
if (
m_SecurityContext
== null)
197
remoteContext = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, ContextAttribute.RemoteCertificate) as SafeFreeCertContext;
220
if (
m_SecurityContext
!= null)
222
result = SSPIWrapper.QueryContextChannelBinding(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, (ContextAttribute)kind);
261
return !(
m_SecurityContext
== null ||
m_SecurityContext
.IsInvalid);
283
if (
m_SecurityContext
!= null) {
284
m_SecurityContext
.Close();
461
IssuerListInfoEx issuerList = (IssuerListInfoEx)SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, ContextAttribute.IssuerListInfoEx);
1012
m_SecurityContext
,
1052
if (!cachedCreds &&
m_SecurityContext
!= null && !
m_SecurityContext
.IsInvalid && !m_CredentialsHandle.IsInvalid)
1079
StreamSizes streamSizes = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, ContextAttribute.StreamSizes) as StreamSizes;
1095
m_ConnectionInfo = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, ContextAttribute.ConnectionInfo) as SslConnectionInfo;
1161
int errorCode = SSPIWrapper.EncryptMessage(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, securityBuffer, 0);
1198
SecurityStatus errorCode = (SecurityStatus)SSPIWrapper.DecryptMessage(GlobalSSPI.SSPISecureChannel,
m_SecurityContext
, decspc, 0);
1357
var status = (SecurityStatus)SSPIWrapper.ApplyAlertToken(GlobalSSPI.SSPISecureChannel, ref m_CredentialsHandle,
m_SecurityContext
, TlsAlertType.Fatal, alertMessage);
1373
var status = (SecurityStatus)SSPIWrapper.ApplyShutdownToken(GlobalSSPI.SSPISecureChannel, ref m_CredentialsHandle,
m_SecurityContext
);