Package com.wolfssl.provider.jsse
Class WolfSSLKeyX509
- java.lang.Object
-
- com.wolfssl.provider.jsse.WolfSSLKeyX509
-
- All Implemented Interfaces:
javax.net.ssl.KeyManager
,javax.net.ssl.X509KeyManager
public class WolfSSLKeyX509 extends java.lang.Object implements javax.net.ssl.X509KeyManager
wolfSSL implementation of X509KeyManager- Author:
- wolfSSL
-
-
Constructor Summary
Constructors Constructor Description WolfSSLKeyX509(java.security.KeyStore in, char[] password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
chooseClientAlias(java.lang.String[] type, java.security.Principal[] issuers, java.net.Socket sock)
java.lang.String
chooseServerAlias(java.lang.String type, java.security.Principal[] issuers, java.net.Socket sock)
java.security.cert.X509Certificate[]
getCertificateChain(java.lang.String alias)
java.lang.String[]
getClientAliases(java.lang.String type, java.security.Principal[] issuers)
java.security.PrivateKey
getPrivateKey(java.lang.String alias)
java.lang.String[]
getServerAliases(java.lang.String type, java.security.Principal[] issuers)
-
-
-
Method Detail
-
getClientAliases
public java.lang.String[] getClientAliases(java.lang.String type, java.security.Principal[] issuers)
- Specified by:
getClientAliases
in interfacejavax.net.ssl.X509KeyManager
-
chooseClientAlias
public java.lang.String chooseClientAlias(java.lang.String[] type, java.security.Principal[] issuers, java.net.Socket sock)
- Specified by:
chooseClientAlias
in interfacejavax.net.ssl.X509KeyManager
-
getServerAliases
public java.lang.String[] getServerAliases(java.lang.String type, java.security.Principal[] issuers)
- Specified by:
getServerAliases
in interfacejavax.net.ssl.X509KeyManager
-
chooseServerAlias
public java.lang.String chooseServerAlias(java.lang.String type, java.security.Principal[] issuers, java.net.Socket sock)
- Specified by:
chooseServerAlias
in interfacejavax.net.ssl.X509KeyManager
-
getCertificateChain
public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String alias)
- Specified by:
getCertificateChain
in interfacejavax.net.ssl.X509KeyManager
-
getPrivateKey
public java.security.PrivateKey getPrivateKey(java.lang.String alias)
- Specified by:
getPrivateKey
in interfacejavax.net.ssl.X509KeyManager
-
-