| java.lang.Object javax.net.ssl.X509ExtendedKeyManager org.apache.harmony.xnet.provider.jsse.KeyManagerImpl
KeyManagerImpl | public class KeyManagerImpl extends X509ExtendedKeyManager (Code) | | KeyManager implementation.
This implementation uses hashed key store information.
It works faster than retrieving all of the data from the key store.
Any key store changes, that happen after key manager was created, have no effect.
The implementation does not use peer information (host, port)
that may be obtained from socket or engine.
See Also: javax.net.ssl.KeyManager |
Method Summary | |
public String | chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) | public String | chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) | public String | chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) | public String | chooseServerAlias(String keyType, Principal[] issuers, Socket socket) | public X509Certificate[] | getCertificateChain(String alias) | public String[] | getClientAliases(String keyType, Principal[] issuers) | public PrivateKey | getPrivateKey(String alias) | public String[] | getServerAliases(String keyType, Principal[] issuers) |
KeyManagerImpl | public KeyManagerImpl(KeyStore keyStore, char[] pwd)(Code) | | Creates Key manager
Parameters: keyStore - Parameters: pwd - |
chooseClientAlias | public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.chooseClientAlias(String[] See Also: keyType, Principal[] issuers, Socket socket) |
chooseEngineClientAlias | public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.chooseEngineClientAlias(String[] See Also: keyType, Principal[] issuers, SSLEngine engine) |
chooseEngineServerAlias | public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.chooseEngineServerAlias(String See Also: keyType, Principal[] issuers, SSLEngine engine) |
chooseServerAlias | public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.chooseServerAlias(String See Also: keyType, Principal[] issuers, Socket socket) |
getCertificateChain | public X509Certificate[] getCertificateChain(String alias)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.getCertificateChain(String See Also: alias) |
getClientAliases | public String[] getClientAliases(String keyType, Principal[] issuers)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.getClientAliases(String See Also: keyType, Principal[] issuers) |
getPrivateKey | public PrivateKey getPrivateKey(String alias)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.getPrivateKey(String alias) |
getServerAliases | public String[] getServerAliases(String keyType, Principal[] issuers)(Code) | | See Also: javax.net.ssl.X509ExtendedKeyManager.getServerAliases(String See Also: keyType, Principal[] issuers) |
|
|