Type Alias sm2::PublicKey

source ·
pub type PublicKey = PublicKey<Sm2>;
Available on crate feature arithmetic only.
Expand description

SM2 public key: wrapper type for an elliptic curve point.

Aliased Type§

struct PublicKey { /* private fields */ }

Trait Implementations§

source§

impl From<&VerifyingKey> for PublicKey

Available on crate feature dsa only.
source§

fn from(verifying_key: &VerifyingKey) -> PublicKey

Converts to this type from the input type.
source§

impl From<VerifyingKey> for PublicKey

Available on crate feature dsa only.
source§

fn from(verifying_key: VerifyingKey) -> PublicKey

Converts to this type from the input type.