Type Definition elliptic_curve::sec1::EncodedPoint
source · [−]pub type EncodedPoint<C> = EncodedPoint<FieldSize<C>>;
Available on crate feature
sec1
only.Expand description
Encoded elliptic curve point sized appropriately for a given curve.
Trait Implementations
sourceimpl<C> From<&PublicKey<C>> for EncodedPoint<C> where
C: Curve + ProjectiveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldSize<C>: ModulusSize,
impl<C> From<&PublicKey<C>> for EncodedPoint<C> where
C: Curve + ProjectiveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldSize<C>: ModulusSize,
sourcefn from(public_key: &PublicKey<C>) -> EncodedPoint<C>
fn from(public_key: &PublicKey<C>) -> EncodedPoint<C>
Converts to this type from the input type.
sourceimpl<C> From<PublicKey<C>> for EncodedPoint<C> where
C: Curve + ProjectiveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldSize<C>: ModulusSize,
impl<C> From<PublicKey<C>> for EncodedPoint<C> where
C: Curve + ProjectiveArithmetic + PointCompression,
AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
FieldSize<C>: ModulusSize,
sourcefn from(public_key: PublicKey<C>) -> EncodedPoint<C>
fn from(public_key: PublicKey<C>) -> EncodedPoint<C>
Converts to this type from the input type.