elliptic_curve::sec1

Type Alias CompressedPoint

Source
pub type CompressedPoint<C> = GenericArray<u8, CompressedPointSize<C>>;
Expand description

Encoded elliptic curve point with point compression.

Aliased Type§

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

Trait Implementations§

Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl<C> From<PublicKey<C>> for CompressedPoint<C>

Source§

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

Converts to this type from the input type.