pub struct RsaPssParameters {
pub digest: DigestAlgorithm,
pub mgf_digest: DigestAlgorithm,
pub salt_len: usize,
}Expand description
Parameters of RFC 9231 section 2.3.9 RSA-PSS, not algorithm permissions.
Fields§
§digest: DigestAlgorithmHash applied to the message and PSS encoding.
mgf_digest: DigestAlgorithmIndependent hash underlying MGF1.
salt_len: usizeExact salt width in octets; zero is permitted by RFC 8017.
Implementations§
Trait Implementations§
Source§impl Clone for RsaPssParameters
impl Clone for RsaPssParameters
impl Copy for RsaPssParameters
Source§impl Debug for RsaPssParameters
impl Debug for RsaPssParameters
Source§impl Default for RsaPssParameters
impl Default for RsaPssParameters
impl Eq for RsaPssParameters
Source§impl Hash for RsaPssParameters
impl Hash for RsaPssParameters
Source§impl PartialEq for RsaPssParameters
impl PartialEq for RsaPssParameters
impl StructuralPartialEq for RsaPssParameters
Auto Trait Implementations§
impl Freeze for RsaPssParameters
impl RefUnwindSafe for RsaPssParameters
impl Send for RsaPssParameters
impl Sync for RsaPssParameters
impl Unpin for RsaPssParameters
impl UnsafeUnpin for RsaPssParameters
impl UnwindSafe for RsaPssParameters
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