Commit Graph

2047 Commits

Author SHA1 Message Date
Lev Walkin 286477433b comments added to highlight transfer syntax compatibility 2017-09-12 11:07:06 -07:00
Lev Walkin 9023deafc9 naming correctness fix 2017-09-11 08:40:15 -07:00
Lev Walkin c66ccbcae5 duplicate identifier fix 2017-09-11 07:08:54 -07:00
Lev Walkin f6e04b5522 ignore single value constraint which looks like a (bit)string itself 2017-09-11 06:51:21 -07:00
Lev Walkin 59165cf2ae reorganized parsing around constraints 2017-09-11 06:24:45 -07:00
Lev Walkin 2701dc2a2d CVE-2017-12966 verified not present 2017-09-09 23:27:34 -07:00
Lev Walkin 77f65c9759 remove extra log 2017-09-08 00:27:49 -07:00
Lev Walkin bf979156ac parse a variant of value constraint 2017-09-07 23:36:11 -07:00
Lev Walkin 0c68645c5c updated parsing bnf 2017-09-07 22:59:36 -07:00
Lev Walkin 2d0effcac2 -lm for REAL 2017-09-07 02:06:55 -07:00
Lev Walkin be518fac4c ENUMERATION can not be empty 2017-09-07 02:05:28 -07:00
Lev Walkin 154519a3a7 removed superfluous constraints duplication 2017-09-06 23:34:40 -07:00
Lev Walkin b7a202e567 check length size in default BMPString and UniversalString constraints 2017-09-06 23:19:48 -07:00
Lev Walkin 86526e3fe6 compare BIT STRING as well 2017-09-06 23:16:13 -07:00
Lev Walkin 4ef01a249d prohibit encoding universalstring of non-modulo-multiplier size 2017-09-06 22:54:39 -07:00
Lev Walkin d523ea454d parse advanced WITH COMPONENTS 2017-09-06 22:15:08 -07:00
Lev Walkin 8460940d54 typo fixes 2017-09-06 16:40:58 -07:00
Lev Walkin 55255f9c95 lang fixes 2017-09-06 10:56:57 -07:00
Lev Walkin 80c7de80ef linked details 2017-09-06 10:54:32 -07:00
Lev Walkin 61b660f541 standards interoperability table 2017-09-06 10:53:39 -07:00
Lev Walkin 774fbdc832 standards interoperability table 2017-09-06 10:40:48 -07:00
Lev Walkin 5efafc56b4 early suggestion of -fcompound-names 2017-09-05 03:43:00 -07:00
Lev Walkin c17e14e66b removed extra debug 2017-09-05 03:31:46 -07:00
Lev Walkin b46156d9be naming abstraction 2017-09-05 02:53:05 -07:00
Lev Walkin e4ea175004 regenerated 2017-09-05 02:52:19 -07:00
Lev Walkin fe4e047ee7 added Ieee1609Dot2Data example 2017-09-04 22:34:50 -07:00
Lev Walkin c280c80452 added random examples 2017-08-31 02:27:25 -07:00
Lev Walkin 1a503896a5 fix streaming 2017-08-31 02:15:44 -07:00
Lev Walkin 28ba9db629 retain DEFAULT encoding in XER output (std) 2017-08-31 02:15:43 -07:00
Lev Walkin 3b6cba5717 xer->oer->xer 2017-08-31 02:15:43 -07:00
Lev Walkin 09bec4606c ignore default values in COER 2017-08-31 01:31:43 -07:00
Lev Walkin 71191ba9f0 fix warnings 2017-08-31 01:00:00 -07:00
Lev Walkin fc89b9d2bc encode BIT STRING and CHOICE for OER 2017-08-31 00:54:38 -07:00
Lev Walkin f4e9943bc5 OER typo 2017-08-30 20:28:02 -07:00
Lev Walkin e0f2a5b46b 0..MAX is unsigned in constraints 2017-08-30 20:21:52 -07:00
Lev Walkin 6713bcb012 0..MAX constraint is positive for OER 2017-08-30 20:21:52 -07:00
Lev Walkin 5994072b98 decode works now 2017-08-30 20:21:52 -07:00
Lev Walkin cfc16d354a BIT STRING decode for OER 2017-08-30 20:21:50 -07:00
Lev Walkin aa7c5a635a NULL OER encode/decode 2017-08-30 20:21:38 -07:00
Lev Walkin c6bd359a08 decode SET OF OER, file 2017-08-30 20:21:35 -07:00
Lev Walkin 96f9921b09 decode SET OF in OER 2017-08-29 23:38:31 -07:00
Lev Walkin 84382cc1f5 fix infinite recursion in constraints 2017-08-29 22:06:03 -07:00
Lev Walkin dfc9314a6d fix issue #195 2017-08-28 23:34:51 -07:00
Lev Walkin 290b4d6918 https://github.com/vlm/asn1c/issues/161 2017-08-28 17:48:35 -07:00
Ryan Sleevi a93d9971d2 Add unittest, which revealed that default booleans were not set properly 2017-08-28 17:37:09 -07:00
Ryan Sleevi ae8a6e4de5 Don't DER encode the default value of SEQUENCE/SET elements
Per X.690 (2002), Section 11.5, for DER, set and sequence values should not
include elements equal to their default value.

This was already handled by the UPER encoder, but not by the DER
encoder.
2017-08-28 17:33:46 -07:00
Lev Walkin 135d7dd4e1 pull extensions for aliased types 2017-08-28 00:21:38 -07:00
Lev Walkin 0c54f3d05d more debug 2017-08-28 00:21:15 -07:00
Lev Walkin 94fc4186de fixed constraint reference 2017-08-28 00:14:59 -07:00
Lev Walkin 20dc624722 new tests 2017-08-27 23:48:46 -07:00