Trait asn1_der::IntoDerObject
source · [−]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
fn into_der_object(self) -> DerObject
fn into_der_object(self) -> DerObject
Converts self
into a DER object
fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Efficiently computes the length of the DER-serialized representation of self