Commit Graph

157 Commits

Author SHA1 Message Date
mitshell 91e5306dee asn1rt: make BER decoding little bit faster 2018-03-09 08:17:09 +01:00
mitshell 401e80e18c bump version to 0.3 2018-02-09 22:23:26 +01:00
mitshell 32b93a4b6a asn1rt: fix ENUM value check 2018-02-09 22:00:34 +01:00
mitshell ccbe0fc50b asn1rt: enhance logging and failure handling when decoding OPEN type 2017-12-15 21:26:52 +01:00
mitshell 0d36bac656 asn1rt: fix ENUM init routine 2017-12-15 21:20:57 +01:00
mitshell f3d255658a all errors now inherit from PyrateErr 2017-12-15 21:19:59 +01:00
mitshell a738f28b99 asn1rt: fix UTCTime and GeneralizedTime PER encoding 2017-12-15 21:14:48 +01:00
mitshell 53ff7fbe6f
asn1rt: fix APER encoding of raw buffer with size constraint 2017-11-29 16:07:13 +01:00
mitshell 979c748c9f asn1rt: add INTEGER named value setting 2017-11-26 12:09:36 +01:00
mitshell 143644e76b asn1rt: add BIT STRING named offsets setting and encoding 2017-11-26 12:08:49 +01:00
mitshell 56dda191c0 asn1rt: add bound checking for OPEN objects 2017-11-26 12:07:15 +01:00
mitshell ef31fc0fa5 asn1rt: fix empty SEQUENCE (/SET) OF PER encoding 2017-11-26 12:06:46 +01:00
mitshell 2a6325399f asn1rt: add wrapper to core objects 2017-11-12 15:44:58 +01:00
mitshell 0dcbd38a76 remove the crappy copyright sign 2017-11-12 14:43:59 +01:00
mitshell 652a368df9 asn1c: typo in docstr 2017-10-13 21:31:29 +02:00
mitshell caa0f657fb version: bump to 0.2 2017-10-06 23:03:13 +02:00
mitshell c5e1297fdf asn1c / asn1rt: better dictobj repr 2017-10-06 22:42:49 +02:00
mitshell 738bc9a15f asn1rt: add some dependency graph processing 2017-10-06 22:34:12 +02:00
mitshell a9770d8653 asn1rt: better STR ASN.1 repr 2017-10-06 22:33:30 +02:00
mitshell e4f770a231 asn1rt: bug fixes 2017-10-06 22:32:08 +02:00
mitshell 3f01b3449b asn1rt: fix INTEGER asn encoding in Python2 2017-09-01 22:04:28 +02:00
mitshell 6077552ca9 asn1rt: fix Python2 support for REAL encoding / decoding 2017-09-01 21:47:54 +02:00
mitshell aa68569466 asn1rt: new functions to extract subpart of ASN.1 objects or values by giving path 2017-08-31 23:25:16 +02:00
mitshell 98978a06e6 asn1rt: only populate GLOBAL.OID with valid OID at module init 2017-08-31 23:24:07 +02:00
mitshell c6d7329eb3 asn1rt: make generic BER encoding and decoding perfectly reversible 2017-08-31 23:23:24 +02:00
mitshell 7cd6240452 asn1rt: minor bugfix in asnobj_str.py 2017-08-31 23:22:12 +02:00
mitshell 8d75ef6f27 asn1rt: minor bugfixes in asnobj_ext.py 2017-08-31 23:21:35 +02:00
mitshell 9bc362c648 asn1rt: hacky support for the last component of a SEQ / SET, when it is an OPEN object 2017-08-31 23:20:54 +02:00
mitshell b251f8156f asn1rt: minor bugfixes in asnobj_construct.py 2017-08-31 23:19:48 +02:00
mitshell 44a37e8b45 asn1rt: fix bug in top level object decoding 2017-08-31 23:18:50 +02:00
mitshell 061d4af60f asn1rt: better handling of table constraint lookup 2017-08-31 23:18:03 +02:00
mitshell ceb299ef55 asn1rt: log with fullname in OPEN object 2017-08-27 23:39:38 +02:00
mitshell f98b911100 asn1rt: fix and ease the handling of OPEN internal object when using BER 2017-08-27 23:39:09 +02:00
mitshell 89a44358fb asn1rt: fix OPEN BER encoding / decoding and decorrelate unknown tag / class from value 2017-08-27 23:37:08 +02:00
mitshell e6e3f820b7 asn1rt: extend and cache all constraints object in OPEN 2017-08-27 23:34:13 +02:00
mitshell 6ed29c47a1 asn1rt: fix SEQUENCE BER decoding 2017-08-27 23:32:20 +02:00
mitshell 0d2b4c0136 asn1rt: log with fullname in constructed objects 2017-08-27 23:30:58 +02:00
mitshell 75a03e949a asn1rt: fix CLASS set value extraction for non-existent identifier 2017-08-27 23:28:06 +02:00
mitshell d78aff90f7 asn1rt: add extra info when encoding bit str to asn1 2017-08-27 23:26:59 +02:00
mitshell 37161f0d1c asn1rt: fix and extend the handling of CONTAINING constraint in bit and octet str 2017-08-27 23:26:29 +02:00
mitshell d11e898622 asn1rt: fix time generic asn1 encoding 2017-08-27 23:22:54 +02:00
mitshell 6bff3fcf36 asn1rt: add extra info when encoding time utc to asn1 2017-08-27 23:22:26 +02:00
mitshell d8500c22df asn1rt: add extra info when encoding int and oid to asn1 2017-08-27 23:21:04 +02:00
mitshell 172852ab49 asn1rt: change default BER decoding to decode a single object 2017-08-27 23:20:04 +02:00
mitshell 6ff1c718ea asn1rt: few fixes in ASN1Obj 2017-08-27 23:19:07 +02:00
mitshell 6ba99161e8 asn1rt: add a step and exception in table lookup 2017-08-27 23:18:10 +02:00
mitshell c392a298e0 asn1rt: populate GLOBAL.OID dict at init 2017-08-27 23:16:42 +02:00
mitshell 7d7fdd0138 asn1rt: add content reverse dict at init, for int and bitstr 2017-08-27 23:15:27 +02:00
mitshell bccdae140b asn1rt: add 2 methods in the BER decoder 2017-08-27 23:13:49 +02:00
mitshell b1d40d0318 asn1rt: few fixes in BER codec 2017-08-27 23:12:51 +02:00
mitshell 58bf92ae5f asn1rt: add OID table into GLOBAL 2017-08-27 22:32:38 +02:00
mitshell 8d78837c8d asn1rt: add few functions in utils.py 2017-08-27 22:31:57 +02:00
mitshell 45d90b58fc pycrate_asn1rt: fix BIT STRING with fixed sz constraint APER-encoding 2017-07-12 22:45:44 +02:00
mitshell 2ebe34a29f pycrate_asn1rt: fix OPEN type object value ASN1-encoding 2017-07-12 22:43:57 +02:00
mitshell bbdbcc31e6 pycrate_asn1rt: enable empty list for SEQ OF / SET OF value to be PER-encoded 2017-07-12 22:42:27 +02:00
mitshell b97609e996 pycrate_asn1rt: enforce buffer length when PER-decoding types wrapped in an OPEN type 2017-07-12 22:41:14 +02:00
mitshell c05deb68a2 initial commit of the src code 2017-07-04 23:12:41 +02:00