pub struct RsaPssSaltlen(/* private fields */);
Expand description
Salt lengths that must be used with set_rsa_pss_saltlen
.
Implementations§
source§impl RsaPssSaltlen
impl RsaPssSaltlen
sourcepub const DIGEST_LENGTH: RsaPssSaltlen = _
pub const DIGEST_LENGTH: RsaPssSaltlen = _
The salt length is set to the digest length.
Corresponds to the special value -1
.
sourcepub const MAXIMUM_LENGTH: RsaPssSaltlen = _
pub const MAXIMUM_LENGTH: RsaPssSaltlen = _
The salt length is set to the maximum permissible value.
Corresponds to the special value -2
.
sourcepub fn custom(val: c_int) -> RsaPssSaltlen
pub fn custom(val: c_int) -> RsaPssSaltlen
Sets the salt length to the given value.
Auto Trait Implementations§
impl Freeze for RsaPssSaltlen
impl RefUnwindSafe for RsaPssSaltlen
impl Send for RsaPssSaltlen
impl Sync for RsaPssSaltlen
impl Unpin for RsaPssSaltlen
impl UnwindSafe for RsaPssSaltlen
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