simple_asn1

Function to_der

source
pub fn to_der(i: &ASN1Block) -> Result<Vec<u8>, ASN1EncodeErr>
Expand description

Given an ASN1Block, covert it to its DER encoding, or return an error if something broke along the way.