pub trait DerTypeView<'a>: Sized {
    const TAG: u8;

    // Required method
    fn object(&self) -> DerObject<'a>;
}
Expand description

A trait for DER type views

Required Associated Constants§

source

const TAG: u8

The tag for this type

Required Methods§

source

fn object(&self) -> DerObject<'a>

Provides raw access to the underlying DerObject

Implementors§

source§

impl<'a> DerTypeView<'a> for Boolean<'a>

source§

const TAG: u8 = 1u8

source§

impl<'a> DerTypeView<'a> for Integer<'a>

source§

const TAG: u8 = 2u8

source§

impl<'a> DerTypeView<'a> for Null<'a>

source§

const TAG: u8 = 5u8

source§

impl<'a> DerTypeView<'a> for OctetString<'a>

source§

const TAG: u8 = 4u8

source§

impl<'a> DerTypeView<'a> for Sequence<'a>

source§

const TAG: u8 = 48u8

source§

impl<'a> DerTypeView<'a> for Utf8String<'a>

source§

const TAG: u8 = 12u8