1 type derived from AuthenticationException
System.Net.Security (1)
29 instantiations of AuthenticationException
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)
317throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
367throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.GetException());
370throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
597SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.net_ssl_io_cert_custom_validation, null)));
602SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_chain_validation, chainStatus), null)));
607SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(new AuthenticationException(SR.Format(SR.net_ssl_io_cert_validation, sslPolicyErrors), null)));
1027throw new AuthenticationException(SR.net_frame_read_size);
22 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 (5)
netstandard (1)
System (1)
System.Net.Http (1)
System.Net.Mail (2)
System.Net.Quic (1)
System.Net.Requests (1)
System.ServiceModel.NetFramingBase (2)