pub struct KeysDecrypted {
pub rsa: RsaPrivateKey,
pub master: Vec<u8>,
}Fields§
§rsa: RsaPrivateKey§master: Vec<u8>Implementations§
Source§impl KeysDecrypted
impl KeysDecrypted
pub fn from_encrypted( payload: &mut KeysPayload, derived_encryption_key: &[u8], ) -> Result<Self, ClientError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeysDecrypted
impl RefUnwindSafe for KeysDecrypted
impl Send for KeysDecrypted
impl Sync for KeysDecrypted
impl Unpin for KeysDecrypted
impl UnsafeUnpin for KeysDecrypted
impl UnwindSafe for KeysDecrypted
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