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