[][src]Trait elliptic_curve::sec1::ToEncodedPoint

pub trait ToEncodedPoint<C> where
    C: Curve,
    UntaggedPointSize<C>: Add<U1> + ArrayLength<u8>,
    UncompressedPointSize<C>: ArrayLength<u8>, 
{ fn to_encoded_point(&self, compress: bool) -> EncodedPoint<C>; }

Trait for serializing a value to a SEC1 encoded curve point.

This is intended for use with the AffinePoint type for a given elliptic curve.

Required methods

fn to_encoded_point(&self, compress: bool) -> EncodedPoint<C>

Serialize this value as a SEC1 EncodedPoint, optionally applying point compression.

Loading content...

Implementors

Loading content...