Struct RsaSsaPssParams
pub struct RsaSsaPssParams<'a> { /* private fields */ }Available on crate feature
crypto only.Implementations§
§impl<'a> RsaSsaPssParams<'a>
impl<'a> RsaSsaPssParams<'a>
pub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn hash_algorithm(&self) -> Option<&AlgorithmIdentifier<'_>>
rustls or boring or acme) and crate feature rustls only.Get a reference to the rsa ssa pss params’s hash algorithm.
pub fn hash_algorithm_oid(&self) -> &'a Oid<'_>
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn hash_algorithm_oid(&self) -> &'a Oid<'_>
rustls or boring or acme) and crate feature rustls only.Return the hash algorithm OID, or SHA1 if absent (RFC4055)
pub fn mask_gen_algorithm_raw(&self) -> Option<&AlgorithmIdentifier<'_>>
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn mask_gen_algorithm_raw(&self) -> Option<&AlgorithmIdentifier<'_>>
rustls or boring or acme) and crate feature rustls only.Get a reference to the rsa ssa pss params’s mask generation algorithm.
pub fn mask_gen_algorithm(&self) -> Result<MaskGenAlgorithm<'_, '_>, X509Error>
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn mask_gen_algorithm(&self) -> Result<MaskGenAlgorithm<'_, '_>, X509Error>
rustls or boring or acme) and crate feature rustls only.Get the rsa ssa pss params’s mask generation algorithm.
If the algorithm encoding is invalid, raise an error InvalidAlgorithmIdentifier
pub fn salt_length(&self) -> u32
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn salt_length(&self) -> u32
rustls or boring or acme) and crate feature rustls only.Return the salt length
pub fn trailer_field(&self) -> u32
Available on (crate features rustls or boring or acme) and crate feature rustls only.
pub fn trailer_field(&self) -> u32
rustls or boring or acme) and crate feature rustls only.Return the trailer field (value must be 1 according to RFC4055)
Trait Implementations§
§impl CheckDerConstraints for RsaSsaPssParams<'_>
impl CheckDerConstraints for RsaSsaPssParams<'_>
§impl<'a> Debug for RsaSsaPssParams<'a>
impl<'a> Debug for RsaSsaPssParams<'a>
§impl<'a> PartialEq for RsaSsaPssParams<'a>
impl<'a> PartialEq for RsaSsaPssParams<'a>
§impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaSsaPssParams<'a>
impl<'a, 'b> TryFrom<&'b Any<'a>> for RsaSsaPssParams<'a>
§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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<'a, T, E> FromDer<'a, E> for Twhere
T: TryFrom<Any<'a>, Error = E> + CheckDerConstraints + DerAutoDerive,
E: From<Error> + Display + Debug,
impl<'a, T, E> FromDer<'a, E> for Twhere
T: TryFrom<Any<'a>, Error = E> + CheckDerConstraints + DerAutoDerive,
E: From<Error> + Display + Debug,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Create a new
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more