Type Definition UtcTime
rasn::types
type UtcTime = DateTime<Utc>;
Alias for chrono::DateTime<Utc>.
chrono::DateTime<Utc>
impl AsnType for UtcTime
const TAG: Tag
The associated tag for the type.
impl Decode for UtcTime
fn decode_with_tag<D: Decoder>( decoder: &mut D, tag: Tag) -> Result<Self, D::Error>
Decode this value implicitly tagged with tag from a given ASN.1 decoder.
tag
fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, D::Error>
Decode this value from a given ASN.1 decoder. Read more
impl Encode for UtcTime
fn encode_with_tag<E: Encoder>( &self, encoder: &mut E, tag: Tag) -> Result<(), E::Error>
Encode this value implicitly tagged with tag into the given Decoder.
Decoder
fn encode<E: Encoder>(&self, encoder: &mut E) -> Result<(), E::Error>
Encodes self’s data into the given Encoder. Read more
self
Encoder