pub type RsaPssParamsRef<'a> = RsaPssParams<AnyRef<'a>>;Expand description
PKCS#1 RSASSA-PSS parameters as defined in [RFC 8017 Appendix 2.3]
Aliased Type§
pub struct RsaPssParamsRef<'a> {
pub hash: AlgorithmIdentifier<AnyRef<'a>>,
pub mask_gen: AlgorithmIdentifier<AlgorithmIdentifier<AnyRef<'a>>>,
pub salt_len: u8,
pub trailer_field: TrailerField,
}Fields§
§hash: AlgorithmIdentifier<AnyRef<'a>>Hash Algorithm
mask_gen: AlgorithmIdentifier<AlgorithmIdentifier<AnyRef<'a>>>Mask Generation Function (MGF)
salt_len: u8Salt length
trailer_field: TrailerFieldTrailer field (i.e. TrailerField::BC)
Implementations§
Source§impl<'a> RsaPssParamsRef<'a>
impl<'a> RsaPssParamsRef<'a>
Sourcepub fn new<D>(salt_len: u8) -> Selfwhere
D: AssociatedOid,
pub fn new<D>(salt_len: u8) -> Selfwhere
D: AssociatedOid,
Create new RsaPssParams for the provided digest and salt len