Type Alias elliptic_curve::sec1::EncodedPoint
source · pub type EncodedPoint<C> = EncodedPoint<FieldBytesSize<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>where
C: CurveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldBytesSize<C>: ModulusSize,
impl<C> From<&PublicKey<C>> for EncodedPoint<C>where
C: CurveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldBytesSize<C>: ModulusSize,
source§fn from(public_key: &PublicKey<C>) -> EncodedPoint<C>
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>where
C: CurveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldBytesSize<C>: ModulusSize,
impl<C> From<PublicKey<C>> for EncodedPoint<C>where
C: CurveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldBytesSize<C>: ModulusSize,
source§fn from(public_key: PublicKey<C>) -> EncodedPoint<C>
fn from(public_key: PublicKey<C>) -> EncodedPoint<C>
Converts to this type from the input type.