pub enum NativeOperation {
Show 29 variants ListProviders(Operation), ListOpcodes(Operation), ListAuthenticators(Operation), ListKeys(Operation), ListClients(Operation), DeleteClient(Operation), Ping(Operation), PsaGenerateKey(Operation), PsaImportKey(Operation), PsaExportPublicKey(Operation), PsaExportKey(Operation), PsaDestroyKey(Operation), PsaSignHash(Operation), PsaVerifyHash(Operation), PsaHashCompute(Operation), PsaHashCompare(Operation), PsaAsymmetricEncrypt(Operation), PsaAsymmetricDecrypt(Operation), PsaAeadEncrypt(Operation), PsaAeadDecrypt(Operation), PsaCipherEncrypt(Operation), PsaCipherDecrypt(Operation), PsaGenerateRandom(Operation), PsaRawKeyAgreement(Operation), PsaSignMessage(Operation), PsaVerifyMessage(Operation), CanDoCrypto(Operation), AttestKey(Operation), PrepareKeyAttestation(Operation),
}
Expand description

Container type for operation conversion values, holding a native operation object to be passed in/out of a converter.

Variants§

§

ListProviders(Operation)

ListProviders operation

§

ListOpcodes(Operation)

ListOpcodes operation

§

ListAuthenticators(Operation)

ListAuthenticators operation

§

ListKeys(Operation)

ListKeys operation

§

ListClients(Operation)

ListClients operation

§

DeleteClient(Operation)

DeleteClient operation

§

Ping(Operation)

Ping operation

§

PsaGenerateKey(Operation)

PsaGenerateKey operation

§

PsaImportKey(Operation)

PsaImportKey operation

§

PsaExportPublicKey(Operation)

PsaExportPublicKey operation

§

PsaExportKey(Operation)

PsaExportKey operation

§

PsaDestroyKey(Operation)

PsaDestroyKey operation

§

PsaSignHash(Operation)

PsaSignHash operation

§

PsaVerifyHash(Operation)

PsaVerifyHash operation

§

PsaHashCompute(Operation)

PsaHashCompute operation

§

PsaHashCompare(Operation)

PsaHashCompare operation

§

PsaAsymmetricEncrypt(Operation)

PsaAsymmetricEncrypt operation

§

PsaAsymmetricDecrypt(Operation)

PsaAsymmetricDecrypt operation

§

PsaAeadEncrypt(Operation)

PsaAeadEncrypt operation

§

PsaAeadDecrypt(Operation)

PsaAeadDecrypt operation

§

PsaCipherEncrypt(Operation)

PsaCipherEncrypt operation

§

PsaCipherDecrypt(Operation)

PsaCipherDecrypt operation

§

PsaGenerateRandom(Operation)

PsaGenerateRandom operation

§

PsaRawKeyAgreement(Operation)

PsaRawKeyAgreement operation

§

PsaSignMessage(Operation)

PsaSignMessage operation

§

PsaVerifyMessage(Operation)

PsaVerifyMessage operation

§

CanDoCrypto(Operation)

CanDoCrypto operation

§

AttestKey(Operation)

AttestKey operation

§

PrepareKeyAttestation(Operation)

PrepareKeyAttestation operation

Implementations§

source§

impl NativeOperation

source

pub fn opcode(&self) -> Opcode

Return the opcode of the operation associated.

Trait Implementations§

source§

impl Debug for NativeOperation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.
source§

impl From<Operation> for NativeOperation

source§

fn from(op: Operation) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.