NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #279 most downloaded on pub.dev
An ASN1 parser library for Dart. Encodes / decodes from ASN1 Objects to BER bytes
Last release 1 years ago
24 Jun 2025
Release timing varies
gaps range from 2 weeks to 6 months
Some releases are documented
notes for 27 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
65 releases · first in 2013
Relaxed the SDK constraint to allow Dart SDK 3.0 and above.
ASN1OctetString.toString() now returns bytes as a list instead of throwing an exception when the contents can not be decoded as a UTF-8 string.
The ASN1GeneralizedTime should not fail on decoding DateTime with single digit month, day, hour, minute or second.
One column per quarter.
The ASN1Object.hashCode method now uses the encodedBytes to calculate the hash code. This ensures that two objects that are equal (have the same encod
ASN1OctetString.toString() now returns the decoded bytes as a UTF-8 string. This is mostly for convenience / ergnomics. If you want the bytes as a lis
Breaking Change for encoding`ASN1OctetString("some string"). The default encoding to octets now uses utf8. See README.md for more information.
Added ASN1OctetString.utf8StringValue getter to return the decoded bytes as a UTF-8 string.
Removed the dependency on the collection package (only used in tests)
Fixes 73. You should be able to add more objects to a sequence and get encodedBytes between each add.
Equals method needs to use deep list equality!
Equals method was comparing unencoded object.
Add equals and hashCode to ASN1Object
- Fixes #68
Support the ability to parse objects with extended tags (more than one byte). #65
Make a number of fields final that should not be changed.
final that should not be changed.Fix null assertion when accessing valueBytes before encodedBytes.
Reverted parsing of APPLICATION tags to the older behavior. If the constructed bit is set, the tag is parsed as an ASN1Sequence. The recent updates br
Adds classes to handle non primitive classes: ASN1Application,ASN1ContextSpecific, ASN1Private.
encodeApplicationTagsAsObject option on ASN1Parser has been dropped as it
is now the default. Consumers should reparse bytes they know to be a sequence, etc.Fix #62. Allow context specific tags to be cast to an asn1 sequence.
- Fix #57
Fix #61. Adds a flag to the parser encodeApplicationTagsAsObject that will force APPLICATION objects to be encoded as ASN1Objects, skipping any attemp
encodeApplicationTagsAsObject that will
force APPLICATION objects to be encoded as ASN1Objects, skipping any attempt to create sequences.fix: Use the correct value for unusedBits in ASN1BitString.fromBytes
unusedBits in ASN1BitString.fromBytesAdd optional flag whether to relax parsing, off by default, for backwards-compatibility
- Add ASN1BMPString support
Better toString() for ASN1ObjectIdentifier
- Add ASN1NumericString support
Bumped to 1.0.0 as this is now null safe
Merged #30
Merged #29
Merged #28
Add ASN1UTF8String
Merged #27
Updates to ASN1ObjectIdentifier to:
Fixed #26
Add AS1Integer.fromInt factory method
contentBytes() getterNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →