7 writes to m_SecurityContext
System (7)
net\System\Net\_NTAuthentication.cs (7)
489
m_SecurityContext
= null;
696
ref
m_SecurityContext
,
713
ref
m_SecurityContext
,
725
ref
m_SecurityContext
,
821
ref
m_SecurityContext
,
869
ref
m_SecurityContext
,
884
ref
m_SecurityContext
,
29 references to m_SecurityContext
System (29)
net\System\Net\_NTAuthentication.cs (29)
177
return !(
m_SecurityContext
== null ||
m_SecurityContext
.IsInvalid);
186
string name = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth,
m_SecurityContext
, ContextAttribute.Names) as string;
242
SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth,
m_SecurityContext
,
297
negotiationInfo = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth,
m_SecurityContext
, ContextAttribute.NegotiationInfo) as NegotiationInfoClass;
318
m_SecurityContext
,
588
m_SecurityContext
,
606
if (
m_SecurityContext
!= null && !
m_SecurityContext
.IsClosed)
607
m_SecurityContext
.Close();
629
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() null blob AND m_SecurityContext#" + ValidationHelper.HashString(
m_SecurityContext
) + "::Handle:[0x" +
m_SecurityContext
.ToString() + "]");
689
bool firstTime =
m_SecurityContext
== null;
771
GlobalLog.Assert(statusCode == SecurityStatus.OK, "NTAuthentication#{0}::GetOutgoingBlob()|statusCode:[0x{1:x8}] ({2}) m_SecurityContext#{3}::Handle:[{4}] [STATUS != OK]", ValidationHelper.HashString(this), (int)statusCode, statusCode, ValidationHelper.HashString(
m_SecurityContext
), ValidationHelper.ToString(
m_SecurityContext
));
776
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(
m_SecurityContext
) + "::Handle:" + ValidationHelper.ToString(
m_SecurityContext
) + "]");
795
bool firstTime =
m_SecurityContext
== null;
932
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(
m_SecurityContext
) + "::Handle:" + ValidationHelper.ToString(
m_SecurityContext
) + "]");
985
errorCode = SSPIWrapper.EncryptMessage(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, sequenceNumber);
991
errorCode = SSPIWrapper.MakeSignature(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, 0);
1051
errorCode = SSPIWrapper.DecryptMessage(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, expectedSeqNumber);
1055
errorCode = SSPIWrapper.VerifySignature(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, expectedSeqNumber);
1076
string spn = SSPIWrapper.QueryContextAttributes(GlobalSSPI.SSPIAuth,
m_SecurityContext
,
1102
errorCode = SSPIWrapper.DecryptMessage(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, expectedSeqNumber);
1108
errorCode = SSPIWrapper.VerifySignature(GlobalSSPI.SSPIAuth,
m_SecurityContext
, securityBuffer, expectedSeqNumber);
1170
m_SecurityContext
,
1230
m_SecurityContext
,