pub struct EncryptedVault { /* private fields */ }
Implementations§
Source§impl EncryptedVault
impl EncryptedVault
pub fn encrypt_secret( user_secrets: &mut ProtectedEd25519KeyPair, ) -> WasmiumResult<EncryptedVault>
pub fn decrypt_and_sign(&self, message: &[u8]) -> WasmiumResult<Signature>
Auto Trait Implementations§
impl Freeze for EncryptedVault
impl RefUnwindSafe for EncryptedVault
impl Send for EncryptedVault
impl Sync for EncryptedVault
impl Unpin for EncryptedVault
impl UnwindSafe for EncryptedVault
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