[−][src]Struct eosio_client_keys::EOSSignature
Fields
sig: Signature
Implementations
impl EOSSignature
[src]
pub fn from(buffer: &[u8]) -> Result<EOSSignature>
[src]
pub fn from_string(sig_str: &str) -> Result<EOSSignature>
[src]
pub fn verify(&self, data: &[u8], pubkey: &EOSPublicKey) -> Result<bool>
[src]
Verify signed data.
@arg {String|Buffer} data - full data @arg {pubkey|PublicKey} pubkey - EOSKey..
@return {boolean}
pub fn verify_hash(&self, hash: &[u8], pubkey: &EOSPublicKey) -> Result<bool>
[src]
Verify a buffer of exactly 32 bytes in size (sha256(text))
@arg {String|Buffer} dataSha256 - 32 byte buffer @arg {String|PublicKey} pubkey - EOSKey..
@return {boolean}
pub fn to_eos_string(&self) -> Result<String>
[src]
pub fn is_canonical(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for EOSSignature
impl Send for EOSSignature
impl Sync for EOSSignature
impl Unpin for EOSSignature
impl UnwindSafe for EOSSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,