Struct lamport_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 Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PublicKey
[src]

Formats the value using the given formatter.

impl PartialEq 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 Hash for PublicKey
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for PublicKey
[src]