Commit Graph

157 Commits

Author SHA1 Message Date
p1-bmu 85e13731bc asn: cosmetic changes 2020-09-14 13:04:00 +02:00
mich e7ff2ae1a8 asn1rt: align function name 2020-09-01 16:34:53 +02:00
mich 887b72d3f8 asn1rt: keep track of potential enhancement for BIT STRING aper_ws encoding 2020-06-22 12:34:50 +02:00
mich a90faf02b6 asn1rt: fix aper_ws encoding of extension for constructed objects 2020-06-22 12:34:01 +02:00
mich decc023abd remove crappy non-ascii (hidden) characters 2020-06-16 16:59:50 +02:00
mich ed0e6b6bf3 asn1rt: fix an invalid space character in the ASN.1 encoding of SEQ OF 2020-06-15 09:58:20 +02:00
mich 527477bcb0 asn1rt: fix special setting of unknown values in OPEN type when encoding in ASN.1 2020-06-10 10:59:52 +02:00
mich 2d95a525a0 asn1rt: add value check on JER decoding for SEQ / SET 2020-04-27 15:00:44 +02:00
mich bdb01cc9e7 asn1rt: fix JER decoding for extended values in constructed object 2020-04-22 12:29:00 +02:00
mich f78c6c7765 asn1rt: add a check for named flags within BIT STRING 2020-03-13 09:46:26 +01:00
mich 0767017b74 asn1rt: align SEQ OF and SEQ to_asn1() method 2020-03-03 11:15:52 +01:00
mich 1e02958fdd asn1rt: fix setobj initiatialization after commit 0e5d538a introduced an error on extended value init 2020-03-03 11:07:22 +01:00
mich 6f2820f6c8 asn1rt: fix the support of empty SEQ OF values in plain ASN.1 text 2020-03-03 10:43:17 +01:00
mich 0e5d538ada asn1rt: take of not sorting ASN.1 set of heterogeneous values 2020-02-28 15:45:15 +01:00
mich 8b210fa223 asn1rt: remove unneeded commented lines 2020-02-25 16:04:07 +01:00
mich 222ec8ae4b asn1rt: add a method unset_val() to clean all sub-objects when a value is set 2020-02-25 16:01:40 +01:00
mich e5fcbfb594 asn1rt: add an almighty reset_val() method to reset the entire content of an ASN.1 object 2020-02-25 10:20:48 +01:00
mich c0c8d4ea82 asn1rt: fix OPEN type internal object lookup 2020-02-24 15:48:01 +01:00
mich c5c2803682 asn1rt: do not check INTEGER boundary when a named value is set 2020-02-24 10:08:00 +01:00
mich 6336b197fb asn1rt: fix the module name set under the _mod attribute of every compiled ASN.1 objects 2020-02-12 11:53:16 +01:00
mich 8387583687 asn1rt: add a method for converting value for named integers and bits 2019-12-17 12:43:42 +01:00
mich 5b1f664054 asn1rt: complete the support of named bits for BIT STRING 2019-12-17 11:24:56 +01:00
mich 13d4bf39dc asn1rt: complete the support of named value for INTEGER 2019-12-17 11:22:20 +01:00
mich d507a1876d asn1rt: remove set_val_unsafe() method as it is unused and confusing 2019-12-17 10:33:09 +01:00
mich 7368794113 asn1rt: reorder the table constraints to give the highest priority to the 1st constraints 2019-12-17 09:54:00 +01:00
mich f6cefd7aec asn1rt: add more checks to catch errors properly 2019-12-06 11:37:10 +01:00
mich d49c415405 asn1rt: rationalize and fix BER decoding of fragmented string types 2019-11-26 15:49:57 +01:00
mich c6cbedbdec asn1rt: refactor BER decoding of fragmented OCTET STRING 2019-11-26 15:25:55 +01:00
mich 97349c7311 asn1rt: fix length value in error handling in INT BER decoding 2019-11-26 15:24:27 +01:00
mich fdba28bf04 asn1rt: in codecs, change assert to proper error 2019-11-26 15:23:16 +01:00
mich da520da8f3 asn1rt: fix BER tag matching when table lookup is disabled for OPEN object 2019-11-19 10:59:46 +01:00
mich 21b60b9c43 asn1rt: extend blacklisting into the get_proto() method 2019-11-14 15:44:06 +01:00
mich 4d4c6f7870 asn1rt: support component blacklisting into get_proto() method 2019-11-04 17:52:21 +01:00
mich afc9849c4c asn1rt: fix BIT STRING named offset ASN.1 decoding 2019-10-30 16:02:55 +01:00
mich 5e7406d993 asn1c: fix constructed OPEN BER decoding with struct 2019-10-15 11:59:06 +02:00
mich 3b7140ae77 asn1rt: rationalize exception handling 2019-09-26 10:20:18 +02:00
mich 0efb1d29ef asn1rt: remover unneeded struct setting 2019-09-04 15:47:44 +02:00
mich 04dc704345 asn1rt: remove unneeded inspect dependency from init.py 2019-09-02 12:27:07 +02:00
mich caf4a4f9ca asn1rt: fix module initiatilization where CLASS can have a constructed key (e.g. SEQUENCE) 2019-09-02 12:20:30 +02:00
mich 7bfd7a892f asn1rt: fix the PER decoding of integers with a null length determinant 2019-07-19 11:58:25 +02:00
mich b445252d52 asn1rt: fix INTEGER low constraint value encoding 2019-07-15 12:40:19 +02:00
mich 1faa6310e5 asn1rt: fix the checking for presence of SEQUENCE mandatory components in the BER decoding 2019-07-10 11:35:30 +02:00
mich 6bcbd691c9 asn1rt: fix a log typo 2019-07-02 11:07:35 +02:00
mich d960f1f483 asn1rt: add experimental method to iter over all basic objects of any ASN.1 constructed / open type 2019-06-11 11:17:07 +02:00
Gary Coulbourne 50e3ab4dba
Fix ASN1 error reporting
The format contained three parameters, but only referenced 2 of them.  It had a %s rather than {} which resulted in incorrect error reporting.
2019-04-26 15:22:16 -04:00
mich 2f43c9b1c1 asn1rt: fix SEQ / SET extension PER encoding (bitmap prefix length) 2019-04-11 11:20:07 +02:00
mich de82fbd5d6 various fixes after testing compilation with cython 2019-04-01 13:01:25 +02:00
mich a629c38eb7 asn1rt: some cleanup 2019-03-15 17:51:26 +01:00
mich f0e8434a18 asn1rt: extend SEQ OF length limitation to the BER encoding 2019-03-12 10:28:07 +01:00
mich 36e8f7baf0 asn1rt: refactor SEQ OF length limitation 2019-03-12 09:46:08 +01:00