pub struct RsaOaepParameters {
pub algorithm: KeyTransportAlgorithm,
pub digest: OaepDigestAlgorithm,
pub mgf_digest: OaepDigestAlgorithm,
pub label: Vec<u8>,
}Expand description
RSA-OAEP parameters emitted in an EncryptedKey.
Fields§
§algorithm: KeyTransportAlgorithmXMLEnc 1.0 legacy OAEP or XMLEnc 1.1 configurable OAEP.
digest: OaepDigestAlgorithmDigest used by OAEP.
mgf_digest: OaepDigestAlgorithmDigest used by MGF1.
label: Vec<u8>Optional OAEP label bytes.
Implementations§
Trait Implementations§
Source§impl Clone for RsaOaepParameters
impl Clone for RsaOaepParameters
Source§fn clone(&self) -> RsaOaepParameters
fn clone(&self) -> RsaOaepParameters
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 RsaOaepParameters
impl Debug for RsaOaepParameters
Source§impl Default for RsaOaepParameters
impl Default for RsaOaepParameters
impl Eq for RsaOaepParameters
Source§impl PartialEq for RsaOaepParameters
impl PartialEq for RsaOaepParameters
impl StructuralPartialEq for RsaOaepParameters
Auto Trait Implementations§
impl Freeze for RsaOaepParameters
impl RefUnwindSafe for RsaOaepParameters
impl Send for RsaOaepParameters
impl Sync for RsaOaepParameters
impl Unpin for RsaOaepParameters
impl UnsafeUnpin for RsaOaepParameters
impl UnwindSafe for RsaOaepParameters
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