Struct libp2p_core::identity::secp256k1::PublicKey [−][src]
pub struct PublicKey(_);
Expand description
A Secp256k1 public key.
Implementations
Verify the Secp256k1 signature on a message using the public key.
Verify the Secp256k1 DER-encoded signature on a raw 256-bit message using the public key.
Encode the public key in compressed form, i.e. with one coordinate represented by a single bit.
Encode the public key in uncompressed form.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more