Crate diem_secure_storage

Crate diem_secure_storage 

Source

Structs§

GetResponse
A container for a get response that contains relevant metadata and the value stored at the given key.
OnDiskStorage
A key-value store persisted to a single JSON file.
PublicKeyResponse

Enums§

Error

Traits§

CryptoKVStorage
CryptoKVStorage offers a CryptoStorage implementation by extending a key value store (KVStorage) to create and manage cryptographic keys. This is useful for providing a simple CryptoStorage implementation based upon an existing KVStorage engine (e.g. for test purposes).
CryptoStorage
CryptoStorage provides an abstraction for secure generation and handling of cryptographic keys.
KVStorage
A secure key/value storage engine. Create takes a policy that is enforced internally by the actual backend. The policy contains public identities that the backend can translate into a unique and private token for another service. Hence get and set internally will pass the current service private token to the backend to gain its permissions.

Functions§

from_base64
to_base64