CoreDb handles the storage, retrieval, and deletion of cryptographic keys (GKey entities) within the underlying database.
ICoreDb
The CoreDBCon instance that this CoreDb wraps.
initPrefabDB
Generates a seed and a unique identifier, then stores them in the configuration. This method is called to initialize the prefab database.
deleteKey
The identifier of the GKey to delete.
Removes the GKey identified by e_id from the database.
e_id
getKey
The identifier of the GKey to retrieve.
Retrieves a GKey object by its identifier. Returns null if no matching key is found.
null
setKey
The secret key value.
The initialization vector.
The authentication data.
Creates a new GKey entry with the provided parameters and returns the newly generated identifier.
Protected
Create new Entity object
Delete Entity objects by ID
Delete Entity object by ID
Get Entity object list
Get Entity objects by ID
Get Entity object by ID
Init Entity object list
Update Entity objects
Update Entity object
CoreDb handles the storage, retrieval, and deletion of cryptographic keys (GKey entities) within the underlying database.
Implements
ICoreDb
Param: db
The CoreDBCon instance that this CoreDb wraps.
Method
initPrefabDB
Returns
Description
Generates a seed and a unique identifier, then stores them in the configuration. This method is called to initialize the prefab database.
Method
deleteKey
Param: e_id
The identifier of the GKey to delete.
Returns
Description
Removes the GKey identified by
e_idfrom the database.Method
getKey
Param: e_id
The identifier of the GKey to retrieve.
Returns
Description
Retrieves a GKey object by its identifier. Returns
nullif no matching key is found.Method
setKey
Param: secret
The secret key value.
Param: iv
The initialization vector.
Param: auth
The authentication data.
Returns
Description
Creates a new GKey entry with the provided parameters and returns the newly generated identifier.