rocket::mtls::x509::der_parser::asn1_rs

Trait CheckDerConstraints

Source
pub trait CheckDerConstraints {
    // Required method
    fn check_constraints(any: &Any<'_>) -> Result<(), Error>;
}
Available on crate feature mtls only.
Expand description

Verification of DER constraints

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CheckDerConstraints for bool

Source§

impl CheckDerConstraints for f32

Source§

impl CheckDerConstraints for f64

Source§

impl CheckDerConstraints for i8

Source§

impl CheckDerConstraints for i16

Source§

impl CheckDerConstraints for i32

Source§

impl CheckDerConstraints for i64

Source§

impl CheckDerConstraints for i128

Source§

impl CheckDerConstraints for u8

Source§

impl CheckDerConstraints for u16

Source§

impl CheckDerConstraints for u32

Source§

impl CheckDerConstraints for u64

Source§

impl CheckDerConstraints for u128

Source§

impl CheckDerConstraints for ()

Source§

impl<'a> CheckDerConstraints for &'a str

Source§

impl<'a> CheckDerConstraints for &'a [u8]

Implementors§

Source§

impl CheckDerConstraints for GeneralName<'_>

Source§

impl CheckDerConstraints for Real

Source§

impl CheckDerConstraints for RsaAesOaepParams<'_>

Source§

impl CheckDerConstraints for RsaSsaPssParams<'_>

Source§

impl CheckDerConstraints for String

Source§

impl CheckDerConstraints for Any<'_>

Source§

impl CheckDerConstraints for Boolean

Source§

impl CheckDerConstraints for EmbeddedPdv<'_>

Source§

impl CheckDerConstraints for Enumerated

Source§

impl CheckDerConstraints for GeneralizedTime

Source§

impl CheckDerConstraints for Null

Source§

impl CheckDerConstraints for UtcTime

Source§

impl<'a> CheckDerConstraints for Oid<'a>

Source§

impl<'a> CheckDerConstraints for BitString<'a>

Source§

impl<'a> CheckDerConstraints for BmpString<'a>

Source§

impl<'a> CheckDerConstraints for GeneralString<'a>

Source§

impl<'a> CheckDerConstraints for GraphicString<'a>

Source§

impl<'a> CheckDerConstraints for Ia5String<'a>

Source§

impl<'a> CheckDerConstraints for Integer<'a>

Source§

impl<'a> CheckDerConstraints for NumericString<'a>

Source§

impl<'a> CheckDerConstraints for ObjectDescriptor<'a>

Source§

impl<'a> CheckDerConstraints for OctetString<'a>

Source§

impl<'a> CheckDerConstraints for PrintableString<'a>

Source§

impl<'a> CheckDerConstraints for Sequence<'a>

Source§

impl<'a> CheckDerConstraints for Set<'a>

Source§

impl<'a> CheckDerConstraints for TeletexString<'a>

Source§

impl<'a> CheckDerConstraints for UniversalString<'a>

Source§

impl<'a> CheckDerConstraints for Utf8String<'a>

Source§

impl<'a> CheckDerConstraints for VideotexString<'a>

Source§

impl<'a> CheckDerConstraints for VisibleString<'a>

Source§

impl<'a, T> CheckDerConstraints for TaggedParser<'a, Explicit, T>

Source§

impl<'a, T> CheckDerConstraints for TaggedParser<'a, Implicit, T>

Source§

impl<'ber, 'a> CheckDerConstraints for EcdsaSigValue<'a>
where 'ber: 'a,

Source§

impl<'ber, 'a> CheckDerConstraints for AlgorithmIdentifier<'a>
where 'ber: 'a,

Source§

impl<'ber, 'a> CheckDerConstraints for PolicyMapping<'a>
where 'ber: 'a,

Source§

impl<T> CheckDerConstraints for Option<T>

Source§

impl<T> CheckDerConstraints for BTreeSet<T>

Source§

impl<T> CheckDerConstraints for HashSet<T>

Source§

impl<T> CheckDerConstraints for Vec<T>

Source§

impl<T> CheckDerConstraints for SequenceOf<T>

Source§

impl<T> CheckDerConstraints for SetOf<T>

Source§

impl<T, E, const CLASS: u8, const TAG: u32> CheckDerConstraints for TaggedValue<T, E, Explicit, CLASS, TAG>

Source§

impl<T, E, const CLASS: u8, const TAG: u32> CheckDerConstraints for TaggedValue<T, E, Implicit, CLASS, TAG>