1 type derived from AuthenticationException
System.Net.Security (1)
32 instantiations of AuthenticationException
aspire (3)
Kestrel.SampleApp (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
System.Net.Quic (6)
System.Net.Security (20)
System\Net\Security\NegotiateStream.cs (11)
769new AuthenticationException(SR.net_auth_bad_client_creds_or_target_mismatch),
771new AuthenticationException(SR.net_auth_bad_client_creds_or_target_mismatch),
773new AuthenticationException(SR.Format(SR.net_auth_context_expectation, _expectedImpersonationLevel.ToString(), PrivateImpersonationLevel.ToString())),
775new AuthenticationException(SR.Format(SR.net_auth_context_expectation, _context.ProtectionLevel.ToString(), _expectedProtectionLevel.ToString())),
835_ => new AuthenticationException(SR.net_auth_SSPI, win32Exception)
868throw new AuthenticationException(SR.net_auth_eof);
881throw new AuthenticationException(SR.net_auth_alert);
899throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeId));
907throw new AuthenticationException(SR.Format(SR.net_io_header_id, nameof(FrameHeader.MessageId), _framer.ReadHeader.MessageId, FrameHeader.HandshakeDoneId));
938ERROR_TRUST_FAILURE => new AuthenticationException(SR.net_auth_context_expectation_remote, e),
939_ => new AuthenticationException(SR.net_auth_alert, e)
System\Net\Security\SslStream.IO.cs (7)
342throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
392throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.GetException());
395throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
622SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.net_ssl_io_cert_custom_validation, null)));
627SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_chain_validation, chainStatus), null)));
632SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_validation, sslPolicyErrors), null)));
1069throw new AuthenticationException(SR.net_frame_read_size);
23 references to AuthenticationException
dotnet-svcutil-lib (2)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
netstandard (1)
System (1)
System.Net.Http (1)
System.Net.Mail (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.ServiceModel.Http (1)
System.ServiceModel.NetFramingBase (2)