Struct recrypt::api::PublicSigningKey[]

pub struct PublicSigningKey { /* fields omitted */ }

Methods

impl PublicSigningKey

construct $t from fixed size byte array

construct $t from byte slice. Input slice must be exactly the correct length for the type.

Returns

Ok($t) or Err($ApiError::InputWrongSize]

impl PublicSigningKey

Verify that the signature was signed by its private key over the hashable bytes of the message.

Returns true if all the values are valid and the signature can be verified.

Trait Implementations

impl Clone for PublicSigningKey

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PublicSigningKey

impl Debug for PublicSigningKey

Formats the value using the given formatter. Read more

impl PartialEq for PublicSigningKey

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

This method tests for !=.

impl Eq for PublicSigningKey

Auto Trait Implementations