pub struct Signature { /* private fields */ }Expand description
Complete signature containing both Dilithium signature and public key
Implementations§
Source§impl Signature
impl Signature
Sourcepub fn from_bytes(bytes: &[u8]) -> VAZ256Result<Self>
pub fn from_bytes(bytes: &[u8]) -> VAZ256Result<Self>
Creates a Signature from raw bytes
Sourcepub fn from_hex(hex_str: &str) -> VAZ256Result<Self>
pub fn from_hex(hex_str: &str) -> VAZ256Result<Self>
Creates a Signature from a hexadecimal string
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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