3 writes to _mechanism
System.Net.Security (3)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (3)
93_mechanism = null; 311_mechanism = _optimisticMechanism; 317_mechanism = CreateMechanismForPackage(requestedPackage);
24 references to _mechanism
System.Net.Security (24)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (24)
72public override bool IsAuthenticated => _isAuthenticated && _mechanism?.IsAuthenticated == true; 73public override bool IsSigned => _mechanism?.IsSigned ?? false; 74public override bool IsEncrypted => _mechanism?.IsEncrypted ?? false; 75public override bool IsMutuallyAuthenticated => _mechanism?.IsMutuallyAuthenticated ?? false; 76public override string Package => _mechanism?.Package ?? NegotiationInfoClass.Negotiate; 78public override IIdentity RemoteIdentity => _mechanism?.RemoteIdentity ?? throw new InvalidOperationException(); 79public override System.Security.Principal.TokenImpersonationLevel ImpersonationLevel => _mechanism?.ImpersonationLevel ?? System.Security.Principal.TokenImpersonationLevel.Impersonation; 92_mechanism?.Dispose(); 301if (_mechanism is null) 325_mechanism.Package != requestedPackage) 335byte[]? response = _mechanism.GetOutgoingBlob(blob, out statusCode); 361_mechanism.GetMIC(_spnegoMechList, micBuffer); 395if (!_mechanism.VerifyMIC(_spnegoMechList, mechListMIC)) 401(_mechanism as ManagedNtlmNegotiateAuthenticationPal)?.ResetKeys(); 417if (_mechanism is null || !_isAuthenticated) 422return _mechanism.Wrap(input, outputWriter, requestEncryption, out isEncrypted); 427if (_mechanism is null || !_isAuthenticated) 432return _mechanism.Unwrap(input, outputWriter, out wasEncrypted); 437if (_mechanism is null || !_isAuthenticated) 442return _mechanism.UnwrapInPlace(input, out unwrappedOffset, out unwrappedLength, out wasEncrypted); 447if (_mechanism is null || !_isAuthenticated) 452return _mechanism.VerifyMIC(message, signature); 457if (_mechanism is null || !_isAuthenticated) 462_mechanism.GetMIC(message, signature);