org.cumulus4j.store
Class DummyCryptoManager
java.lang.Object
  
org.cumulus4j.store.crypto.AbstractCryptoManager
      
org.cumulus4j.store.DummyCryptoManager
- All Implemented Interfaces: 
 - CryptoManager
 
public class DummyCryptoManager
- extends AbstractCryptoManager
 
Dummy crypto-manager for debugging and testing.
- 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 | 
 
KEY_STORE_ID_COMPATIBILITY_TEST
public static final String KEY_STORE_ID_COMPATIBILITY_TEST
- See Also:
 - Constant Field Values
 
DummyCryptoManager
public DummyCryptoManager()
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. 
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.