public class BeIDKeyManagerFactory extends KeyManagerFactorySpi
KeyManagerFactory. Can be used for mutual TLS
authentication.
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLContext;
...
KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("BeID");
SSLContext sslContext = SSLContext.getInstance("TLS");
sslContext.init(keyManagerFactory.getKeyManagers(), ..., ...);
BeIDX509KeyManager,
BeIDManagerFactoryParameters| Constructor and Description |
|---|
BeIDKeyManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected KeyManager[] |
engineGetKeyManagers() |
protected void |
engineInit(KeyStore keyStore,
char[] password) |
protected void |
engineInit(ManagerFactoryParameters spec) |
protected void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
engineInit in class KeyManagerFactorySpiInvalidAlgorithmParameterExceptionprotected void engineInit(KeyStore keyStore, char[] password)
engineInit in class KeyManagerFactorySpiprotected KeyManager[] engineGetKeyManagers()
engineGetKeyManagers in class KeyManagerFactorySpiCopyright © 2012–2019 BOSA. All rights reserved.