Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | copyright dates bumped | elie | 2015-12-29 | 17 | -17/+17 |
| | |||||
* | copyright notice added | elie | 2015-11-15 | 17 | -0/+102 |
| | |||||
* | avoid unicode literalsrelease_0_1_9_tag | elie | 2015-09-28 | 1 | -1/+4 |
| | |||||
* | Fix to CER/DER Boolean decoder - fail on non single-octet payload. | elie | 2015-09-15 | 1 | -0/+10 |
| | | | | Thanks to Alex Gaynor for pointing out! | ||||
* | fix to ObjectIdentifier initialization from unicode string | elie | 2015-09-10 | 1 | -0/+2 |
| | |||||
* | CER/DER Time types encoding restrictions relaxed | elie | 2015-06-21 | 1 | -9/+9 |
| | |||||
* | GeneralizedTime test removed | elie | 2015-06-06 | 1 | -9/+11 |
| | |||||
* | compatibility fixes to Python versions support | elie | 2015-04-26 | 2 | -11/+13 |
| | |||||
* | tests for character types added | elie | 2015-04-26 | 2 | -2/+26 |
| | |||||
* | more strict CER/DER encoders added for GeneralizedTime and UTCTime types | elie | 2015-04-26 | 1 | -1/+68 |
| | |||||
* | multiple fixes to test coverage | elie | 2015-04-26 | 3 | -4/+4 |
| | |||||
* | DER codec hardened not to tolerate indefinite length encoding/decoding | elie | 2015-04-25 | 2 | -0/+18 |
| | |||||
* | Fix to end-of-octest sentinel handling: | elie | 2015-04-25 | 1 | -1/+51 |
| | | | | | | * require strict two-zeros sentinel encoding * recognize EOO sentinel only when explicitly requested by caller of the decoder (via allowEoo=True parameter) | ||||
* | fix to BitString and OctetString decoders dealing with constructed | elie | 2015-04-25 | 1 | -2/+9 |
| | | | | encoding -- it used to be possible to embed other types in substrate | ||||
* | broken REAL substrate decoding test added | elie | 2015-04-24 | 1 | -0/+8 |
| | |||||
* | __trunc__ is only available since python 2.6 | elie | 2014-06-15 | 1 | -2/+2 |
| | |||||
* | * The abs(Integer()) & abs(Real()) operation now returns respective pyasn1 | elie | 2014-02-09 | 1 | -0/+25 |
| | | | | | | | type, not a Python type. * More Python magic methods implementations added to Integer & Real classes (e.g. __pos__, __neg__, __round__, __floor__, __ceil__, __trunc__) * The Integer.__invert__ Python magic method implemented. | ||||
* | Constructed types now verify their consistency by invoking | elie | 2013-12-12 | 1 | -0/+16 |
| | | | | | | | | isSameTypeWith(matchTags=True, matchConstraints=False) and isSuperTypeOf(matchTags=False, matchConstraints=True) for each of their components rather than isSuperTypeOf() as it used to be. Constriants check could be enforced to isSameTypeWith() with the strictConstraints=True constructed classes attribute. | ||||
* | test coverage extended to cover pyasn1 types __repr__() function | elie | 2013-12-08 | 4 | -2/+43 |
| | |||||
* | test cases for __repr__() improved for scalar types | elie | 2013-12-08 | 1 | -5/+17 |
| | |||||
* | * constructed types can now be initialized with new .setComponents() method | elie | 2013-12-08 | 1 | -1/+7 |
| | | | | | which accepts both var-args and keyword-args * default repr() modified to reflect this change | ||||
* | * constructed types now always verify their consistensy with | elie | 2013-12-07 | 1 | -41/+8 |
| | | | | | | isSameTypeWith() rather then with isSuperTypeOf() * optional flags to setComponentByPosition(), introduced in previous revision, withdrawn as lame | ||||
* | the setComponentBy*() methods of all CONSTRUCTED objects now accept optional | elie | 2013-12-02 | 1 | -1/+74 |
| | | | | | exactTypes, matchTags and matchConstraints flags to give apps finer control on when not to perform relevant data consistency checks | ||||
* | * some more fixes to OID codecs | elie | 2013-11-01 | 2 | -21/+169 |
| | | | | | * explicit limit on ObjectIdentifier arc value size removed * some more tests in OID encoding problem areas added | ||||
* | more fixes and tests for OID encoding from Brian | elie | 2013-11-01 | 1 | -1/+32 |
| | |||||
* | ObjectIdentifier codec fixed to work properly with arc 0 and arc 2 values | elie | 2013-10-31 | 2 | -6/+27 |
| | |||||
* | - Float typed mantissa initializer to REAL type for base 2 added. | elie | 2013-09-11 | 3 | -22/+68 |
| | | | | | - Encoding bases 8 and 16 support for REAL type binary encoder added. - Fix to REAL type binary decoder to handle different bases and scale factor. | ||||
* | fixes to REAL binary encoder test cases | elie | 2013-09-01 | 1 | -2/+2 |
| | |||||
* | fix to binary initializer support of Real object | elie | 2013-09-01 | 1 | -0/+1 |
| | |||||
* | unicode initializer support added to OctetString type and derivatives | elie | 2013-08-03 | 1 | -0/+6 |
| | |||||
* | some more univ.ObjectIdentifier.prettyIn cases added | elie | 2013-08-03 | 1 | -1/+5 |
| | |||||
* | fix to REAL type decoder to handle negative REAL values correctly. test | elie | 2013-04-09 | 1 | -0/+6 |
| | | | | case added. | ||||
* | fix to import path mangling | elie | 2013-02-15 | 3 | -3/+9 |
| | |||||
* | test suite made discoverable by unittest/unittest2 discovery feature | elie | 2013-02-15 | 16 | -90/+136 |
| | |||||
* | some more CHOICE codec test cases added | elie | 2013-01-28 | 1 | -3/+15 |
| | |||||
* | some more testcases for CHOICE codec added | elie | 2013-01-28 | 1 | -1/+18 |
| | |||||
* | fix to decoder to fail in cases where tagFormat indicates inappropriate | elie | 2013-01-27 | 1 | -0/+47 |
| | | | | | format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always CONSTRUCTED and OCTET STRING is either of the two) | ||||
* | The compact (valueless) way of encoding zero INTEGERs introduced inrelease_0_1_6_tag | elie | 2012-12-21 | 1 | -1/+7 |
| | | | | | | | 0.1.5 seems to fail miserably as the world is filled with broken BER decoders. So we had to back off the *encoder* for a while. There's still the IntegerEncoder.supportCompactZero flag which enables compact encoding form whenever it evaluates to True. | ||||
* | mangle modules paths for relative import to workrelease_0_1_5_tag | elie | 2012-12-19 | 2 | -0/+9 |
| | |||||
* | some more tests added to cover empty-valued INTEGER encoding | elie | 2012-11-23 | 1 | -0/+2 |
| | |||||
* | fix to INTEGER encoder to produce empty-valued encoding for zero values | elie | 2012-11-23 | 1 | -1/+4 |
| | |||||
* | two more Boolean tests added | elie | 2012-11-23 | 1 | -0/+4 |
| | |||||
* | fix to unit test suites imports to be able to run each from | elie | 2012-11-23 | 6 | -12/+30 |
| | | | | their current directory | ||||
* | support empty-payload REAL values decoding | elie | 2012-11-23 | 1 | -0/+5 |
| | |||||
* | * fix to Real codec exponent encoding (should be in 2's complement form) | elie | 2012-07-18 | 2 | -1/+32 |
| | | | | * some more test cases added | ||||
* | comment added to prevent overzealous package managers from optimizing | elie | 2012-07-04 | 6 | -0/+6 |
| | | | | out empty files | ||||
* | leading 0x80 octet not allowed in BER/CER/DER substrate | elie | 2012-06-10 | 2 | -19/+13 |
| | |||||
* | test cases added for substrateFun callback | elie | 2012-06-09 | 1 | -2/+75 |
| | |||||
* | fix to leading 0x80 octet handling in CER/DER ObjectIdentifier decoder | elie | 2012-05-27 | 2 | -0/+21 |
| | |||||
* | more ObjectIdentifier tests added | elie | 2012-05-07 | 1 | -0/+15 |
| |