Crates.io | rasn-smi |
lib.rs | rasn-smi |
version | |
source | src |
created_at | 2021-07-18 19:26:22.62725 |
updated_at | 2024-10-18 09:27:22.785469 |
description | Data types for handling Structure for Management Information |
homepage | |
repository | https://github.com/librasn/rasn.git |
max_upload_size | |
id | 424460 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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: &[u8] = &[];
// Decode object from BER.
let object: rasn_smi::v2::ObjectSyntax = rasn::ber::decode(&data).unwrap();
// Encode it back into DER
let data = rasn::der::encode(&object).unwrap();