5 writes to securityContext
System.ServiceModel (5)
System\ServiceModel\Security\WindowsSspiNegotiation.cs (5)
70
this.
securityContext
= null;
407
ref this.
securityContext
,
423
ref this.
securityContext
,
437
ref this.
securityContext
,
590
this.
securityContext
= null;
14 references to securityContext
System.ServiceModel (14)
System\ServiceModel\Security\WindowsSspiNegotiation.cs (14)
143
return (this.
securityContext
!= null && this.
securityContext
.IsInvalid == false);
162
LifeSpan tmpLifeSpan = (LifeSpan)SspiWrapper.QueryContextAttributes(this.
securityContext
, ContextAttribute.Lifespan);
184
NegotiationInfoClass negotiationInfo = SspiWrapper.QueryContextAttributes(this.
securityContext
, ContextAttribute.NegotiationInfo) as NegotiationInfoClass;
215
SecSizes tmpSizes = (SecSizes)SspiWrapper.QueryContextAttributes(this.
securityContext
, ContextAttribute.Sizes);
259
int errorCode = SspiWrapper.DecryptMessage(this.
securityContext
, securityBuffer, 0, true);
297
int errorCode = SspiWrapper.EncryptMessage(this.
securityContext
, securityBuffer, 0);
419
bool isServerSecurityContextNull = this.
securityContext
== null;
552
SspiWrapper.QuerySpecifiedTarget(
securityContext
, out serviceBindingNameSentByClient);
556
policyHelper.CheckServiceBinding(this.
securityContext
, this.servicePrincipalName);
575
SspiWrapper.ImpersonateSecurityContext(this.
securityContext
);
583
if (this.
securityContext
!= null)
585
this.
securityContext
.Close();
622
SecurityStatus status = (SecurityStatus)SspiWrapper.QuerySecurityContextToken(this.
securityContext
, out token);