|
||||||||||
| 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)
Gets the EncryptionToken based on the input parameters |
EncryptionToken |
getETK(KeyDepotManager.EncryptionTokenType type)
Gets the EncryptionToken linked with the given EncryptionTokenType parameter. |
Set<EncryptionToken> |
getEtkSet(IdentifierType identifierType,
Long identifierValue,
String application)
Gets the a Set of EncryptionToken based on the input parameters. |
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
KeyDepotManagerEncryptionToken linked with the Holder-Of Key credential
getHolderOfKeyETK in interface KeyDepotManagerTechnicalConnectorException
public EncryptionToken getEncryptionETK()
throws TechnicalConnectorException
KeyDepotManagerEncryptionToken linked with the Encryption credential
getEncryptionETK in interface KeyDepotManagerTechnicalConnectorException
public EncryptionToken getETK(KeyDepotManager.EncryptionTokenType type)
throws TechnicalConnectorException
KeyDepotManagerEncryptionToken linked with the given EncryptionTokenType parameter.
getETK in interface KeyDepotManagerTechnicalConnectorException
public EncryptionToken getEtk(IdentifierType identifierType,
Long identifierValue,
String application)
throws TechnicalConnectorException
KeyDepotManagerEncryptionToken based on the input parameters
getEtk in interface KeyDepotManagerTechnicalConnectorException
public Set<EncryptionToken> getEtkSet(IdentifierType identifierType,
Long identifierValue,
String application)
throws TechnicalConnectorException
KeyDepotManagerSet of EncryptionToken based on the input parameters.
getEtkSet in interface KeyDepotManagerTechnicalConnectorExceptionpublic void setKeyDepotService(KeyDepotService service)
KeyDepotManagerKeyDepotService used by the manager.
Default: ServiceFactory.getKeyDepotService()
setKeyDepotService in interface KeyDepotManagerpublic void flushCache()
SessionServiceWithCache
flushCache in interface SessionServiceWithCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||