elliptic_curve::sec1

Type Alias EncodedPoint

Source
pub type EncodedPoint<C> = EncodedPoint<FieldSize<C>>;
Expand description

Encoded elliptic curve point sized appropriately for a given curve.

Aliased Type§

struct EncodedPoint<C> { /* private fields */ }

Trait Implementations§

Source§

impl<C> From<&PublicKey<C>> for EncodedPoint<C>

Source§

fn from(public_key: &PublicKey<C>) -> EncodedPoint<C>

Converts to this type from the input type.
Source§

impl<C> From<PublicKey<C>> for EncodedPoint<C>

Source§

fn from(public_key: PublicKey<C>) -> EncodedPoint<C>

Converts to this type from the input type.