public class BeIDKeyManagerFactory extends KeyManagerFactorySpi
KeyManagerFactory
. Can be used for mutual TLS
authentication.
Usage:
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 KeyManager[] engineGetKeyManagers()
engineGetKeyManagers
in class KeyManagerFactorySpi
protected void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
engineInit
in class KeyManagerFactorySpi
InvalidAlgorithmParameterException
protected void engineInit(KeyStore keyStore, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
engineInit
in class KeyManagerFactorySpi
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException
Copyright © 2012–2024 e-Contract.be BV. All rights reserved.