public class BeIDKeyStoreParameter extends Object implements KeyStore.LoadStoreParameter
KeyStore
parameter. Used to influence how the eID
card should be handled. If no BeIDKeyStoreParameter
is used for
loading the keystore, a default behavior will be used.
Usage:
import java.security.KeyStore; ... KeyStore keyStore = KeyStore.getInstance("BeID"); BeIDKeyStoreParameter keyStoreParameter = new BeIDKeyStoreParameter(); keyStoreParameter.set... keyStore.load(keyStoreParameter);
KeyStore
,
BeIDKeyStore
Constructor and Description |
---|
BeIDKeyStoreParameter() |
Modifier and Type | Method and Description |
---|---|
void |
addPPDUName(String ppduName)
Adds a name of a card terminal on which we should use the PPDU interface.
|
String |
getApplicationName() |
boolean |
getAutoRecovery() |
be.fedict.commons.eid.client.BeIDCard |
getBeIDCard() |
boolean |
getCardReaderStickiness() |
Locale |
getLocale() |
be.fedict.commons.eid.client.spi.Logger |
getLogger() |
boolean |
getLogoff() |
Component |
getParentComponent() |
KeyStore.ProtectionParameter |
getProtectionParameter() |
boolean |
isAllowFailingLogoff() |
void |
setAllowFailingLogoff(boolean allowFailingLogoff)
Set to
true if you allow the eID logoff instruction to fail. |
void |
setApplicationName(String applicationName)
Sets the application name.
|
void |
setAutoRecovery(boolean autoRecovery)
Sets whether the private keys retrieved from the key store should feature
auto-recovery.
|
void |
setBeIDCard(be.fedict.commons.eid.client.BeIDCard beIDCard)
Sets the
BeIDCard to be used by the corresponding
KeyStore . |
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 |
setLogger(be.fedict.commons.eid.client.spi.Logger logger)
Sets the logger to be used within the BeIDCard sub-system.
|
void |
setLogoff(boolean logoff)
Set to
true if you want an eID logoff to be issued after
each PIN entry. |
void |
setParentComponent(Component parentComponent)
Sets the parent component used to position the default eID dialogs.
|
public KeyStore.ProtectionParameter getProtectionParameter()
getProtectionParameter
in interface KeyStore.LoadStoreParameter
public void setBeIDCard(be.fedict.commons.eid.client.BeIDCard beIDCard)
BeIDCard
to be used by the corresponding
KeyStore
.beIDCard
- public be.fedict.commons.eid.client.BeIDCard getBeIDCard()
public void setLogoff(boolean logoff)
true
if you want an eID logoff to be issued after
each PIN entry.logoff
- public boolean getLogoff()
public boolean isAllowFailingLogoff()
public void setAllowFailingLogoff(boolean allowFailingLogoff)
true
if you allow the eID logoff instruction to fail.allowFailingLogoff
- public void setParentComponent(Component parentComponent)
parentComponent
- public Component getParentComponent()
public void setLocale(Locale locale)
locale
- public Locale getLocale()
public boolean getAutoRecovery()
public void setAutoRecovery(boolean autoRecovery)
autoRecovery
- public boolean getCardReaderStickiness()
public void setCardReaderStickiness(boolean cardReaderStickiness)
cardReaderStickiness
- public void setLogger(be.fedict.commons.eid.client.spi.Logger logger)
logger
- public be.fedict.commons.eid.client.spi.Logger getLogger()
public void addPPDUName(String ppduName)
ppduName
- the card name terminal (or a fraction of it).public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName
- the optional application name.Copyright © 2012–2024 e-Contract.be BV. All rights reserved.