Re-exports§
pub use cipherstash_config;
Modules§
- testing
- Implementations of
Dummy
for various types in thezerokms-protocol
crate.
Structs§
- Create
Client Request - Request message to create a new client with the given name, description and dataset_id.
- Create
Client Response - Response message to a CreateClientRequest.
- Create
Dataset Request - Request message to create a new Dataset with the given name and description.
- Dataset
- Struct representing a dataset. This is the response to a CreateDatasetRequest and a in a vector in the response to a ListDatasetRequest.
- Dataset
Client - Response type for a ListClientRequest.
- Delete
Client Request - Request message to delete a client and all associated authority keys.
- Delete
Client Response - Disable
Dataset Request - Request message to disable a dataset.
Requires the
dataset:disable
scope. Response is an EmptyResponse. - Empty
Response - Represents an empty response for requests that don’t return any data.
- Enable
Dataset Request - Request message to enable a dataset that has was previously disabled.
Requires the
dataset:enable
scope. Response is an EmptyResponse. - Generate
KeyRequest - A request message to generate a data key made on behalf of a client in the given dataset.
- Generate
KeyResponse - Response to a GenerateKeyRequest.
- Generate
KeySpec - A specification for generating a data key used in a GenerateKeyRequest.
- Generated
Key - Represents generated data key material which is used by the client to derive data keys with its own key material.
- Grant
Dataset Request - Request message to grant a client access to a dataset.
Requires the
dataset:grant
scope. - List
Client Request - Request message to list all clients.
- List
Dataset Request - Request message to list all Datasets.
- Load
Dataset Request - Request to load a dataset on behalf of a client. This is used by clients before indexing or querying data and includes key material which can be derived by the client to generate encrypted index terms.
- Load
Dataset Response - Response to a LoadDatasetRequest. The response includes the key material required to derive data keys. It is analogous to a RetrieveKeyResponse but where the server generated the key.
- Modify
Dataset Request - Request message to modify a dataset with the given dataset_id.
name
anddescription
are optional and will be updated if provided. - Retrieve
KeyRequest - Request to retrieve a data key on behalf of a client in the given dataset.
Requires the
data_key:retrieve
scope. Response is a RetrieveKeyResponse. - Retrieve
KeyResponse - Response to a RetrieveKeyRequest. Contains a list of RetrievedKeys.
- Retrieve
KeySpec - A specification for retrieving a data key used in a RetrieveKeyRequest.
- Retrieved
Key - Returned type from a RetrieveKeyRequest.
- Revoke
Dataset Request - Request message to revoke a client’s access to a dataset.
Requires the
dataset:revoke
scope. Response is an EmptyResponse. - Vitur
KeyMaterial - Key material type used in GenerateKeyRequest and RetrieveKeyRequest as well as CreateClientResponse.
- Vitur
Request Error - Re-exports
Enums§
- Client
Dataset Id - Struct representing the dataset ids associated with a client which could be a single dataset or multiple datasets.
- Context
- Represents a contextual attribute for a data key which is used to “lock” the key to a specific context. Context attributes are included key tag generation which is in turn used as AAD in the final encryption step in the client. Context attributes should never include any sensitive information.
- Vitur
Request Error Kind - Re-exports