logo
pub trait EncodeValue {
    fn value_len(&self) -> Result<Length>;
fn encode_value(&self, encoder: &mut Encoder<'_>) -> Result<()>; fn header(&self) -> Result<Header>
    where
        Self: Tagged
, { ... } }
Expand description

Encode the value part of a Tag-Length-Value encoded field, sans the Tag and Length.

Required methods

Compute the length of this value (sans Tag+Length header) when encoded as ASN.1 DER.

Encode value (sans Tag+Length header) as ASN.1 DER using the provided Encoder.

Provided methods

Get the Header used to encode this value.

Implementations on Foreign Types

Implementors