Crate _key_bag_rustc_static
source ·Structs
C-friendly bindings for KeyBagManager.
C-friendly bindings for KeyBagManager.
Manages the persistence of a KeyBag.
Enums
C-friendly bindings for KeyBagManager.
Constants
C-friendly bindings for KeyBagManager.
C-friendly bindings for KeyBagManager.
Functions
Deallocates a previously created
KeyBagManager
.C-friendly helper to create a
WrappingKey
for AES128-GCM-SIV by copying key
which must be
AES128_KEY_SIZE
bytes.C-friendly helper to create a
WrappingKey
for AES256-GCM-SIV by copying key
which must be
AES256_KEY_SIZE
bytes.Generates and stores a wrapped key in the key bag. Returns the unwrapped key in |out_key|.
Creates a
KeyBagManager
by opening or creating ‘path’, and returns an opaque pointer to it.Removes the key at the given slot from the key bag.
Unwraps all keys which can be unwrapped with |wrapping_key|
Type Definitions
C-friendly bindings for KeyBagManager.