Cumulus4j API
(1.2.0-SNAPSHOT)

Uses of Class
org.cumulus4j.store.crypto.CryptoContext

Packages that use CryptoContext
org.cumulus4j.store Cumulus4j is a plug-in for DataNucleus providing encrypted data-storage. 
org.cumulus4j.store.crypto Crypto API for Cumulus4j (key management + en-/decryption). 
org.cumulus4j.store.crypto.keymanager Implementation of CryptoManager working with a key-manager as shown in Deployment scenarios
org.cumulus4j.store.datastoreversion   
org.cumulus4j.store.fieldmanager Package providing field managers for extracting information from the objects to be persisted so we can pass them on to the backend StoreManager(s), and for taking information from the backend and handing it back to the user by way of their own objects. 
org.cumulus4j.store.model Data model classes used to store data and meta-data in the backend. 
org.cumulus4j.store.query Query implementation for JDO and JPA. 
org.cumulus4j.store.query.eval Evaluators actually doing the query work. 
 

Uses of CryptoContext in org.cumulus4j.store
 

Methods in org.cumulus4j.store with parameters of type CryptoContext
protected abstract  void IndexEntryAction._perform(CryptoContext cryptoContext, IndexEntry indexEntry, long dataEntryID)
           
 ObjectContainer EncryptionHandler.decryptDataEntry(CryptoContext cryptoContext, DataEntry dataEntry)
          Get a plain (unencrypted) ObjectContainer from the encrypted byte-array in the DataEntry.value property.
 IndexValue EncryptionHandler.decryptIndexEntry(CryptoContext cryptoContext, IndexEntry indexEntry)
          Get a plain (unencrypted) IndexValue from the encrypted byte-array in the IndexEntry.indexValue property.
protected  void Cumulus4jPersistenceHandler.deleteObjectIndex(CryptoContext cryptoContext, ClassMeta classMeta, DataEntry dataEntry, FieldMeta fieldMeta, EmbeddedObjectContainer embeddedObjectContainer)
           
protected  void Cumulus4jPersistenceHandler.deleteObjectIndex(CryptoContext cryptoContext, ClassMeta classMeta, DataEntry dataEntry, FieldMeta fieldMeta, Object fieldValue)
           
protected  void Cumulus4jPersistenceHandler.deleteObjectIndex(CryptoContext cryptoContext, ClassMeta classMeta, DataEntry dataEntry, ObjectContainer objectContainer, AbstractClassMetaData dnClassMetaData)
           
 void EncryptionHandler.encryptDataEntry(CryptoContext cryptoContext, DataEntry dataEntry, ObjectContainer objectContainer)
          Encrypt the given plain objectContainer and store the cipher-text into the given dataEntry.
 void EncryptionHandler.encryptIndexEntry(CryptoContext cryptoContext, IndexEntry indexEntry, IndexValue indexValue)
          Encrypt the given plain indexValue and store the cipher-text into the given indexEntry.
static Object ObjectContainerHelper.entityToReference(CryptoContext cryptoContext, PersistenceManager pmData, Object entity)
           
protected abstract  IndexEntry IndexEntryAction.getIndexEntry(IndexEntryFactory indexEntryFactory, CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Object fieldValue)
           
protected abstract  IndexEntry IndexEntryAction.getIndexEntryForObjectRelation(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Long otherDataEntryID)
           
static DataEntry ObjectContainerHelper.getTemporaryReferenceDataEntry(CryptoContext cryptoContext, PersistenceManager pmData, String objectIDString)
           
protected  void Cumulus4jPersistenceHandler.insertObjectIndex(CryptoContext cryptoContext, ClassMeta classMeta, DataEntry dataEntry, FieldMeta fieldMeta, EmbeddedObjectContainer embeddedObjectContainer)
           
protected  void Cumulus4jPersistenceHandler.insertObjectIndex(CryptoContext cryptoContext, ClassMeta classMeta, DataEntry dataEntry, FieldMeta fieldMeta, Object fieldValue)
           
protected  void Cumulus4jPersistenceHandler.insertObjectIndex(ObjectProvider op, CryptoContext cryptoContext, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, ObjectContainer objectContainer, DataEntry dataEntry)
           
 void IndexEntryAction.perform(CryptoContext cryptoContext, long dataEntryID, FieldMeta fieldMeta, AbstractMemberMetaData dnMemberMetaData, ClassMeta classMeta, Object fieldValue)
           
static Long ObjectContainerHelper.referenceToDataEntryID(CryptoContext cryptoContext, PersistenceManager pmData, Object reference)
           
static Object ObjectContainerHelper.referenceToEntity(CryptoContext cryptoContext, PersistenceManager pmData, Object reference)
           
 

Uses of CryptoContext in org.cumulus4j.store.crypto
 

Methods in org.cumulus4j.store.crypto with parameters of type CryptoContext
 Plaintext CryptoSession.decrypt(CryptoContext cryptoContext, Ciphertext ciphertext)
           Decrypt the given ciphertext.
 Ciphertext CryptoSession.encrypt(CryptoContext cryptoContext, Plaintext plaintext)
           Encrypt the given plaintext.
 

Uses of CryptoContext in org.cumulus4j.store.crypto.keymanager
 

Methods in org.cumulus4j.store.crypto.keymanager with parameters of type CryptoContext
 Plaintext KeyManagerCryptoSession.decrypt(CryptoContext cryptoContext, Ciphertext ciphertext)
           
 Ciphertext KeyManagerCryptoSession.encrypt(CryptoContext cryptoContext, Plaintext plaintext)
           Encrypt the given plaintext.
 

Uses of CryptoContext in org.cumulus4j.store.datastoreversion
 

Methods in org.cumulus4j.store.datastoreversion that return CryptoContext
 CryptoContext CommandApplyParam.getCryptoContext()
           
 

Methods in org.cumulus4j.store.datastoreversion with parameters of type CryptoContext
protected  void DatastoreVersionManager.apply(CryptoContext cryptoContext, int keyStoreRefID)
           
 void DatastoreVersionManager.applyOnce(CryptoContext cryptoContext)
           
protected  void DatastoreVersionManager.applyOneCommand(CryptoContext cryptoContext, int keyStoreRefID, PersistenceManager pm, DatastoreVersionDAO datastoreVersionDAO, Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap, DatastoreVersionCommand datastoreVersionCommand)
           
protected  Map<String,DatastoreVersion> DatastoreVersionManager.check(CryptoContext cryptoContext, int keyStoreRefID, PersistenceManager pm, DatastoreVersionDAO datastoreVersionDAO, List<DatastoreVersionCommand> datastoreVersionCommands)
           
protected  Map<String,DatastoreVersion> DatastoreVersionManager.detachDatastoreVersionID2DatastoreVersionMap(CryptoContext cryptoContext, PersistenceManager pm, Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap)
           
protected  boolean DatastoreVersionManager.isDatastoreVersionCommandEnabled(CryptoContext cryptoContext, DatastoreVersionCommand datastoreVersionCommand)
           
 

Constructors in org.cumulus4j.store.datastoreversion with parameters of type CryptoContext
CommandApplyParam(Cumulus4jStoreManager storeManager, CryptoContext cryptoContext, PersistenceManager persistenceManager, DatastoreVersion datastoreVersion, Properties workInProgressStateProperties)
           
 

Uses of CryptoContext in org.cumulus4j.store.fieldmanager
 

Constructors in org.cumulus4j.store.fieldmanager with parameters of type CryptoContext
FetchFieldManager(ObjectProvider op, CryptoContext cryptoContext, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, ObjectContainer objectContainer)
           
StoreFieldManager(ObjectProvider op, CryptoContext cryptoContext, PersistenceManager pmData, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, int keyStoreRefID, ObjectContainer objectContainer)
           
 

Uses of CryptoContext in org.cumulus4j.store.model
 

Methods in org.cumulus4j.store.model with parameters of type CryptoContext
static IndexEntry IndexEntryObjectRelationHelper.createIndexEntry(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Long indexedDataEntryID)
          Get an existing IndexEntry or create it, if it does not yet exist.
 IndexEntry IndexEntryFactory.createIndexEntry(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Object indexKey)
          Get an existing IndexEntry just like IndexEntryFactory.getIndexEntry(CryptoContext, PersistenceManager, FieldMeta, ClassMeta, Object) or create one, if it does not yet exist.
static List<IndexEntry> IndexEntryObjectRelationHelper.getIndexEntries(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, List<ClassMeta> classMetas, Long indexedDataEntryID)
           
 List<IndexEntry> IndexEntryFactory.getIndexEntries(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, List<ClassMeta> classMetas, Object indexKey)
           
static List<IndexEntry> IndexEntryObjectRelationHelper.getIndexEntriesIncludingSubClasses(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Long indexedDataEntryID)
           
 List<IndexEntry> IndexEntryFactory.getIndexEntriesIncludingSubClasses(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Object indexKey)
           
static IndexEntry IndexEntryObjectRelationHelper.getIndexEntry(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Long indexedDataEntryID)
          Get an existing IndexEntry or null, if it does not exist.
 IndexEntry IndexEntryFactory.getIndexEntry(CryptoContext cryptoContext, PersistenceManager pmIndex, FieldMeta fieldMeta, ClassMeta classMeta, Object indexKey)
          Get an IndexEntry for the specified unique key fields or null, if no such instance exists.
 

Uses of CryptoContext in org.cumulus4j.store.query
 

Methods in org.cumulus4j.store.query that return CryptoContext
 CryptoContext QueryEvaluator.getCryptoContext()
           
 

Methods in org.cumulus4j.store.query with parameters of type CryptoContext
static Set<Long> QueryHelper.getAllDataEntryIdsForCandidate(CryptoContext cryptoContext, PersistenceManager pmData, Class<?> candidateCls, boolean subclasses)
          Access the data entry ids for a candidate.
static List<Object> QueryHelper.getAllPersistentObjectsForCandidateClasses(CryptoContext cryptoContext, PersistenceManager pmData, Set<ClassMeta> candidateClassMetas)
          Convenience method to return the persistent objects for the classes with the provided ClassMetas.
 

Constructors in org.cumulus4j.store.query with parameters of type CryptoContext
JDOQueryEvaluator(Query query, QueryCompilation compilation, Map<String,Object> parameterValues, ClassLoaderResolver clr, PersistenceManagerConnection pmConn, CryptoContext cryptoContext)
           
JPAQueryEvaluator(Query query, QueryCompilation compilation, Map<String,Object> parameterValues, ClassLoaderResolver clr, PersistenceManagerConnection pmConn, CryptoContext cryptoContext)
           
QueryEvaluator(String language, Query query, QueryCompilation compilation, Map<String,Object> parameterValues, ClassLoaderResolver clr, PersistenceManagerConnection pmConn, CryptoContext cryptoContext)
           
 

Uses of CryptoContext in org.cumulus4j.store.query.eval
 

Fields in org.cumulus4j.store.query.eval declared as CryptoContext
protected  CryptoContext PrimaryExpressionResolver.cryptoContext
           
 


Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.