@Override
                public PrivateKey getPrivateKey(String alias) {
                    return keyPair == null ? null : keyPair.getPrivate();
                }
Creates a KeyManager that identifies with the provided keyPair and certificate chain.
xmppserver/src/test/java/org/jivesoftware/openfire/session/AbstractRemoteServerDummy.java