Module ockam::vault

source · []
Expand description

Types and traits relating to ockam vaults.

Modules

Various functions to help with testing implementations of the traits in ockam_core::vault.

Structs

A public key

A public key.

A Handle to a cryptographic Secret.

Attributes for a specific vault.

Binary representation of a Secret.

Binary representation of Signature.

Vault implementation that stores secrets in memory and uses software crypto.

Enums

All possible SecretKey persistence types

All possible SecretTypes

Constants

AES128 private key length.

AES256 private key length.

Curve25519 public key length.

Curve25519 private key length.

Traits

Defines the Vault interface for asymmetric encryption.

A trait for hashing input data into a fixed length output.

Defines the KeyId interface for Ockam vaults.

Defines the Secret management interface for Ockam Vaults.

Defines the Vault interface for Signing.

Defines the Vault interface for symmetric encryption.

Defines the Vault interface for Signature verification.

Type Definitions

Buffer for large binaries. (e.g. encrypted data)

ID of a Key.

Public Key Vector.

Secret Key Vector.

Signature Vector.

Buffer for small vectors. (e.g. an array of attributes)