private KeyManager[] getServerKeyManagers(String host) throws NoSuchAlgorithmException,
            UnrecoverableKeyException, KeyStoreException, OperatorCreationException,
            InvalidKeyException, IOException, SignatureException, NoSuchProviderException,
            CertificateException {
        KeyStore keyStore = mGenerator.generateServer(host, mJKS, mCaCert, mCaPrivKey);
        String keyManAlg = KeyManagerFactory.getDefaultAlgorithm();
        KeyManagerFactory kmf = KeyManagerFactory.getInstance(keyManAlg);
        kmf.init(keyStore, mJKS.password());
        return kmf.getKeyManagers();
    }
Create a client {@link SSLEngine} with the remote server IP and port.

@param host Remote server host.
@param port Remote server port.
@return A client {@link SSLEngine} instance.
@throws ExecutionException If an execution error has occurred.
netbare-core/src/main/java/com/github/megatronking/netbare/ssl/SSLEngineFactory.java