quantcrypt::content

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.