Struct openssl::sign::RsaPssSaltlen
source · pub struct RsaPssSaltlen(_);
Expand description
Salt lengths that must be used with set_rsa_pss_saltlen
.
Implementations§
source§impl RsaPssSaltlen
impl RsaPssSaltlen
sourcepub fn custom(val: c_int) -> RsaPssSaltlen
pub fn custom(val: c_int) -> RsaPssSaltlen
Sets the salt length to the given value.
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
.