|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.technicalconnector.service.keydepot.impl.KeyDepotManagerImpl
public final class KeyDepotManagerImpl
Implementation of KeyDepotManager
and SessionServiceWithCache
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface be.ehealth.technicalconnector.service.keydepot.KeyDepotManager |
---|
KeyDepotManager.EncryptionTokenType |
Method Summary | |
---|---|
void |
flushCache()
Method to flush the cache after invoking this method. |
EncryptionToken |
getEncryptionETK()
Gets the EncryptionToken linked with the Encryption credential |
EncryptionToken |
getEtk(IdentifierType identifierType,
Long identifierValue,
String application)
|
EncryptionToken |
getETK(IdentifierType identifierType,
Long identifierValue,
String application)
Gets the EncryptionToken based on the input parameters |
EncryptionToken |
getETK(KeyDepotManager.EncryptionTokenType type)
Gets the EncryptionToken linked with the given EncryptionTokenType parameter. |
Set<EncryptionToken> |
getETKs(IdentifierType identifierType,
Long identifierValue,
String application)
Gets the a Set of EncryptionToken based on the input parameters. |
Set<EncryptionToken> |
getEtkSet(IdentifierType identifierType,
Long identifierValue,
String application)
|
EncryptionToken |
getHolderOfKeyETK()
Gets the EncryptionToken linked with the Holder-Of Key credential |
static KeyDepotManager |
getInstance()
Gets the single instance of ETKCacheManager. |
void |
setKeyDepotService(KeyDepotService service)
Method to override the KeyDepotService used by the manager. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static KeyDepotManager getInstance()
public EncryptionToken getHolderOfKeyETK() throws TechnicalConnectorException
KeyDepotManager
EncryptionToken
linked with the Holder-Of Key credential
getHolderOfKeyETK
in interface KeyDepotManager
TechnicalConnectorException
public EncryptionToken getEncryptionETK() throws TechnicalConnectorException
KeyDepotManager
EncryptionToken
linked with the Encryption credential
getEncryptionETK
in interface KeyDepotManager
TechnicalConnectorException
public EncryptionToken getETK(KeyDepotManager.EncryptionTokenType type) throws TechnicalConnectorException
KeyDepotManager
EncryptionToken
linked with the given EncryptionTokenType parameter.
getETK
in interface KeyDepotManager
TechnicalConnectorException
public EncryptionToken getETK(IdentifierType identifierType, Long identifierValue, String application) throws TechnicalConnectorException
KeyDepotManager
EncryptionToken
based on the input parameters
getETK
in interface KeyDepotManager
TechnicalConnectorException
public EncryptionToken getEtk(IdentifierType identifierType, Long identifierValue, String application) throws TechnicalConnectorException
getEtk
in interface KeyDepotManager
TechnicalConnectorException
public Set<EncryptionToken> getETKs(IdentifierType identifierType, Long identifierValue, String application) throws TechnicalConnectorException
KeyDepotManager
Set
of EncryptionToken
based on the input parameters.
getETKs
in interface KeyDepotManager
TechnicalConnectorException
public Set<EncryptionToken> getEtkSet(IdentifierType identifierType, Long identifierValue, String application) throws TechnicalConnectorException
getEtkSet
in interface KeyDepotManager
TechnicalConnectorException
public void setKeyDepotService(KeyDepotService service)
KeyDepotManager
KeyDepotService
used by the manager.
Default: ServiceFactory.getKeyDepotService()
setKeyDepotService
in interface KeyDepotManager
public void flushCache()
SessionServiceWithCache
flushCache
in interface SessionServiceWithCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |