Re-exports§
- pub use cipherstash_config;
Modules§
- testing
- Implementations of Dummyfor various types in thezerokms-protocolcrate.
Structs§
- CreateClient Request 
- Request message to create a new client with the given name, description and dataset_id.
- CreateClient Response 
- Response message to a CreateClientRequest.
- CreateDataset 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.
- DatasetClient 
- Response type for a ListClientRequest.
- DeleteClient Request 
- Request message to delete a client and all associated authority keys.
- DeleteClient Response 
- DisableDataset Request 
- Request message to disable a dataset.
Requires the dataset:disablescope. Response is an EmptyResponse.
- EmptyResponse 
- Represents an empty response for requests that don’t return any data.
- EnableDataset Request 
- Request message to enable a dataset that has was previously disabled.
Requires the dataset:enablescope. Response is an EmptyResponse.
- GenerateKeyRequest 
- A request message to generate a data key made on behalf of a client in the given dataset.
- GenerateKeyResponse 
- Response to a GenerateKeyRequest.
- GenerateKeySpec 
- A specification for generating a data key used in a GenerateKeyRequest.
- GeneratedKey 
- Represents generated data key material which is used by the client to derive data keys with its own key material.
- GrantDataset Request 
- Request message to grant a client access to a dataset.
Requires the dataset:grantscope.
- KeyId
- ListClient Request 
- Request message to list all clients.
- ListDataset Request 
- Request message to list all Datasets.
- LoadDataset 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.
- LoadDataset 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.
- ModifyDataset Request 
- Request message to modify a dataset with the given dataset_id.
nameanddescriptionare optional and will be updated if provided.
- RetrieveKeyRequest 
- Request to retrieve a data key on behalf of a client in the given dataset.
Requires the data_key:retrievescope. Response is a RetrieveKeyResponse.
- RetrieveKeyRequest Fallible 
- Request to retrieve a data key on behalf of a client in the given dataset.
Requires the data_key:retrievescope. Response is a RetrieveKeyResponse.
- RetrieveKeyResponse 
- Response to a RetrieveKeyRequest. Contains a list of RetrievedKeys.
- RetrieveKeyResponse Fallible 
- Response to a RetrieveKeyRequest with per-key error handling
- RetrieveKeySpec 
- A specification for retrieving a data key used in a RetrieveKeyRequest.
- RetrievedKey 
- Returned type from a RetrieveKeyRequest.
- RevokeDataset Request 
- Request message to revoke a client’s access to a dataset.
Requires the dataset:revokescope. Response is an EmptyResponse.
- ViturKeyMaterial 
- Key material type used in GenerateKeyRequest and RetrieveKeyRequest as well as CreateClientResponse.
- ViturRequest Error 
- Re-exports
Enums§
- ClientDataset 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.
- ViturRequest Error Kind 
- Re-exports