[][src]Struct parsec_interface::operations::OpAsymSign

pub struct OpAsymSign {
    pub key_name: String,
    pub hash: Vec<u8>,
}

Native object for asymmetric sign operations.

Fields

key_name: String

Defines which key should be used for the signing operation.

hash: Vec<u8>

This value must either be a short message (length dependend on the size of the key), or the result of a hashing operation. Thus, if a hash-and-sign is required, the hash must be computed before this operation is called. The length of the hash must be equal to the length of the hash specified on the key algorithm. This field must also follow any formatting conventions dictated by the provider for which the request was made.

Trait Implementations

impl Debug for OpAsymSign[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.