pub struct Signature<C: Ciphersuite> { /* private fields */ }
Expand description
A Schnorr signature over some prime order group (or subgroup).
Implementations§
Source§impl<C: Ciphersuite> Signature<C>
Auto-generated by derive_getters::Getters
.
impl<C: Ciphersuite> Signature<C>
Auto-generated by derive_getters::Getters
.
Trait Implementations§
Source§impl<C: Ciphersuite> Debug for Signature<C>
impl<C: Ciphersuite> Debug for Signature<C>
Source§impl<'de, C> Deserialize<'de> for Signature<C>
Available on crate feature serde
only.
impl<'de, C> Deserialize<'de> for Signature<C>
Available on crate feature
serde
only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<C: Copy + Ciphersuite> Copy for Signature<C>
impl<C: Eq + Ciphersuite> Eq for Signature<C>
impl<C: Ciphersuite> StructuralPartialEq for Signature<C>
Auto Trait Implementations§
impl<C> Freeze for Signature<C>
impl<C> RefUnwindSafe for Signature<C>where
<<C as Ciphersuite>::Group as Group>::Element: RefUnwindSafe,
<<<C as Ciphersuite>::Group as Group>::Field as Field>::Scalar: RefUnwindSafe,
impl<C> Send for Signature<C>
impl<C> Sync for Signature<C>
impl<C> Unpin for Signature<C>
impl<C> UnwindSafe for Signature<C>where
<<C as Ciphersuite>::Group as Group>::Element: UnwindSafe,
<<<C as Ciphersuite>::Group as Group>::Field as Field>::Scalar: UnwindSafe,
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