Struct signatory_secp256k1::EcdsaSigner[][src]

pub struct EcdsaSigner(_);

ECDSA signature provider for the secp256k1 crate

Methods

impl EcdsaSigner
[src]

Create a new secp256k1 signer from the given private key

Trait Implementations

impl PublicKeyed<PublicKey> for EcdsaSigner
[src]

Return the public key that corresponds to the private key for this signer

impl<D> Signer<D, Asn1Signature> for EcdsaSigner where
    D: Digest<OutputSize = U32> + Default
[src]

Compute an ASN.1 DER-encoded signature of the given 32-byte SHA-256 digest

impl<D> DigestSigner<D, Asn1Signature> for EcdsaSigner where
    D: Digest<OutputSize = U32> + Default
[src]

Size of the digest output this verifier supports

impl<D> Signer<D, FixedSignature> for EcdsaSigner where
    D: Digest<OutputSize = U32> + Default
[src]

Compute a compact, fixed-sized signature of the given 32-byte SHA-256 digest

impl<D> DigestSigner<D, FixedSignature> for EcdsaSigner where
    D: Digest<OutputSize = U32> + Default
[src]

Size of the digest output this verifier supports

Auto Trait Implementations

impl Send for EcdsaSigner

impl Sync for EcdsaSigner