pub trait ToOpaque {
    fn to_opaque(&self) -> Result<Opaque, Error>;
}
Expand description

Helper trait for wrapping any valid ASN.1 type in an Opaque struct which first encodes the data into Basic Encoding Rules.

Required Methods

Implementors