3 writes to _mechanism
System.Net.Security (3)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (3)
93_mechanism = null; 312_mechanism = _optimisticMechanism; 318_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(); 302if (_mechanism is null) 326_mechanism.Package != requestedPackage) 336byte[]? response = _mechanism.GetOutgoingBlob(blob, out statusCode); 362_mechanism.GetMIC(_spnegoMechList, micBuffer); 396if (!_mechanism.VerifyMIC(_spnegoMechList, mechListMIC)) 402(_mechanism as ManagedNtlmNegotiateAuthenticationPal)?.ResetKeys(); 418if (_mechanism is null || !_isAuthenticated) 423return _mechanism.Wrap(input, outputWriter, requestEncryption, out isEncrypted); 428if (_mechanism is null || !_isAuthenticated) 433return _mechanism.Unwrap(input, outputWriter, out wasEncrypted); 438if (_mechanism is null || !_isAuthenticated) 443return _mechanism.UnwrapInPlace(input, out unwrappedOffset, out unwrappedLength, out wasEncrypted); 448if (_mechanism is null || !_isAuthenticated) 453return _mechanism.VerifyMIC(message, signature); 458if (_mechanism is null || !_isAuthenticated) 463_mechanism.GetMIC(message, signature);