Enum libpijul::signature::Signature [] [src]

pub enum Signature {
    Ed25519 {
        publickey: [u8; 32],
        signature: SignatureBytes,
    },
}

Variants

Fields of Ed25519

Methods

impl Signature
[src]

Public key corresponding to the secret key used to sign.

Verify the signature for the given message.

Length of that signature in bytes, once serialized to bincode.

Trait Implementations

impl Debug for Signature
[src]

Formats the value using the given formatter.

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<[u8]> for Signature
[src]

Performs the conversion.