Code example for SSLEngineResult.HandshakeStatus

Methods: ordinal

 * Implementation of a secure socket channel 
 * @author Filip Hanik 
 * @version 1.0 
public class SecureNioChannel extends NioChannel  { 
    protected ByteBuffer netInBuffer;
    protected ByteBuffer netOutBuffer;
    protected SSLEngine sslEngine;
    protected boolean initHandshakeComplete = false;
    protected HandshakeStatus initHandshakeStatus; //gets set by begin handshake
    protected boolean closed = false;
    protected boolean closing = false;
    protected NioSelectorPool pool;
Connect your IDE to all the code out there  Get Codota for Java