Struct secp256k1::PublicKey [−][src]
pub struct PublicKey(_);
Public key on a secp256k1 curve.
Implementations
impl PublicKey
[src]
impl PublicKey
[src]pub fn from_secret_key(seckey: &SecretKey) -> PublicKey
[src]
pub fn parse_slice(
p: &[u8],
format: Option<PublicKeyFormat>
) -> Result<PublicKey, Error>
[src]
p: &[u8],
format: Option<PublicKeyFormat>
) -> Result<PublicKey, Error>