pub trait FixedTag {
    const TAG: Tag;
}
Available on crate feature pkcs8 only.
Expand description

Types which have a constant ASN.1 Tag.

Required Associated Constants§

const TAG: Tag

ASN.1 tag

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl FixedTag for bool

§

const TAG: Tag = Tag::Boolean

§

impl FixedTag for i8

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for i16

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for i32

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for i64

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for i128

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for str

§

const TAG: Tag = Tag::Utf8String

§

impl FixedTag for u8

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for u16

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for u32

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for u64

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for u128

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for ()

§

const TAG: Tag = Tag::Null

§

impl FixedTag for String

Available on crate feature alloc only.
§

const TAG: Tag = Tag::Utf8String

§

impl FixedTag for SystemTime

Available on crate feature std only.
§

const TAG: Tag = Tag::GeneralizedTime

§

impl FixedTag for Version

§

const TAG: Tag = Tag::Integer

§

impl<T> FixedTag for Vec<T>

Available on crate feature alloc only.
§

const TAG: Tag = Tag::Sequence

§

impl<T, const N: usize> FixedTag for [T; N]

§

const TAG: Tag = Tag::Sequence

Implementors§

§

impl FixedTag for Document

§

const TAG: Tag = Tag::Sequence

§

impl FixedTag for ObjectIdentifier

§

const TAG: Tag = Tag::ObjectIdentifier

§

impl FixedTag for BitString

§

const TAG: Tag = Tag::BitString

§

impl FixedTag for BmpString

§

const TAG: Tag = Tag::BmpString

§

impl FixedTag for GeneralizedTime

§

const TAG: Tag = Tag::GeneralizedTime

§

impl FixedTag for Ia5String

§

const TAG: Tag = Tag::Ia5String

§

impl FixedTag for Int

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for Null

§

const TAG: Tag = Tag::Null

§

impl FixedTag for OctetString

§

const TAG: Tag = Tag::OctetString

§

impl FixedTag for OctetStringRef<'_>

§

const TAG: Tag = Tag::OctetString

§

impl FixedTag for PrintableString

§

const TAG: Tag = Tag::PrintableString

§

impl FixedTag for TeletexString

§

const TAG: Tag = Tag::TeletexString

§

impl FixedTag for Uint

§

const TAG: Tag = Tag::Integer

§

impl FixedTag for UtcTime

§

const TAG: Tag = Tag::UtcTime

§

impl FixedTag for Utf8StringRef<'_>

§

const TAG: Tag = Tag::Utf8String

§

impl FixedTag for VideotexStringRef<'_>

§

const TAG: Tag = Tag::VideotexString

§

impl FixedTag for DateTime

§

const TAG: Tag = Tag::GeneralizedTime

§

impl<'a> FixedTag for BitStringRef<'a>

§

const TAG: Tag = Tag::BitString

§

impl<'a> FixedTag for Ia5StringRef<'a>

§

const TAG: Tag = Tag::Ia5String

§

impl<'a> FixedTag for IntRef<'a>

§

const TAG: Tag = Tag::Integer

§

impl<'a> FixedTag for PrintableStringRef<'a>

§

const TAG: Tag = Tag::PrintableString

§

impl<'a> FixedTag for TeletexStringRef<'a>

§

const TAG: Tag = Tag::TeletexString

§

impl<'a> FixedTag for UintRef<'a>

§

const TAG: Tag = Tag::Integer

§

impl<'a, S> FixedTag for S
where S: Sequence<'a>,

§

const TAG: Tag = Tag::Sequence

§

impl<'a, T, const N: usize> FixedTag for SetOf<T, N>
where T: Decode<'a> + DerOrd,

§

const TAG: Tag = Tag::Set

§

impl<T> FixedTag for SetOfVec<T>
where T: DerOrd,

Available on crate feature alloc only.
§

const TAG: Tag = Tag::Set

§

impl<T, const N: usize> FixedTag for SequenceOf<T, N>

§

const TAG: Tag = Tag::Sequence