[][src]Struct rcrypto::ecdsa::SignatureContent

pub struct SignatureContent { /* fields omitted */ }

(r, s)

Implementations

impl SignatureContent[src]

pub fn new() -> Self[src]

pub fn with_capacity(capacity: usize) -> Self[src]

pub fn form_bigint(r: &BigInt, s: &BigInt) -> Self[src]

pub fn to_bigint(&self) -> (BigInt, BigInt)[src]

r, s

pub fn set(&mut self, r: BigInt, s: BigInt)[src]

Trait Implementations

impl AsMut<[u8]> for SignatureContent[src]

impl AsMut<Vec<u8>> for SignatureContent[src]

impl AsRef<[u8]> for SignatureContent[src]

impl AsRef<Vec<u8>> for SignatureContent[src]

impl<H, R> Signature<SignatureContent> for DSA<H, R> where
    H: Digest,
    R: IterSource<u32>, 
[src]

type Output = ()

impl<H, R, C> Signature<SignatureContent> for ECDSA<H, R, C> where
    H: Digest,
    R: IterSource<u32>,
    C: EllipticCurve
[src]

type Output = ()

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.