Crate ockam_vault_core[−][src]
Expand description
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 | A public key |
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 Secret. |
Enums
SecretPersistence | Possible |
SecretType | All possible |
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
AsymmetricVault | Vault with asymmetric encryption functionality |
Hasher | A trait for hashing data into fixed length output |
KeyIdVault | Key id related vault functionality |
SecretVault |
|
Signer | Signing functionality |
SymmetricVault | Trait with symmetric encryption |
Verifier | Signature verification functionality |
Type Definitions
Buffer | Buffer for large binaries (e.g. encrypted data) |
KeyId | ID of a Key |
PublicKeyVec | Public Key Vector |
SecretKeyVec | Secret Key Vector |
SmallBuffer | Buffer for small vectors (e.g. array of attributes) |