[−][src]Trait elliptic_curve::sec1::FromEncodedPoint
Trait for deserializing a value from a SEC1 encoded curve point.
This is intended for use with the AffinePoint
type for a given elliptic curve.
Required methods
fn from_encoded_point(public_key: &EncodedPoint<C>) -> CtOption<Self>
Deserialize the type this trait is impl'd on from an EncodedPoint
.
Returns
None
if the EncodedPoint
is invalid.