Struct snapper_box::crypto::key::EncryptedDerivedKey [−][src]
pub struct EncryptedDerivedKey<'a> { /* fields omitted */ }Expand description
A DerivedKey that has been encrypted with a RootKey
See the documentation for CipherText for a description of the encryption method.
Implementations
Decrypts the given EncryptedDerivedKey into a DerivedKey, using the provided RootKey.
Errors
Will error if the decryption or deserialization fails
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for EncryptedDerivedKey<'a>
impl<'a> Send for EncryptedDerivedKey<'a>
impl<'a> Sync for EncryptedDerivedKey<'a>
impl<'a> Unpin for EncryptedDerivedKey<'a>
impl<'a> UnwindSafe for EncryptedDerivedKey<'a>
Blanket Implementations
Mutably borrows from an owned value. 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