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§
Sourcefn ecdsa_key_pair_ring(&self) -> RingEcdsaKeyPair
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.
impl RingEcdsaKeyPairExt for EcdsaKeyPair
Available on crate feature
ecdsa only.