{"id":63951,"library":"asn1-rs","title":"ASN.1 RS","description":"Parser and encoder for ASN.1 BER/DER data, supporting a wide range of ASN.1 types.","status":"active","version":"0.7.2","language":"rust","source_language":null,"source_url":"https://github.com/rusticata/asn1-rs","tags":["asn1","ber","der","parser","encoder"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nasn1-rs = \"0.7.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add asn1-rs","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"from_der","correct":"use asn1_rs::from_der;"}],"quickstart":{"code":"use asn1_rs::from_der;\n\nfn main() -> Result<(), asn1_rs::Error> {\n    let data = &[0x02, 0x01, 0x2a]; // DER-encoded integer 42\n    let (_, integer) = from_der::<i32>(data)?;\n    println!(\"Decoded integer: {}\", integer);\n    Ok(())\n}","lang":"rust","description":"Decode a DER-encoded ASN.1 integer."},"warnings":[],"env_vars":null,"search_vec":"'asn.1':1,7,15 'asn1':17 'ber':18 'ber/der':8 'data':9 'der':19 'encod':5,21 'parser':3,20 'rang':13 'rs':2 'support':10 'type':16 'wide':12","created_at":"2026-06-17T16:49:56.477596+00:00","updated_at":"2026-06-17T16:49:56.477596+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rusticata/asn1-rs","github":"https://github.com/rusticata/asn1-rs","docs":"https://docs.rs/asn1-rs/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}