Function public_key

Source
pub fn public_key(private_key: &Key) -> PublicKey
Expand description

Get the public key from a private key.