|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.crypto.CryptoContext
public class CryptoContext
Context for encryption and decryption.
Constructor Summary | |
---|---|
CryptoContext(EncryptionCoordinateSetManager encryptionCoordinateSetManager,
KeyStoreRefManager keyStoreRefManager,
ExecutionContext executionContext,
PersistenceManagerConnection persistenceManagerConnection)
Create a new context. |
Method Summary | |
---|---|
CryptoSession |
getCryptoSession()
|
EncryptionCoordinateSetManager |
getEncryptionCoordinateSetManager()
Get the EncryptionCoordinateSetManager to be used in this context; never null . |
ExecutionContext |
getExecutionContext()
Get the ExecutionContext to be used in this context; never null . |
int |
getKeyStoreRefID()
|
KeyStoreRefManager |
getKeyStoreRefManager()
|
PersistenceManagerConnection |
getPersistenceManagerConnection()
Get the PersistenceManagerConnection to be used in this context; never null . |
PersistenceManager |
getPersistenceManagerForData()
Convenience method synonymous to PersistenceManagerConnection.getDataPM() . |
PersistenceManager |
getPersistenceManagerForIndex()
Convenience method synonymous to PersistenceManagerConnection.getIndexPM() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CryptoContext(EncryptionCoordinateSetManager encryptionCoordinateSetManager, KeyStoreRefManager keyStoreRefManager, ExecutionContext executionContext, PersistenceManagerConnection persistenceManagerConnection)
encryptionCoordinateSetManager
- the EncryptionCoordinateSetManager
to be used in this context; must not be null
.keyStoreRefManager
- the KeyStoreRefManager
to be used in this context; must not be null
.executionContext
- the ExecutionContext
to be used in this context; must not be null
.persistenceManagerConnection
- the PersistenceManagerConnection
to be used in this context; must not be null
.Method Detail |
---|
public KeyStoreRefManager getKeyStoreRefManager()
public EncryptionCoordinateSetManager getEncryptionCoordinateSetManager()
EncryptionCoordinateSetManager
to be used in this context; never null
.
EncryptionCoordinateSetManager
to be used in this context; never null
.public ExecutionContext getExecutionContext()
ExecutionContext
to be used in this context; never null
.
ExecutionContext
to be used in this context; never null
.public PersistenceManagerConnection getPersistenceManagerConnection()
PersistenceManagerConnection
to be used in this context; never null
.
PersistenceManagerConnection
to be used in this context; never null
.public PersistenceManager getPersistenceManagerForData()
PersistenceManagerConnection.getDataPM()
.
public PersistenceManager getPersistenceManagerForIndex()
PersistenceManagerConnection.getIndexPM()
.
getPersistenceManagerForData()
.public CryptoSession getCryptoSession()
public int getKeyStoreRefID()
|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |