Uses of Class
javax.net.ssl.SSLException
| Package | Description |
|---|---|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| org.apache.http.conn.ssl |
TLS/SSL specific parts of the HttpConn API.
|
| org.conscrypt |
-
Uses of SSLException in javax.net.ssl
Subclasses of SSLException in javax.net.ssl Modifier and Type Class Description classSSLHandshakeExceptionThe exception that is thrown when a handshake could not be completed successfully.classSSLKeyExceptionThe exception that is thrown when an invalid SSL key is encountered.classSSLPeerUnverifiedExceptionThe exception that is thrown when the identity of a peer has not been verified.classSSLProtocolExceptionThe exception that is thrown when an error in the operation of the SSL protocol is encountered.Methods in javax.net.ssl that throw SSLException Modifier and Type Method Description abstract voidSSLEngine. beginHandshake()Initiates a handshake on this engine.abstract voidSSLEngine. closeInbound()Notifies this engine instance that no more inbound network data will be sent to this engine.SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer dst)Decodes the incoming network data buffer into the application data buffer.SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer[] dsts)Decodes the incoming network data buffer into the application data buffers.abstract SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)Decodes the incoming network data buffer into application data buffers.abstract SSLEngineResultSSLEngine. wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)Encodes the outgoing application data buffers into the network data buffer.SSLEngineResultSSLEngine. wrap(ByteBuffer[] srcs, ByteBuffer dst)Encodes the outgoing application data buffers into the network data buffer.SSLEngineResultSSLEngine. wrap(ByteBuffer src, ByteBuffer dst)Encodes the outgoing application data buffer into the network data buffer. -
Uses of SSLException in org.apache.http.conn.ssl
Methods in org.apache.http.conn.ssl that throw SSLException Modifier and Type Method Description voidAbstractVerifier. verify(String host, String[] cns, String[] subjectAlts, boolean strictWithSubDomains)voidAbstractVerifier. verify(String host, X509Certificate cert)voidBrowserCompatHostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)voidStrictHostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)voidX509HostnameVerifier. verify(String host, String[] cns, String[] subjectAlts)Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts.voidX509HostnameVerifier. verify(String host, X509Certificate cert) -
Uses of SSLException in org.conscrypt
Methods in org.conscrypt that return SSLException Modifier and Type Method Description protected SSLExceptionAlertException. getReason()Returns the reason of alert.Methods in org.conscrypt with parameters of type SSLException Modifier and Type Method Description protected voidHandshakeProtocol. fatalAlert(byte description, SSLException cause)Sends fatal alert, breaks executionMethods in org.conscrypt that throw SSLException Modifier and Type Method Description voidSSLEngineImpl. beginHandshake()Starts the handshake.voidNativeCrypto.SSLHandshakeCallbacks. clientCertificateRequested(byte[] keyTypes, byte[][] asn1DerEncodedX500Principals)Called on an SSL client when the server requests (or requires a certificate).voidOpenSSLSocketImpl. clientCertificateRequested(byte[] keyTypeBytes, byte[][] asn1DerEncodedPrincipals)voidSSLEngineImpl. closeInbound()Closes inbound operations of this enginebyte[]OpenSSLSocketImpl. getChannelId()Gets the TLS Channel ID for this server socket.static voidNativeCrypto. SSL_check_private_key(long ssl)static longNativeCrypto. SSL_do_handshake(long sslNativePointer, FileDescriptor fd, NativeCrypto.SSLHandshakeCallbacks shc, int timeoutMillis, boolean client_mode, byte[] npnProtocols, byte[] alpnProtocols)Returns the sslSessionNativePointer of the negotiated session.static voidNativeCrypto. SSL_enable_tls_channel_id(long ssl)static byte[]NativeCrypto. SSL_get_tls_channel_id(long ssl)static longNativeCrypto. SSL_new(long ssl_ctx)static voidNativeCrypto. SSL_renegotiate(long sslNativePointer)Currently only intended for forcing renegotiation for testing.static voidNativeCrypto. SSL_set_session(long sslNativePointer, long sslSessionNativePointer)static voidNativeCrypto. SSL_set_session_creation_enabled(long sslNativePointer, boolean creationEnabled)static voidNativeCrypto. SSL_set_tlsext_host_name(long sslNativePointer, String hostname)SSLEngineResultSSLEngineImpl. unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)Decodes one complete SSL/TLS record provided in the source buffer.SSLEngineResultSSLEngineImpl. wrap(ByteBuffer[] srcs, int offset, int len, ByteBuffer dst)Encodes the application data into SSL/TLS record.Constructors in org.conscrypt with parameters of type SSLException Constructor Description AlertException(byte description, SSLException reason)Constructs the instance.