Struct safe_crypto::PublicSignKey[][src]

pub struct PublicSignKey { /* fields omitted */ }

Public signing key used to verify that the signature appended to a message was actually issued by the creator of the public key.

Methods

impl PublicSignKey
[src]

Verifies the detached signature.

Returns true if the signature is valid the data is verified.

Construct from bytes. Useful when it was serialised before.

Convert the PublicSignKey into the raw underlying bytes. For anyone who wants to store the public signing key.

Trait Implementations

impl Debug for PublicSignKey
[src]

Formats the value using the given formatter. Read more

impl Hash for PublicSignKey
[src]

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

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

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

impl PartialOrd for PublicSignKey
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for PublicSignKey
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Clone for PublicSignKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PublicSignKey
[src]

impl Display for PublicSignKey
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations