Struct ethers::signers::yubihsm::ecdsa::Signer[][src]

pub struct Signer<C> where
    C: Curve + CurveAlgorithm + PointCompression,
    <<<C as Curve>::UInt as ArrayEncoding>::ByteSize as Add<<<C as Curve>::UInt as ArrayEncoding>::ByteSize>>::Output: Add<UInt<UTerm, B1>>,
    <<<C as Curve>::UInt as ArrayEncoding>::ByteSize as Add<<<C as Curve>::UInt as ArrayEncoding>::ByteSize>>::Output: ArrayLength<u8>,
    <<<<C as Curve>::UInt as ArrayEncoding>::ByteSize as Add<<<C as Curve>::UInt as ArrayEncoding>::ByteSize>>::Output as Add<UInt<UTerm, B1>>>::Output: ArrayLength<u8>, 
{ /* fields omitted */ }
Expand description

ECDSA signature provider for yubihsm-client

Implementations

Create a new YubiHSM-backed ECDSA signer

Get the public key for the YubiHSM-backed private key.

Trait Implementations

Compute a fixed-sized P-256 ECDSA signature of the given digest

Sign the given prehashed message Digest, returning a signature. Read more

Compute a fixed-sized P-384 ECDSA signature of the given digest

Sign the given prehashed message Digest, returning a signature. Read more

Compute a fixed-size secp256k1 ECDSA signature of the given digest

Sign the given prehashed message Digest, returning a signature. Read more

Compute an Ethereum-style ECDSA/secp256k1 signature of the given digest

Sign the given prehashed message Digest, returning a signature. Read more

Performs the conversion.

Performs the conversion.

Attempt to sign the given message, returning a digital signature on success, or an error if something went wrong. Read more

Sign the given message and return a digital signature

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more