Struct x509_parser::signature_algorithm::RsaSsaPssParams
source · pub struct RsaSsaPssParams<'a> { /* private fields */ }
Implementations§
source§impl<'a> RsaSsaPssParams<'a>
impl<'a> RsaSsaPssParams<'a>
sourcepub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
pub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
Get a reference to the rsa ssa pss params’s hash algorithm.
sourcepub fn hash_algorithm_oid(&self) -> &'a Oid<'_>
pub fn hash_algorithm_oid(&self) -> &'a Oid<'_>
Return the hash algorithm OID, or SHA1 if absent (RFC4055)
sourcepub fn mask_gen_algorithm_raw(&self) -> Option<&AlgorithmIdentifier<'_>>
pub fn mask_gen_algorithm_raw(&self) -> Option<&AlgorithmIdentifier<'_>>
Get a reference to the rsa ssa pss params’s mask generation algorithm.
sourcepub fn mask_gen_algorithm(&self) -> Result<MaskGenAlgorithm<'_, '_>, X509Error>
pub fn mask_gen_algorithm(&self) -> Result<MaskGenAlgorithm<'_, '_>, X509Error>
Get the rsa ssa pss params’s mask generation algorithm.
If the algorithm encoding is invalid, raise an error InvalidAlgorithmIdentifier
sourcepub fn salt_length(&self) -> u32
pub fn salt_length(&self) -> u32
Return the salt length
sourcepub fn trailer_field(&self) -> u32
pub fn trailer_field(&self) -> u32
Return the trailer field (value must be 1
according to RFC4055)
Trait Implementations§
source§impl CheckDerConstraints for RsaSsaPssParams<'_>
impl CheckDerConstraints for RsaSsaPssParams<'_>
source§impl<'a> Debug for RsaSsaPssParams<'a>
impl<'a> Debug for RsaSsaPssParams<'a>
source§impl<'a> PartialEq for RsaSsaPssParams<'a>
impl<'a> PartialEq for RsaSsaPssParams<'a>
source§impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaSsaPssParams<'a>
impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaSsaPssParams<'a>
source§impl<'a> TryFrom<Any<'a>> for RsaSsaPssParams<'a>
impl<'a> TryFrom<Any<'a>> for RsaSsaPssParams<'a>
impl DerAutoDerive for RsaSsaPssParams<'_>
impl<'a> StructuralPartialEq for RsaSsaPssParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for RsaSsaPssParams<'a>
impl<'a> RefUnwindSafe for RsaSsaPssParams<'a>
impl<'a> Send for RsaSsaPssParams<'a>
impl<'a> Sync for RsaSsaPssParams<'a>
impl<'a> Unpin for RsaSsaPssParams<'a>
impl<'a> UnwindSafe for RsaSsaPssParams<'a>
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