pub type CompressedPoint<C> = GenericArray<u8, CompressedPointSize<C>>;
Available on crate feature sec1 only.
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>where C: CurveArithmetic + PointCompression, AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>, FieldBytesSize<C>: ModulusSize,

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>where C: CurveArithmetic + PointCompression, AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>, FieldBytesSize<C>: ModulusSize,

Available on crate feature arithmetic only.
source§

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

Converts to this type from the input type.