@Override public SSLSupport getSSLSupport(SSLEngine sslEngine) { return new JSSE14Support(sslEngine); }
@Override protected void handShake() throws IOException { ssl.setNeedClientAuth(true); synchronousHandshake(ssl); }
@Override public SSLSupport getSSLSupport(Socket socket) { if (!(socket instanceof SSLSocket)) { throw new IllegalArgumentException("The Socket has to be SSLSocket"); } return new JSSE14Support((SSLSocket)socket); }
protected void handShake() throws IOException { ssl.setNeedClientAuth(true); synchronousHandshake(ssl); }
@Override public SSLSupport getSSLSupport(Socket socket) { return new JSSE14Support((SSLSocket)socket); }
@Override public SSLSupport getSSLSupport(SSLEngine sslEngine) { return new JSSE14Support(sslEngine); }