rocket::mtls::oid::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<'a> CheckDerConstraints for &'a str

Source§

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

Source§

impl<'a> CheckDerConstraints for bool

Source§

impl<'a> CheckDerConstraints for f32

Source§

impl<'a> CheckDerConstraints for f64

Source§

impl<'a> CheckDerConstraints for i8

Source§

impl<'a> CheckDerConstraints for i16

Source§

impl<'a> CheckDerConstraints for i32

Source§

impl<'a> CheckDerConstraints for i64

Source§

impl<'a> CheckDerConstraints for i128

Source§

impl<'a> CheckDerConstraints for u8

Source§

impl<'a> CheckDerConstraints for u16

Source§

impl<'a> CheckDerConstraints for u32

Source§

impl<'a> CheckDerConstraints for u64

Source§

impl<'a> CheckDerConstraints for u128

Source§

impl<'a> CheckDerConstraints for ()

Implementors§

Source§

impl CheckDerConstraints for Any<'_>

Source§

impl CheckDerConstraints for EmbeddedPdv<'_>

Source§

impl CheckDerConstraints for Enumerated

Source§

impl CheckDerConstraints for Null

Source§

impl CheckDerConstraints for UtcTime

Source§

impl<'a> CheckDerConstraints for Real

Source§

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

Source§

impl<'a> CheckDerConstraints for String

Source§

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

Source§

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

Source§

impl<'a> CheckDerConstraints for Boolean

Source§

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

Source§

impl<'a> CheckDerConstraints for GeneralizedTime

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<'a, T, const CLASS: u8, const TAG: u32> CheckDerConstraints for TaggedValue<T, Explicit, CLASS, TAG>

Source§

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

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 SequenceOf<T>

Source§

impl<T> CheckDerConstraints for SetOf<T>