Trait ethers::core::k256::elliptic_curve::AlgorithmParameters [−][src]
pub trait AlgorithmParameters: Curve {
const OID: ObjectIdentifier;
fn algorithm_identifier() -> AlgorithmIdentifier<'static> { ... }
}
Expand description
Associate an ObjectIdentifier
(OID) with an
elliptic curve algorithm implementation.
This is used as as the parameters
of an AlgorithmIdentifier
as
described in RFC 5280 Section 4.1.1.2:
https://tools.ietf.org/html/rfc5280#section-4.1.1.2
Associated Constants
const OID: ObjectIdentifier
const OID: ObjectIdentifier
Object Identifier (OID) for this curve
Provided methods
fn algorithm_identifier() -> AlgorithmIdentifier<'static>
fn algorithm_identifier() -> AlgorithmIdentifier<'static>
Get the pkcs8::AlgorithmIdentifier
for this curve