#[non_exhaustive]pub enum ProviderOperation {
GenerateKeyPair,
DeriveKeyPair,
Sign,
Verify,
DeriveSharedSecret,
KemEncapsulate,
KemDecapsulate,
}Expand description
Operation requested from the dispatch provider.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GenerateKeyPair
Generate a fresh raw keypair.
DeriveKeyPair
Reconstruct a keypair from caller-owned secret material.
Sign
Produce a detached signature.
Verify
Verify a detached signature.
Derive a raw key-agreement shared secret.
KemEncapsulate
Encapsulate to a KEM public key.
KemDecapsulate
Decapsulate a KEM ciphertext.
Trait Implementations§
Source§impl Clone for ProviderOperation
impl Clone for ProviderOperation
Source§fn clone(&self) -> ProviderOperation
fn clone(&self) -> ProviderOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderOperation
Source§impl Debug for ProviderOperation
impl Debug for ProviderOperation
impl Eq for ProviderOperation
Source§impl PartialEq for ProviderOperation
impl PartialEq for ProviderOperation
impl StructuralPartialEq for ProviderOperation
Auto Trait Implementations§
impl Freeze for ProviderOperation
impl RefUnwindSafe for ProviderOperation
impl Send for ProviderOperation
impl Sync for ProviderOperation
impl Unpin for ProviderOperation
impl UnsafeUnpin for ProviderOperation
impl UnwindSafe for ProviderOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more