Struct proj_crypto::asymmetric::key_id::PublicKeyId [] [src]

pub struct PublicKeyId {
    pub digest: Digest,
}

Public Key - just an alias. Implements drop() so the memory will be wiped when it goes out of scope The type of the identifier used to specify the other party's public key. This has to be a custom struct so that I can implement std::hash::Hash

Fields

The structure just encapsulates this sha256 digest

Trait Implementations

impl PartialEq for PublicKeyId
[src]

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

This method tests for !=.

impl Eq for PublicKeyId
[src]

impl Debug for PublicKeyId
[src]

Formats the value using the given formatter.

impl Clone for PublicKeyId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for PublicKeyId
[src]

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

Feeds a slice of this type into the state provided.