pub enum Operation {
Show 21 variants
Random,
KeyImport(KeyAlgorithm),
KeyExport(KeyAlgorithm),
Digest(HashAlgorithm),
Hmac(HashAlgorithm),
Sign(SignatureAlgorithm),
Verify(SignatureAlgorithm),
Encrypt(CipherAlgorithm),
Decrypt(CipherAlgorithm),
Wrap(KeyWrapAlgorithm),
Unwrap(KeyWrapAlgorithm),
TransportEncrypt(KeyTransportAlgorithm),
TransportDecrypt(KeyTransportAlgorithm),
Agreement(EcCurve),
X25519Agreement,
X448Agreement,
DhAgreement,
ConcatKdf(HashAlgorithm),
Pbkdf2(HashAlgorithm),
Hkdf(HashAlgorithm),
Pkcs12Kdf(HashAlgorithm),
}Expand description
A provider operation, parameterized by the requested algorithm where useful.
Variants§
Random
KeyImport(KeyAlgorithm)
KeyExport(KeyAlgorithm)
Digest(HashAlgorithm)
Hmac(HashAlgorithm)
Sign(SignatureAlgorithm)
Verify(SignatureAlgorithm)
Encrypt(CipherAlgorithm)
Decrypt(CipherAlgorithm)
Wrap(KeyWrapAlgorithm)
Unwrap(KeyWrapAlgorithm)
TransportEncrypt(KeyTransportAlgorithm)
TransportDecrypt(KeyTransportAlgorithm)
Agreement(EcCurve)
X25519Agreement
X448Agreement
DhAgreement
ConcatKdf(HashAlgorithm)
Pbkdf2(HashAlgorithm)
Hkdf(HashAlgorithm)
Pkcs12Kdf(HashAlgorithm)
RFC 7292 Appendix B password derivation.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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