Trait elliptic_curve::AlgorithmParameters[][src]

pub trait AlgorithmParameters: Curve {
    const OID: ObjectIdentifier;
    fn algorithm_identifier() -> AlgorithmIdentifier { ... }
}
This is supported on crate feature pkcs8 only.

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[src]

Object Identifier (OID) for this curve

Loading content...

Provided methods

Loading content...

Implementors

impl AlgorithmParameters for MockCurve[src]

This is supported on crate feature dev only.

const OID: ObjectIdentifier[src]

This is supported on crate feature pkcs8 only.

OID for NIST P-256

Loading content...