pub trait CurveAlgorithm {
// Required method
fn asymmetric_algorithm() -> Algorithm;
}
Expand description
Mappings from ECDSA curves to their corresponding asymmetric algorithm
Required Methods§
Sourcefn asymmetric_algorithm() -> Algorithm
fn asymmetric_algorithm() -> Algorithm
YubiHSM asymmetric algorithm for this elliptic curve
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl CurveAlgorithm for NistP256
impl CurveAlgorithm for NistP384
impl CurveAlgorithm for Secp256k1
Available on crate feature
secp256k1
only.