[][src]Struct jlib::base::local_sign::sign::SignatureX

pub struct SignatureX<'a> {
    pub keypair: &'a Keypair,
}

Fields

keypair: &'a Keypair

Methods

impl<'a> SignatureX<'a>[src]

pub fn new(keypair: &'a Keypair) -> Self[src]

impl<'a> SignatureX<'a>[src]

pub fn sign(message: &[u8], key: &[u8]) -> String[src]

pub fn verify(message: &[u8], signature: &[u8], key: &[u8]) -> bool[src]

pub fn sign_txn_signature(&self, so: &Vec<u8>) -> String[src]

Auto Trait Implementations

impl<'a> Sync for SignatureX<'a>

impl<'a> Send for SignatureX<'a>

impl<'a> Unpin for SignatureX<'a>

impl<'a> RefUnwindSafe for SignatureX<'a>

impl<'a> UnwindSafe for SignatureX<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Downcast for T where
    T: Any