Struct ockam_vault_sync_core::VaultSync [−][src]
pub struct VaultSync { /* fields omitted */ }
Expand description
Vault sync wrapper
Implementations
Start another Vault at the same address.
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 !RefUnwindSafe for VaultSync
impl !UnwindSafe for VaultSync
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