pub trait IntoDerObject where
    Self: Sized
{ fn into_der_object(self) -> DerObject;
fn serialized_len(&self) -> usize; fn serialize<'a>(
        self,
        buf: impl Iterator<Item = &'a mut u8>
    ) -> Result<usize, Asn1DerError> { ... } }
Expand description

A trait for converting native elements into a DER object

Required methods

Converts self into a DER object

Efficiently computes the length of the DER-serialized representation of self

Provided methods

DER-serializes self into buf and returns the amount of bytes written

Implementations on Foreign Types

Implementors