4 writes to securityContext
System.ServiceModel (4)
System\ServiceModel\Security\TlsSspiNegotiation.cs (4)
93this.securityContext = null; 391ref this.securityContext, 404ref this.securityContext, 625this.securityContext = null;
11 references to securityContext
System.ServiceModel (11)
System\ServiceModel\Security\TlsSspiNegotiation.cs (11)
191return (this.securityContext != null && this.securityContext.IsInvalid == false); 279this.securityContext, 299StreamSizes tmpSizes = (StreamSizes)SspiWrapper.QueryContextAttributes(this.securityContext, ContextAttribute.StreamSizes); 426SslConnectionInfo connectionInfo = (SslConnectionInfo)SspiWrapper.QueryContextAttributes(this.securityContext, ContextAttribute.ConnectionInfo); 482int errorCode = SspiWrapper.DecryptMessage(this.securityContext, securityBuffer, 0, false); 521int errorCode = SspiWrapper.EncryptMessage(this.securityContext, securityBuffer, 0); 622if (this.securityContext != null) 624this.securityContext.Close(); 644SafeFreeCertContext result = SspiWrapper.QueryContextAttributes(this.securityContext, contextAttribute) as SafeFreeCertContext; 682SecurityStatus status = (SecurityStatus)SspiWrapper.QuerySecurityContextToken(this.securityContext, out token);