Type Definition k256::EncodedPoint
source · pub type EncodedPoint = EncodedPoint<Secp256k1>;
Expand description
SEC1-encoded secp256k1 (K-256) curve point.
Trait Implementations§
source§impl From<&VerifyingKey> for EncodedPoint
impl From<&VerifyingKey> for EncodedPoint
source§fn from(verifying_key: &VerifyingKey) -> EncodedPoint
fn from(verifying_key: &VerifyingKey) -> EncodedPoint
Converts to this type from the input type.
source§impl From<AffinePoint> for EncodedPoint
impl From<AffinePoint> for EncodedPoint
source§fn from(affine_point: AffinePoint) -> EncodedPoint
fn from(affine_point: AffinePoint) -> EncodedPoint
Returns the SEC1 compressed encoding of this point.