public class BeIDManagerFactoryParameters extends Object implements ManagerFactoryParameters
ManagerFactoryParameters
. Can be used
to tweak the behavior of the eID handling in the context of mutual SSL.
Usage:
import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; ... KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("BeID"); BeIDManagerFactoryParameters specs = new BeIDManagerFactoryParameters(); specs.set... keyMannagerFactory.init(specs); SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init(keyManagerFactory.getKeyManagers(), ..., ...);
BeIDKeyManagerFactory
Constructor and Description |
---|
BeIDManagerFactoryParameters()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoRecovery() |
boolean |
getCardReaderStickiness() |
Locale |
getLocale() |
Component |
getParentComponent() |
void |
setAutoRecovery(boolean autoRecovery)
Sets whether the private keys retrieved from the key store should feature
auto-recovery.
|
void |
setCardReaderStickiness(boolean cardReaderStickiness)
Sets whether the auto recovery should use card reader stickiness.
|
void |
setLocale(Locale locale)
Sets the locale used for the default eID dialogs.
|
void |
setParentComponent(Component parentComponent)
Sets the parent component used to position the default eID dialogs.
|
public BeIDManagerFactoryParameters()
public void setParentComponent(Component parentComponent)
parentComponent
- public Component getParentComponent()
public void setLocale(Locale locale)
locale
- public Locale getLocale()
public void setAutoRecovery(boolean autoRecovery)
autoRecovery
- public boolean getAutoRecovery()
public boolean getCardReaderStickiness()
public void setCardReaderStickiness(boolean cardReaderStickiness)
cardReaderStickiness
- Copyright © 2012–2024 e-Contract.be BV. All rights reserved.