Skip to main content

RingEcdsaKeyPairExt

Trait RingEcdsaKeyPairExt 

Source
pub trait RingEcdsaKeyPairExt {
    // Required method
    fn ecdsa_key_pair_ring(&self) -> RingEcdsaKeyPair;
}
Expand description

Extension trait to convert uselesskey ECDSA fixtures into ring::signature::EcdsaKeyPair.

Required Methods§

Source

fn ecdsa_key_pair_ring(&self) -> RingEcdsaKeyPair

Convert the ECDSA private key to a ring::signature::EcdsaKeyPair.

The correct signing algorithm is chosen based on the curve (P-256 -> ECDSA_P256_SHA256_ASN1_SIGNING, P-384 -> ECDSA_P384_SHA384_ASN1_SIGNING).

Implementations on Foreign Types§

Source§

impl RingEcdsaKeyPairExt for EcdsaKeyPair

Available on crate feature ecdsa only.

Implementors§