1 write to _NegoState
System (1)
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
56_NegoState = new NegoState(innerStream, leaveInnerStreamOpen);
34 references to _NegoState
System (34)
net\System\Net\SecureProtocols\_NegoStream.cs (2)
169encryptedBytes = _NegoState.EncryptData(buffer, offset, chunkBytes, ref outBuffer); 353readBytes = _NegoState.DecryptData(InternalBuffer, 0, readBytes, out internalOffset);
net\System\Net\SecureProtocols\NegotiateStream.cs (32)
98_NegoState.ValidateCreateContext(_Package, false, credential, targetName, binding, requiredProtectionLevel, allowedImpersonationLevel); 99_NegoState.ProcessAuthentication(null); 154_NegoState.ValidateCreateContext(_Package, false, credential, targetName, binding, requiredProtectionLevel, allowedImpersonationLevel); 156LazyAsyncResult result = new LazyAsyncResult(_NegoState, asyncState, asyncCallback); 157_NegoState.ProcessAuthentication(result); 170_NegoState.EndProcessAuthentication(asyncResult); 204_NegoState.ValidateCreateContext(_Package, credential, string.Empty, policy, requiredProtectionLevel, requiredImpersonationLevel); 206_NegoState.ProcessAuthentication(null); 245_NegoState.ValidateCreateContext(_Package, credential, string.Empty, policy, requiredProtectionLevel, requiredImpersonationLevel); 247LazyAsyncResult result = new LazyAsyncResult(_NegoState, asyncState, asyncCallback); 248_NegoState.ProcessAuthentication(result); 261_NegoState.EndProcessAuthentication(asyncResult); 340return _NegoState.IsAuthenticated; 352return _NegoState.IsMutuallyAuthenticated; 364return _NegoState.IsEncrypted; 376return _NegoState.IsSigned; 388return _NegoState.IsServer; 403return _NegoState.AllowedImpersonation; 421_RemoteIdentity = _NegoState.GetIdentity(); 520_NegoState.Close(); 536_NegoState.CheckThrow(true); 538if (!_NegoState.CanGetSecureStream) 553_NegoState.CheckThrow(true); 555if (!_NegoState.CanGetSecureStream) 574_NegoState.CheckThrow(true); 576if (!_NegoState.CanGetSecureStream) 594_NegoState.CheckThrow(true); 596if (!_NegoState.CanGetSecureStream) 640_NegoState.CheckThrow(true); 642if (!_NegoState.CanGetSecureStream) 661_NegoState.CheckThrow(true); 663if (!_NegoState.CanGetSecureStream)