asn1lib 0.1.1 copy "asn1lib: ^0.1.1" to clipboard
asn1lib: ^0.1.1 copied to clipboard

outdatedDart 1 only

An ASN1 parser library for Dart. Encodes / decodes from ASN1 Objects to BER bytes

An ASN.1 Parser for Dart.

Encodes & decodes ASN1 using BER encoding.

There is just enough implementation here to get an LDAP client library working.

Sample

 var s = new ASN1Sequence();
s.add( new ASN1Integer(23));
s.add( new ASN1OctetString('This is a test'));
s.add( new ASN1Boolean(true));

// GET the BER Stream
var bytes = s.encodedBytes;

// decode
var p = new ASN1Parser(bytes);
var s2 = p.nextObject();
// s2 is a sequence...
17
likes
0
pub points
97%
popularity

Publisher

unverified uploader

An ASN1 parser library for Dart. Encodes / decodes from ASN1 Objects to BER bytes

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on asn1lib