Struct ethcore::account_provider::Signature []

#[repr(C)]
pub struct Signature(_);

Signature encoded as RSV components

Methods

impl Signature

Important traits for &'a [u8]

Get a slice into the 'r' portion of the data.

Important traits for &'a [u8]

Get a slice into the 's' portion of the data.

Get the recovery byte.

Encode the signature into RSV array (V altered to be in "Electrum" notation).

Parse bytes as a signature encoded as RSV (V in "Electrum" notation). May return empty (invalid) signature if given data has invalid length.

Create a signature object from the sig.

Check if this is a "low" signature.

Check if each component of the signature is in range.

Trait Implementations

impl From<Signature> for H520

Performs the conversion.

impl From<[u8; 65]> for Signature

Performs the conversion.

impl From<H520> for Signature

Performs the conversion.

impl Clone for Signature

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl DerefMut for Signature

Mutably dereferences the value.

impl Into<[u8; 65]> for Signature

Performs the conversion.

impl FromStr for Signature

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Hash for Signature

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

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

impl Eq for Signature

impl PartialEq<Signature> for Signature

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

This method tests for !=.

impl Display for Signature

Formats the value using the given formatter. Read more

impl Deref for Signature

The resulting type after dereferencing.

Dereferences the value.

impl Debug for Signature

Formats the value using the given formatter. Read more

impl Default for Signature

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature