Struct shuttle_core::Signature [] [src]

pub struct Signature { /* fields omitted */ }

A signature.

Methods

impl Signature
[src]

[src]

Sign data using the secret key.

[src]

Return a Signature from bytes.

[src]

Length in bytes of the signature.

[src]

Convert to Vec<u8>.

[src]

Inner buffer as slice.

[src]

Verify the signature againt the data and the public key. Return true if the signature is valid, false otherwise.

Trait Implementations

impl Debug for Signature
[src]

[src]

Formats the value using the given formatter.

impl Clone for Signature
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Signature
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Signature
[src]