Crate ockam_vault_core[−][src]
Core types and traits of the Ockam vault.
This crate contains the core types and traits of the Ockam vault and is intended for use by other crates that either provide implementations for those traits, or use traits and types as an abstract dependency.
Macros
zdrop_impl | Create drop implementation with zeroize call |
Structs
PublicKey | |
Secret | Handle to a cryptographic Secret Individual Vault implementations should map secret handles into implementation-specific Secret representations (e.g. binaries, or HSM references) stored inside Vault (e.g. using HashMap) |
SecretAttributes | Attributes for a specific vault [ |
SecretKey | Binary representation of a [ |
Enums
SecretPersistence | Possible [ |
SecretType | All possible types of [ |
Constants
AES128_SECRET_LENGTH | AES128 private key length |
AES256_SECRET_LENGTH | AES256 private key length |
CURVE25519_PUBLIC_LENGTH | Curve25519 public key length |
CURVE25519_SECRET_LENGTH | Curve25519 private key length |
P256_PUBLIC_LENGTH | P256 public key length |
P256_SECRET_LENGTH | P256 private key length |
Traits
HashVault | A trait for hashing data into fixed length output |
KeyIdVault | Key id related vault functionality |
SecretVault |
|
SignerVault | Signing vault functionality |
VerifierVault | Signature verification vault functionality |
Type Definitions
Buffer | Buffer for large binaries (e.g. encrypted data) |
KeyId | |
PublicKeyVec | Public Key Vector |
SecretKeyVec | Secret Key Vector |
SmallBuffer | Bufer for small vectors (e.g. array of attributes) |