Methods Summary |
---|
public java.lang.String | chooseClientAlias(java.lang.String[] keyType, java.security.Principal[] issuers, java.net.Socket 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).
return delegate.chooseClientAlias(keyType, issuers, socket);
|
public java.lang.String | chooseEngineClientAlias(java.lang.String[] keyType, java.security.Principal[] issuers, javax.net.ssl.SSLEngine engine)Choose an alias to authenticate the client side of an SSLEngine connection
given the public key type and the list of certificate issuer authorities
recognized by the peer (if any).
return delegate.chooseClientAlias(keyType,issuers,null);
|
public java.lang.String | chooseEngineServerAlias(java.lang.String keyType, java.security.Principal[] issuers, javax.net.ssl.SSLEngine engine)Choose an alias to authenticate the server side of an SSLEngine connection
given the public key type and the list of certificate issuer authorities
recognized by the peer (if any).
return serverKeyAlias;
|
public java.lang.String | chooseServerAlias(java.lang.String keyType, java.security.Principal[] issuers, java.net.Socket socket)Returns this key manager's server key alias that was provided in the
constructor.
return serverKeyAlias;
|
public java.security.cert.X509Certificate[] | getCertificateChain(java.lang.String alias)Returns the certificate chain associated with the given alias.
return delegate.getCertificateChain(alias);
|
public java.lang.String[] | getClientAliases(java.lang.String keyType, java.security.Principal[] 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).
return delegate.getClientAliases(keyType, issuers);
|
public java.security.PrivateKey | getPrivateKey(java.lang.String alias)Returns the key associated with the given alias.
return delegate.getPrivateKey(alias);
|
public java.lang.String[] | getServerAliases(java.lang.String keyType, java.security.Principal[] 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).
return delegate.getServerAliases(keyType, issuers);
|