org.cumulus4j.store.crypto.keymanager
Class KeyManagerCryptoManager
java.lang.Object
org.cumulus4j.store.crypto.AbstractCryptoManager
org.cumulus4j.store.crypto.keymanager.KeyManagerCryptoManager
- All Implemented Interfaces:
- CryptoManager
public class KeyManagerCryptoManager
- extends AbstractCryptoManager
Implementation of CryptoManager
working with a
key-manager as shown in Deployment scenarios.
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
Methods inherited from class org.cumulus4j.store.crypto.AbstractCryptoManager |
closeExpiredCryptoSessions, getCryptoManagerID, getCryptoManagerRegistry, getCryptoSession, getCryptoSessionExpiryAge, getCryptoSessionExpiryTimerEnabled, getCryptoSessionExpiryTimerPeriod, getEncryptionAlgorithm, getMACAlgorithm, onCloseCryptoSession, setCryptoManagerID, setCryptoManagerRegistry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyManagerCryptoManager
public KeyManagerCryptoManager()
createCryptoSession
protected CryptoSession createCryptoSession()
- Description copied from class:
AbstractCryptoManager
Create a new instance of a class implementing CryptoSession
.
This method is called by AbstractCryptoManager.getCryptoSession(String)
, if it needs a new CryptoSession
instance.
Implementors should simply instantiate and return their implementation of
CryptoSession
. It is not necessary to call CryptoSession.setCryptoSessionID(String)
and the like here - this is automatically done afterwards by AbstractCryptoManager.getCryptoSession(String)
.
- Specified by:
createCryptoSession
in class AbstractCryptoManager
- Returns:
- the new
CryptoSession
instance.
getCryptoCache
public CryptoCache getCryptoCache()
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.