|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.crypto.AbstractCryptoManager org.cumulus4j.store.DummyCryptoManager
public class DummyCryptoManager
Dummy crypto-manager for debugging and testing.
Field Summary |
---|
Fields inherited from interface org.cumulus4j.store.crypto.CryptoManager |
---|
MAC_ALGORITHM_NONE, PROPERTY_CRYPTO_MANAGER_ID, PROPERTY_CRYPTO_SESSION_EXPIRY_AGE, PROPERTY_CRYPTO_SESSION_EXPIRY_TIMER_ENABLED, PROPERTY_CRYPTO_SESSION_EXPIRY_TIMER_PERIOD, PROPERTY_ENCRYPTION_ALGORITHM, PROPERTY_MAC_ALGORITHM |
Constructor Summary | |
---|---|
DummyCryptoManager()
|
Method Summary | |
---|---|
protected CryptoSession |
createCryptoSession()
Create a new instance of a class implementing CryptoSession . |
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 |
Constructor Detail |
---|
public DummyCryptoManager()
Method Detail |
---|
protected CryptoSession createCryptoSession()
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)
.
createCryptoSession
in class AbstractCryptoManager
CryptoSession
instance.
|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |