pub enum KeyEncryptionAlgorithm {
RsaOaepMgf1p,
Rsa15ForCompatibility,
Rsa15,
Custom(String),
}Expand description
XML-Enc key transport algorithm.
Custom URI values are forwarded to the configured crypto backend and can still fail at runtime when unsupported by that backend.
Variants§
RsaOaepMgf1p
RSA-OAEP-MGF1P.
Rsa15ForCompatibility
RSAES-PKCS1-v1_5 for legacy interoperability.
Rsa15
👎Deprecated:
use KeyEncryptionAlgorithm::Rsa15ForCompatibility
Deprecated alias for Self::Rsa15ForCompatibility.
Custom(String)
Backend-specific key transport algorithm URI.
Implementations§
Trait Implementations§
Source§impl Clone for KeyEncryptionAlgorithm
impl Clone for KeyEncryptionAlgorithm
Source§fn clone(&self) -> KeyEncryptionAlgorithm
fn clone(&self) -> KeyEncryptionAlgorithm
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 moreSource§impl Debug for KeyEncryptionAlgorithm
impl Debug for KeyEncryptionAlgorithm
Source§impl Default for KeyEncryptionAlgorithm
impl Default for KeyEncryptionAlgorithm
Source§fn default() -> KeyEncryptionAlgorithm
fn default() -> KeyEncryptionAlgorithm
Returns the “default value” for a type. Read more
impl Eq for KeyEncryptionAlgorithm
Source§impl PartialEq for KeyEncryptionAlgorithm
impl PartialEq for KeyEncryptionAlgorithm
impl StructuralPartialEq for KeyEncryptionAlgorithm
Auto Trait Implementations§
impl Freeze for KeyEncryptionAlgorithm
impl RefUnwindSafe for KeyEncryptionAlgorithm
impl Send for KeyEncryptionAlgorithm
impl Sync for KeyEncryptionAlgorithm
impl Unpin for KeyEncryptionAlgorithm
impl UnsafeUnpin for KeyEncryptionAlgorithm
impl UnwindSafe for KeyEncryptionAlgorithm
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