pub struct WasmiumSignature<'ws> { /* private fields */ }
Implementations§
Source§impl<'ws> WasmiumSignature<'ws>
impl<'ws> WasmiumSignature<'ws>
pub fn add_message(&mut self, message: &'ws [u8]) -> &mut WasmiumSignature<'ws>
pub fn add_signature( &mut self, signature_array: Ed25519SignatureArray, ) -> Result<&mut WasmiumSignature<'ws>, WasmiumOutcome>
pub fn add_public_key( &mut self, public_key_array: Ed25519PublicKeyArray, ) -> Result<&mut WasmiumSignature<'ws>, WasmiumOutcome>
pub fn verify_signature(&self) -> WasmiumOutcome
Trait Implementations§
Source§impl<'ws> Clone for WasmiumSignature<'ws>
impl<'ws> Clone for WasmiumSignature<'ws>
Source§fn clone(&self) -> WasmiumSignature<'ws>
fn clone(&self) -> WasmiumSignature<'ws>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'ws> Debug for WasmiumSignature<'ws>
impl<'ws> Debug for WasmiumSignature<'ws>
Source§impl<'ws> Default for WasmiumSignature<'ws>
impl<'ws> Default for WasmiumSignature<'ws>
Source§impl<'ws> PartialEq for WasmiumSignature<'ws>
impl<'ws> PartialEq for WasmiumSignature<'ws>
impl<'ws> Eq for WasmiumSignature<'ws>
impl<'ws> StructuralPartialEq for WasmiumSignature<'ws>
Auto Trait Implementations§
impl<'ws> Freeze for WasmiumSignature<'ws>
impl<'ws> RefUnwindSafe for WasmiumSignature<'ws>
impl<'ws> Send for WasmiumSignature<'ws>
impl<'ws> Sync for WasmiumSignature<'ws>
impl<'ws> Unpin for WasmiumSignature<'ws>
impl<'ws> UnwindSafe for WasmiumSignature<'ws>
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