pub trait ToOpaque { fn to_opaque(&self) -> Result<Opaque, Error>; }
Helper trait for wrapping any valid ASN.1 type in an Opaque struct which first encodes the data into Basic Encoding Rules.
Opaque