Struct openssl::sign::RsaPssSaltlen [−][src]
pub struct RsaPssSaltlen(_);
Salt lengths that must be used with set_rsa_pss_saltlen
.
Methods
impl RsaPssSaltlen
[src]
impl RsaPssSaltlen
pub fn custom(val: c_int) -> RsaPssSaltlen
[src]
pub fn custom(val: c_int) -> RsaPssSaltlen
Sets the salt length to the given value.
pub const DIGEST_LENGTH: RsaPssSaltlen
DIGEST_LENGTH: RsaPssSaltlen = RsaPssSaltlen(-1)
The salt length is set to the digest length.
Corresponds to the special value -1
.
pub const MAXIMUM_LENGTH: RsaPssSaltlen
MAXIMUM_LENGTH: RsaPssSaltlen = RsaPssSaltlen(-2)
The salt length is set to the maximum permissible value.
Corresponds to the special value -2
.
Auto Trait Implementations
impl Send for RsaPssSaltlen
impl Send for RsaPssSaltlen
impl Sync for RsaPssSaltlen
impl Sync for RsaPssSaltlen