Type Alias elliptic_curve::sec1::CompressedPoint

source ·
pub type CompressedPoint<C> = Array<u8, CompressedPointSize<C>>;
Available on crate feature sec1 only.
Expand description

Encoded elliptic curve point with point compression.

Aliased Type§

struct CompressedPoint<C>(pub <<<C as Curve>::FieldBytesSize as ModulusSize>::CompressedPointSize as ArraySize>::ArrayType<u8>);

Fields§

§0: <<<C as Curve>::FieldBytesSize as ModulusSize>::CompressedPointSize as ArraySize>::ArrayType<u8>

Trait Implementations§

source§

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

Available on crate feature arithmetic only.
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>

Available on crate feature arithmetic only.
source§

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

Converts to this type from the input type.