public class CurlX509KeyManager
extends java.lang.Object
implements javax.net.ssl.X509KeyManager
Constructor and Description |
---|
CurlX509KeyManager(javax.net.ssl.X509KeyManager keyManager,
java.lang.String clientAlias) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
chooseClientAlias(java.lang.String[] keyType,
java.security.Principal[] issuers,
java.net.Socket socket) |
java.lang.String |
chooseServerAlias(java.lang.String keyType,
java.security.Principal[] issuers,
java.net.Socket socket) |
java.security.cert.X509Certificate[] |
getCertificateChain(java.lang.String alias) |
java.lang.String[] |
getClientAliases(java.lang.String keyType,
java.security.Principal[] issuers) |
java.security.PrivateKey |
getPrivateKey(java.lang.String alias) |
java.lang.String[] |
getServerAliases(java.lang.String keyType,
java.security.Principal[] issuers) |
public CurlX509KeyManager(javax.net.ssl.X509KeyManager keyManager, java.lang.String clientAlias)
public java.lang.String chooseClientAlias(java.lang.String[] keyType, java.security.Principal[] issuers, java.net.Socket socket)
chooseClientAlias
in interface javax.net.ssl.X509KeyManager
public java.lang.String chooseServerAlias(java.lang.String keyType, java.security.Principal[] issuers, java.net.Socket socket)
chooseServerAlias
in interface javax.net.ssl.X509KeyManager
public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String alias)
getCertificateChain
in interface javax.net.ssl.X509KeyManager
public java.lang.String[] getClientAliases(java.lang.String keyType, java.security.Principal[] issuers)
getClientAliases
in interface javax.net.ssl.X509KeyManager
public java.security.PrivateKey getPrivateKey(java.lang.String alias)
getPrivateKey
in interface javax.net.ssl.X509KeyManager
public java.lang.String[] getServerAliases(java.lang.String keyType, java.security.Principal[] issuers)
getServerAliases
in interface javax.net.ssl.X509KeyManager