X509KeyManager which allows selection of a specific keypair and certificate
chain (identified by their keystore alias name) to be used by the server to
authenticate itself to SSL clients.
Method from org.apache.tomcat.util.net.jsse.JSSEKeyManager Detail: |
public String chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket) {
return delegate.chooseClientAlias(keyType, issuers, socket);
}
Choose an alias to authenticate the client side of a secure socket,
given the public key type and the list of certificate issuer authorities
recognized by the peer (if any). |
public String chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket) {
return serverKeyAlias;
}
Returns this key manager's server key alias that was provided in the
constructor. |
public X509Certificate[] getCertificateChain(String alias) {
return delegate.getCertificateChain(alias);
}
Returns the certificate chain associated with the given alias. |
public String[] getClientAliases(String keyType,
Principal[] issuers) {
return delegate.getClientAliases(keyType, issuers);
}
Get the matching aliases for authenticating the client side of a secure
socket, given the public key type and the list of certificate issuer
authorities recognized by the peer (if any). |
public PrivateKey getPrivateKey(String alias) {
return delegate.getPrivateKey(alias);
}
Returns the key associated with the given alias. |
public String[] getServerAliases(String keyType,
Principal[] issuers) {
return delegate.getServerAliases(keyType, issuers);
}
Get the matching aliases for authenticating the server side of a secure
socket, given the public key type and the list of certificate issuer
authorities recognized by the peer (if any). |