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