3 writes to _mechanism
System.Net.Security (3)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (3)
93_mechanism = null; 300_mechanism = _optimisticMechanism; 306_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(); 290if (_mechanism is null) 314_mechanism.Package != requestedPackage) 324byte[]? response = _mechanism.GetOutgoingBlob(blob, out statusCode); 350_mechanism.GetMIC(_spnegoMechList, micBuffer); 384if (!_mechanism.VerifyMIC(_spnegoMechList, mechListMIC)) 390(_mechanism as ManagedNtlmNegotiateAuthenticationPal)?.ResetKeys(); 406if (_mechanism is null || !_isAuthenticated) 411return _mechanism.Wrap(input, outputWriter, requestEncryption, out isEncrypted); 416if (_mechanism is null || !_isAuthenticated) 421return _mechanism.Unwrap(input, outputWriter, out wasEncrypted); 426if (_mechanism is null || !_isAuthenticated) 431return _mechanism.UnwrapInPlace(input, out unwrappedOffset, out unwrappedLength, out wasEncrypted); 436if (_mechanism is null || !_isAuthenticated) 441return _mechanism.VerifyMIC(message, signature); 446if (_mechanism is null || !_isAuthenticated) 451_mechanism.GetMIC(message, signature);