pub struct KeyVaultBuilder { /* private fields */ }Expand description
Fluent builder for KeyVault.
The builder is the only way to construct a vault; the inherent
KeyVault::new constructor is intentionally not provided so that future
required configuration cannot be silently bypassed.
Implementations§
Source§impl KeyVaultBuilder
impl KeyVaultBuilder
Sourcepub fn normalize_with_blake3(self, enabled: bool) -> Self
pub fn normalize_with_blake3(self, enabled: bool) -> Self
Enable or disable BLAKE3 normalization of input key material.
Default: true. Disabling normalization preserves the original byte
pattern of the key in storage, which can leak format cues (DER
envelopes, PEM markers, ASCII-armored data). Disable only when you
have a specific reason to preserve the original bytes.
Trait Implementations§
Source§impl Clone for KeyVaultBuilder
impl Clone for KeyVaultBuilder
Source§fn clone(&self) -> KeyVaultBuilder
fn clone(&self) -> KeyVaultBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyVaultBuilder
impl Debug for KeyVaultBuilder
Source§impl Default for KeyVaultBuilder
impl Default for KeyVaultBuilder
Source§fn default() -> KeyVaultBuilder
fn default() -> KeyVaultBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeyVaultBuilder
impl RefUnwindSafe for KeyVaultBuilder
impl Send for KeyVaultBuilder
impl Sync for KeyVaultBuilder
impl Unpin for KeyVaultBuilder
impl UnsafeUnpin for KeyVaultBuilder
impl UnwindSafe for KeyVaultBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more