Struct merkle_sigs::PublicKey [] [src]

pub struct PublicKey { /* fields omitted */ }

A one-time signing public key

Methods

impl PublicKey
[src]

Intializes a public key with a byte vector. Returns None if it couldn't parse the provided data

Serializes a public key into a byte vector

Verifies that the signature of the data is correctly signed with the given key

Trait Implementations

impl Eq for PublicKey
[src]

impl Hash for PublicKey
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<PublicKey> for PublicKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for PublicKey
[src]

Formats the value using the given formatter.

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more