Struct libhydrogen::sign::Sign
source · pub struct Sign { /* private fields */ }
Implementations§
source§impl Sign
impl Sign
pub fn update(&mut self, input: &[u8])
pub fn finish_create( self, secret_key: &SecretKey ) -> Result<Signature, HydroError>
pub fn finish_verify( self, signature: &Signature, public_key: &PublicKey ) -> Result<(), HydroError>
Auto Trait Implementations§
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
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