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.
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() |
| 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 void setParentComponent(Component parentComponent)
public Component getParentComponent()
public void setLocale(Locale locale)
public Locale getLocale()
public void setAutoRecovery(boolean autoRecovery)
public boolean getAutoRecovery()
public boolean getCardReaderStickiness()
public void setCardReaderStickiness(boolean cardReaderStickiness)
Copyright © 2012–2019 BOSA. All rights reserved.