Package naga

Interface NIOSocketSSL

    • Method Detail

      • getSSLEngine

        javax.net.ssl.SSLEngine getSSLEngine()
        Returns the SSLEngine in use for this socket.
        Returns:
        an SSLEngine.
      • beginHandshake

        void beginHandshake()
                     throws javax.net.ssl.SSLException
        Initiates SSL-handshake, starts encrypted communication.
        Throws:
        javax.net.ssl.SSLException
      • isEncrypted

        boolean isEncrypted()
        Returns:
        true if handshake is initiated and consequent data will be encrypted.