Trait Tagged

Source
pub trait Tagged {
    // Required method
    fn tag(&self) -> Tag;
}
Expand description

Types which have an ASN.1 Tag.

Required Methods§

Source

fn tag(&self) -> Tag

Get the ASN.1 tag that this type is encoded with.

Implementations on Foreign Types§

Source§

impl Tagged for CertificateChoices

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for KeyAgreeRecipientIdentifier

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for OriginatorIdentifierOrKey

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for RecipientIdentifier

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for RecipientInfo

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for RevocationInfoChoice

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for SignerIdentifier

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for Evidence

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for TrustAnchorChoice

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for DisplayText

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for DirectoryString

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for DistributionPointName

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for GeneralName

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for Time

Source§

fn tag(&self) -> Tag

Source§

impl Tagged for ChallengePassword

Source§

fn tag(&self) -> Tag

Implementors§

Source§

impl Tagged for Any

Source§

impl Tagged for AnyRef<'_>

Source§

impl<'a, T> Tagged for ContextSpecificRef<'a, T>
where T: Tagged,

Source§

impl<'a, T> Tagged for EncodeValueRef<'a, T>
where T: Tagged,

Source§

impl<T> Tagged for ContextSpecific<T>
where T: Tagged,

Source§

impl<T> Tagged for T
where T: FixedTag,

Types which are FixedTag always have a known Tag type.