1 write to _Context
System (1)
net\System\Net\SecureProtocols\_NegoState.cs (1)
217_Context = new NTAuthentication(isServer, package, credential, servicePrincipalName, flags, channelBinding);
39 references to _Context
System (39)
net\System\Net\SecureProtocols\_NegoState.cs (39)
137if (_Context != null && _Context.IsValidContext) { 156if (_Context != null && IsServer != isServer) { 233if (_Exception != null && _Context != null) { 234_Context.CloseContext(); 247return _Context != null && HandshakeComplete && _Exception == null && _RemoteOk; 259if (_Context.IsNTLM) 262return _Context.IsMutualAuthFlag; 268return IsAuthenticated && _Context.IsConfidentialityFlag; 274return IsAuthenticated && (_Context.IsIntegrityFlag || _Context.IsConfidentialityFlag); 280return _Context != null && _Context.IsServer; 289return (_Context.IsConfidentialityFlag || _Context.IsIntegrityFlag); 305return (_Context.IsDelegationFlag && _Context.ProtocolName != NegotiationInfoClass.NTLM) ? TokenImpersonationLevel.Delegation 306:_Context.IsIdentifyFlag? TokenImpersonationLevel.Identification 315return _Context.IsCompleted && _Context.IsValidContext; 327string name = _Context.IsServer? _Context.AssociatedName: _Context.Spn; 330protocol = _Context.ProtocolName; 332if (_Context.IsServer) { 335token = _Context.GetContextToken(); 336string authtype = _Context.ProtocolName; 374if (_Context != null) { 375_Context.CloseContext(); 389if (_Context.IsServer) 450if (_Context.IsKerberos) 468string clientSpn = _Context.ClientSpecifiedSpn; 505if (_Context.IsServer && !CheckSpn()) 537ProtectionLevel result = _Context.IsConfidentialityFlag? ProtectionLevel.EncryptAndSign: _Context.IsIntegrityFlag? ProtectionLevel.Sign: ProtectionLevel.None; 557if (_Context.IsServer) 806byte[] message = _Context.GetOutgoingBlob(incomingBlob, false, out statusCode); 836return _Context.Encrypt(buffer, offset, count, ref outBuffer, _WriteSequenceNumber); 849return _Context.Decrypt(buffer, offset, count, out newOffset, _ReadSequenceNumber);