Function simple_asn1::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.
pub fn to_der(i: &ASN1Block) -> Result<Vec<u8>, ASN1EncodeErr>
Given an ASN1Block
, covert it to its DER encoding, or return an error
if something broke along the way.