Adam Wick
56f0c5a9ba
Merge pull request #7 from Flakebi/master
...
Reduce num dependencies, improve class implementation and add explicit tags
2018-12-14 08:17:58 -08:00
Flakebi
b678c70508
Reduce num dependencies, improve class implementation and add explicit tags
...
The default datatypes always have Universal as their class. If we
encounter another class while parsing, it is a tagged block.
I am not sure how (and if at all) we can distinguish explicitly and
implicitly tagged data. For now they should be parsed as unknown (or
explicit if they are a valid ASN.1 block).
2018-12-09 12:01:01 +01:00
84bd0c6642
Bump version to get tag change.
2018-11-16 10:32:32 -08:00
Adam Wick
988338dacc
Merge pull request #6 from mehcode/feature/constructed
...
Encode primitive vs constructed form
2018-11-16 10:31:11 -08:00
Ryan Leckey
9f22f1dde0
Set bit 5 for SEQUENCE 0x10 and SET 0x11 to indicate constructed encoding
2018-11-14 21:12:13 -08:00
13ff3a0c19
Bump version number.
2018-11-04 15:25:56 -08:00
823fc31f6f
Add Display and Error implementations for ASN1DecodeError, plus some context.
2018-10-26 12:04:31 -07:00
bdb8f7f8aa
Make ASN1EncodeErr an instance of std::Error.
2018-10-26 09:25:05 -07:00
484ccef3fb
Remove a warning that's not entirely helpful.
2018-10-26 09:24:37 -07:00
Adam Wick
daf9cf18fd
Merge pull request #3 from mehcode/feature/up
...
Upgrade dependencies
2018-10-23 15:07:27 -07:00
Ryan Leckey
939621b8c4
Upgrade dependencies
2018-10-23 12:42:44 -07:00
f89c6d9be6
Fix comment around ToASN1.
2018-01-16 17:45:03 -08:00
cbed82a205
Slowly learning the Cargo keyword syntax through errors.
2017-12-26 18:16:31 -08:00
155fe48e7f
Add description, fix keywords.
2017-12-26 18:15:21 -08:00
c9d9a9b57f
Travis support?
2017-12-26 18:07:22 -08:00
f6b39d7003
Documentation!
2017-12-26 18:06:23 -08:00
dc1fd79886
Add generic operators for ASN1Blocks.
2017-12-21 22:27:21 -08:00
c6a7d3039c
Add the ability to capture start indexes of components, and variants of FromASN1 that require the body contents.
2017-12-21 21:44:06 -08:00
5e8dde500e
Shift import into test module to avoid warning.
2017-12-21 16:56:56 -08:00
762b9b2fa4
Add time value support.
2017-12-19 10:21:36 -08:00
89cf0a25b5
Support more string types.
2017-12-11 21:31:57 -08:00
dd281edcd1
Add support for printable strings.
2017-12-10 21:54:01 -08:00
5328ade70e
Add README and LICENSE
2017-11-14 15:51:18 -08:00
018770f711
Generic traits for dealing with ASN1.
2017-11-14 14:55:01 -08:00
b9594c9fb4
Ignore read result.
2017-11-14 14:54:46 -08:00
7134b205d4
Factor out OIDs into their own structure, with relevant functions and macros.
2017-11-14 14:54:10 -08:00
827aa0e74e
Initial parser.
2017-11-06 14:47:27 -08:00