Struct nisty::Signature [−][src]
Pair of two curve scalars.
Implementations
impl Signature
[src]
pub fn from_bytes(signature_bytes: [u8; 64]) -> Self
[src]
pub fn to_bytes(self) -> [u8; 64]
[src]
pub fn as_bytes(&self) -> &[u8; 64]
[src]
pub fn to_asn1_der(&self) -> Bytes<U72>
[src]
Trait Implementations
impl AsArrayRef<[u8; 64]> for Signature
[src]
fn as_array_ref(&self) -> &[u8; 64]
[src]
impl AsArrayRef<[u8; 64]> for &Signature
[src]
fn as_array_ref(&self) -> &[u8; 64]
[src]
impl Clone for Signature
[src]
fn clone(&self) -> Signature
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Signature
[src]
impl Debug for Signature
[src]
impl From<[u8; 64]> for Signature
[src]
impl Into<[u8; 64]> for Signature
[src]
impl PartialEq<Signature> for Signature
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,