[−][src]Struct nimiq_transaction::SignatureProof
Fields
public_key: PublicKey
merkle_path: Blake2bMerklePath
signature: Signature
Methods
impl SignatureProof
[src]
pub fn from(public_key: PublicKey, signature: Signature) -> Self
[src]
pub fn compute_signer(&self) -> Address
[src]
pub fn is_signed_by(&self, address: &Address) -> bool
[src]
pub fn verify(&self, data: &[u8]) -> bool
[src]
Trait Implementations
impl Serialize for SignatureProof
[src]
fn serialize<W: WriteBytesExt>(
&self,
writer: &mut W
) -> Result<usize, SerializingError>
[src]
&self,
writer: &mut W
) -> Result<usize, SerializingError>
fn serialized_size(&self) -> usize
[src]
fn serialize_to_vec(&self) -> Vec<u8>
[src]
impl Deserialize for SignatureProof
[src]
fn deserialize<R: ReadBytesExt>(
reader: &mut R
) -> Result<Self, SerializingError>
[src]
reader: &mut R
) -> Result<Self, SerializingError>
fn deserialize_from_vec(v: &Vec<u8>) -> Result<Self, SerializingError>
[src]
Auto Trait Implementations
impl Send for SignatureProof
impl Sync for SignatureProof
impl Unpin for SignatureProof
impl UnwindSafe for SignatureProof
impl RefUnwindSafe for SignatureProof
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self