pub struct EncryptionMethod {
pub algorithm: String,
pub key_size_bits: Option<usize>,
pub oaep_digest: Option<String>,
pub mgf_algorithm: Option<String>,
pub oaep_params: Option<Vec<u8>>,
pub chacha: Option<ChaChaParameters>,
}Expand description
Parsed EncryptionMethod data.
Fields§
§algorithm: StringAlgorithm URI from the mandatory Algorithm attribute.
key_size_bits: Option<usize>Optional explicit key size in bits.
oaep_digest: Option<String>Digest URI used by XML Encryption 1.1 OAEP.
mgf_algorithm: Option<String>MGF URI used by XML Encryption 1.1 OAEP.
oaep_params: Option<Vec<u8>>Decoded OAEP label bytes.
chacha: Option<ChaChaParameters>ChaCha profile parameters, separate from RSA-OAEP labels.
Trait Implementations§
Source§impl Clone for EncryptionMethod
impl Clone for EncryptionMethod
Source§impl Debug for EncryptionMethod
impl Debug for EncryptionMethod
impl Eq for EncryptionMethod
Source§impl PartialEq for EncryptionMethod
impl PartialEq for EncryptionMethod
impl StructuralPartialEq for EncryptionMethod
Auto Trait Implementations§
impl Freeze for EncryptionMethod
impl RefUnwindSafe for EncryptionMethod
impl Send for EncryptionMethod
impl Sync for EncryptionMethod
impl Unpin for EncryptionMethod
impl UnsafeUnpin for EncryptionMethod
impl UnwindSafe for EncryptionMethod
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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