Structure of Management Information
rasn-smi
is an implementation of the ASN.1 data types from the IETF RFCs
1155 and 2578 on the Structure of Management Information the [rasn
]
codec framework. These definitions are both transport layer agnostic,
and encoding rule agnostic.
// Replace with your data.
let data: & = &;
// Decode object from BER.
let object: ObjectSyntax = decode.unwrap;
// Encode it back into DER
let data = encode.unwrap;