Struct ethcore::account_provider::Signature[][src]

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

Signature encoded as RSV components

Methods

impl Signature
[src]

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 Debug for Signature
[src]

Formats the value using the given formatter. Read more

impl Deref for Signature
[src]

The resulting type after dereferencing.

Dereferences the value.

impl FromStr for Signature
[src]

The associated error which can be returned from parsing.

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

impl Display for Signature
[src]

Formats the value using the given formatter. Read more

impl From<Signature> for H520
[src]

Performs the conversion.

impl From<H520> for Signature
[src]

Performs the conversion.

impl From<[u8; 65]> for Signature
[src]

Performs the conversion.

impl Default for Signature
[src]

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

impl Hash for Signature
[src]

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
[src]

impl PartialEq<Signature> for Signature
[src]

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

This method tests for !=.

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl DerefMut for Signature
[src]

Mutably dereferences the value.

impl Into<[u8; 65]> for Signature
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature