Package com.iizix.nio

Class SSLCommLayer


  • public class SSLCommLayer
    extends java.lang.Object
    The SSL SocketComm class is used to open client sockets with a destination host with optional proxy (HTTP/SOCKS), secure socket (SSL/TLS), and atop WebSocket or Telnet as protocols.

    For proxy and/or WebSocket, an authenticator must/should be used to support user authentication with the proxy or destination (for WebSocket).

    For SSL/TLS, client certificates can be added, discrete or from system, and if so, an password callback might be have to be registered to provide a password for a keystore or a certificate, unless preset in the properties.

    For SSL/TLS, server certificates validator can be provided in order to check server certificates and/or the destinations host name.

    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      javax.net.ssl.SSLSessiongetSession()
      Gets the SSL session.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSession

        public javax.net.ssl.SSLSession getSession()
        Gets the SSL session.