Struct x509_parser::signature_algorithm::RsaAesOaepParams
source · pub struct RsaAesOaepParams<'a> { /* private fields */ }
Implementations§
source§impl<'a> RsaAesOaepParams<'a>
impl<'a> RsaAesOaepParams<'a>
pub const EMPTY: &'static AlgorithmIdentifier<'static> = _
sourcepub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
pub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
Get a reference to the rsa aes oaep 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 p_source_alg(&'a self) -> &'a AlgorithmIdentifier<'_>
pub fn p_source_alg(&'a self) -> &'a AlgorithmIdentifier<'_>
Return the pSourceFunc algorithm
Trait Implementations§
source§impl CheckDerConstraints for RsaAesOaepParams<'_>
impl CheckDerConstraints for RsaAesOaepParams<'_>
source§impl<'a> Debug for RsaAesOaepParams<'a>
impl<'a> Debug for RsaAesOaepParams<'a>
source§impl<'a> PartialEq for RsaAesOaepParams<'a>
impl<'a> PartialEq for RsaAesOaepParams<'a>
source§fn eq(&self, other: &RsaAesOaepParams<'a>) -> bool
fn eq(&self, other: &RsaAesOaepParams<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaAesOaepParams<'a>
impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaAesOaepParams<'a>
source§impl<'a> TryFrom<Any<'a>> for RsaAesOaepParams<'a>
impl<'a> TryFrom<Any<'a>> for RsaAesOaepParams<'a>
impl DerAutoDerive for RsaAesOaepParams<'_>
impl<'a> StructuralPartialEq for RsaAesOaepParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for RsaAesOaepParams<'a>
impl<'a> RefUnwindSafe for RsaAesOaepParams<'a>
impl<'a> Send for RsaAesOaepParams<'a>
impl<'a> Sync for RsaAesOaepParams<'a>
impl<'a> Unpin for RsaAesOaepParams<'a>
impl<'a> UnwindSafe for RsaAesOaepParams<'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