Trait picky_asn1::Asn1Type

source ·
pub trait Asn1Type {
    const TAG: Tag;
    const NAME: &'static str;
}

Required Associated Constants§

source

const TAG: Tag

source

const NAME: &'static str

Implementations on Foreign Types§

source§

impl Asn1Type for String

source§

const TAG: Tag = Tag::UTF8_STRING

source§

const NAME: &'static str = "String"

source§

impl Asn1Type for u128

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = "u128"

source§

impl Asn1Type for ()

source§

const TAG: Tag = Tag::NULL

source§

const NAME: &'static str = "()"

source§

impl Asn1Type for u16

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = "u16"

source§

impl Asn1Type for u8

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = "u8"

source§

impl Asn1Type for bool

source§

const TAG: Tag = Tag::BOOLEAN

source§

const NAME: &'static str = "bool"

source§

impl Asn1Type for u64

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = "u64"

source§

impl Asn1Type for u32

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = "u32"

Implementors§

source§

impl Asn1Type for BitStringAsn1

source§

const TAG: Tag = Tag::BIT_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for BmpStringAsn1

source§

const TAG: Tag = Tag::BMP_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for GeneralStringAsn1

source§

const TAG: Tag = Tag::GENERAL_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for GeneralizedTimeAsn1

source§

const TAG: Tag = Tag::GENERALIZED_TIME

source§

const NAME: &'static str = _

source§

impl Asn1Type for Ia5StringAsn1

source§

const TAG: Tag = Tag::IA5_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for IntegerAsn1

source§

const TAG: Tag = Tag::INTEGER

source§

const NAME: &'static str = _

source§

impl Asn1Type for NumericStringAsn1

source§

const TAG: Tag = Tag::NUMERIC_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for ObjectIdentifierAsn1

source§

const TAG: Tag = Tag::OID

source§

const NAME: &'static str = _

source§

impl Asn1Type for OctetStringAsn1

source§

const TAG: Tag = Tag::OCTET_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for PrintableStringAsn1

source§

const TAG: Tag = Tag::PRINTABLE_STRING

source§

const NAME: &'static str = _

source§

impl Asn1Type for UtcTimeAsn1

source§

const TAG: Tag = Tag::UTC_TIME

source§

const NAME: &'static str = _

source§

impl Asn1Type for Utf8StringAsn1

source§

const TAG: Tag = Tag::UTF8_STRING

source§

const NAME: &'static str = _

source§

impl<Encapsulated> Asn1Type for BitStringAsn1Container<Encapsulated>

source§

const TAG: Tag = Tag::BIT_STRING

source§

const NAME: &'static str = _

source§

impl<Encapsulated> Asn1Type for OctetStringAsn1Container<Encapsulated>

source§

const TAG: Tag = Tag::OCTET_STRING

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for Asn1SequenceOf<T>

source§

const TAG: Tag = Tag::SEQUENCE

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for Asn1SetOf<T>

source§

const TAG: Tag = Tag::SET

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag0<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag1<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag2<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag3<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag4<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag5<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag6<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag7<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag8<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag9<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag10<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag11<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag12<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag13<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag14<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ExplicitContextTag15<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag0<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag1<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag2<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag3<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag4<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag5<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag6<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag7<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag8<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag9<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag10<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag11<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag12<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag13<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag14<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T> Asn1Type for ImplicitContextTag15<T>

source§

const TAG: Tag = _

source§

const NAME: &'static str = _

source§

impl<T: Asn1Type> Asn1Type for HeaderOnly<T>

source§

const TAG: Tag = T::TAG

source§

const NAME: &'static str = "HeaderOnly"