Struct ockam_vault_sync_core::VaultMutex [−][src]
pub struct VaultMutex<V>(_);
Expand description
Vault inside Arc Mutex
Implementations
Trait Implementations
Compute the SHA-256 digest given input data
fn hkdf_sha256(
&mut self,
salt: &Secret,
info: &[u8],
ikm: Option<&Secret>,
output_attributes: SmallBuffer<SecretAttributes>
) -> Result<SmallBuffer<Secret>>
fn hkdf_sha256(
&mut self,
salt: &Secret,
info: &[u8],
ikm: Option<&Secret>,
output_attributes: SmallBuffer<SecretAttributes>
) -> Result<SmallBuffer<Secret>>
Generate fresh secret with given attributes
Import a secret with given attributes from binary form into the vault
Export a secret key to the binary form represented as SecretKey
Get the attributes for a secret
Return the associated public key given the secret key
Remove a secret from the vault
Encrypt a payload using AES-GCM
Auto Trait Implementations
impl<V> RefUnwindSafe for VaultMutex<V>
impl<V> Send for VaultMutex<V> where
V: Send,
impl<V> Sync for VaultMutex<V> where
V: Send,
impl<V> Unpin for VaultMutex<V>
impl<V> UnwindSafe for VaultMutex<V>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more