Struct signatory::ecdsa::DERSignature[][src]

pub struct DERSignature<C: WeierstrassCurve> { /* fields omitted */ }

ECDSA signatures encoded as ASN.1 DER

Methods

impl<C: WeierstrassCurve> DERSignature<C>
[src]

Create an ASN.1 DER-encoded ECDSA signature from its serialized byte representation

Important traits for &'a [u8]

Obtain signature as a byte array reference

Important traits for Vec<u8>

Convert signature into a byte vector

Trait Implementations

impl<C: Clone + WeierstrassCurve> Clone for DERSignature<C> where
    C::DERSignatureMaxSize: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: PartialEq + WeierstrassCurve> PartialEq for DERSignature<C> where
    C::DERSignatureMaxSize: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<C: Eq + WeierstrassCurve> Eq for DERSignature<C> where
    C::DERSignatureMaxSize: Eq
[src]

impl<C: WeierstrassCurve> AsRef<[u8]> for DERSignature<C>
[src]

Important traits for &'a [u8]

Performs the conversion.

impl<C: WeierstrassCurve> Debug for DERSignature<C>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C> Send for DERSignature<C> where
    <<C as WeierstrassCurve>::DERSignatureMaxSize as ArrayLength<u8>>::ArrayType: Send

impl<C> Sync for DERSignature<C> where
    <<C as WeierstrassCurve>::DERSignatureMaxSize as ArrayLength<u8>>::ArrayType: Sync