[][src]Struct parsec_interface::operations::psa_verify_hash::Operation

pub struct Operation {
    pub key_name: String,
    pub alg: AsymmetricSignature,
    pub hash: Vec<u8>,
    pub signature: Vec<u8>,
}

Native object for asymmetric verification of signatures.

Fields

key_name: String

key_name specifies the key to be used for verification.

alg: AsymmetricSignature

An asymmetric signature algorithm that separates the hash and sign operations, that is compatible with the type of key.

hash: Vec<u8>

The hash contains a short message or hash value as described for the asymmetric signing operation.

signature: Vec<u8>

Buffer containing the signature to verify.

Trait Implementations

impl Debug for Operation[src]

impl From<Operation> for NativeOperation[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.