Type Definition p256::PublicKey

source ·
pub type PublicKey = PublicKey<NistP256>;
Expand description

NIST P-256 public key.

Trait Implementations§

source§

impl TryFrom<&AffinePoint> for PublicKey

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(affine_point: &AffinePoint) -> Result<PublicKey>

Performs the conversion.
source§

impl TryFrom<&ProjectivePoint> for PublicKey

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(point: &ProjectivePoint) -> Result<PublicKey>

Performs the conversion.
source§

impl TryFrom<AffinePoint> for PublicKey

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(affine_point: AffinePoint) -> Result<PublicKey>

Performs the conversion.
source§

impl TryFrom<ProjectivePoint> for PublicKey

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(point: ProjectivePoint) -> Result<PublicKey>

Performs the conversion.