summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* copyright dates bumpedelie2015-12-2917-17/+17
|
* copyright notice addedelie2015-11-1517-0/+102
|
* avoid unicode literalsrelease_0_1_9_tagelie2015-09-281-1/+4
|
* Fix to CER/DER Boolean decoder - fail on non single-octet payload.elie2015-09-151-0/+10
| | | | Thanks to Alex Gaynor for pointing out!
* fix to ObjectIdentifier initialization from unicode stringelie2015-09-101-0/+2
|
* CER/DER Time types encoding restrictions relaxedelie2015-06-211-9/+9
|
* GeneralizedTime test removedelie2015-06-061-9/+11
|
* compatibility fixes to Python versions supportelie2015-04-262-11/+13
|
* tests for character types addedelie2015-04-262-2/+26
|
* more strict CER/DER encoders added for GeneralizedTime and UTCTime typeselie2015-04-261-1/+68
|
* multiple fixes to test coverageelie2015-04-263-4/+4
|
* DER codec hardened not to tolerate indefinite length encoding/decodingelie2015-04-252-0/+18
|
* Fix to end-of-octest sentinel handling:elie2015-04-251-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 constructedelie2015-04-251-2/+9
| | | | encoding -- it used to be possible to embed other types in substrate
* broken REAL substrate decoding test addedelie2015-04-241-0/+8
|
* __trunc__ is only available since python 2.6elie2014-06-151-2/+2
|
* * The abs(Integer()) & abs(Real()) operation now returns respective pyasn1elie2014-02-091-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 invokingelie2013-12-121-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__() functionelie2013-12-084-2/+43
|
* test cases for __repr__() improved for scalar typeselie2013-12-081-5/+17
|
* * constructed types can now be initialized with new .setComponents() methodelie2013-12-081-1/+7
| | | | | which accepts both var-args and keyword-args * default repr() modified to reflect this change
* * constructed types now always verify their consistensy withelie2013-12-071-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 optionalelie2013-12-021-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 codecselie2013-11-012-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 Brianelie2013-11-011-1/+32
|
* ObjectIdentifier codec fixed to work properly with arc 0 and arc 2 valueselie2013-10-312-6/+27
|
* - Float typed mantissa initializer to REAL type for base 2 added.elie2013-09-113-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 caseselie2013-09-011-2/+2
|
* fix to binary initializer support of Real objectelie2013-09-011-0/+1
|
* unicode initializer support added to OctetString type and derivativeselie2013-08-031-0/+6
|
* some more univ.ObjectIdentifier.prettyIn cases addedelie2013-08-031-1/+5
|
* fix to REAL type decoder to handle negative REAL values correctly. testelie2013-04-091-0/+6
| | | | case added.
* fix to import path manglingelie2013-02-153-3/+9
|
* test suite made discoverable by unittest/unittest2 discovery featureelie2013-02-1516-90/+136
|
* some more CHOICE codec test cases addedelie2013-01-281-3/+15
|
* some more testcases for CHOICE codec addedelie2013-01-281-1/+18
|
* fix to decoder to fail in cases where tagFormat indicates inappropriateelie2013-01-271-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_tagelie2012-12-211-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_tagelie2012-12-192-0/+9
|
* some more tests added to cover empty-valued INTEGER encodingelie2012-11-231-0/+2
|
* fix to INTEGER encoder to produce empty-valued encoding for zero valueselie2012-11-231-1/+4
|
* two more Boolean tests addedelie2012-11-231-0/+4
|
* fix to unit test suites imports to be able to run each fromelie2012-11-236-12/+30
| | | | their current directory
* support empty-payload REAL values decodingelie2012-11-231-0/+5
|
* * fix to Real codec exponent encoding (should be in 2's complement form)elie2012-07-182-1/+32
| | | | * some more test cases added
* comment added to prevent overzealous package managers from optimizingelie2012-07-046-0/+6
| | | | out empty files
* leading 0x80 octet not allowed in BER/CER/DER substrateelie2012-06-102-19/+13
|
* test cases added for substrateFun callbackelie2012-06-091-2/+75
|
* fix to leading 0x80 octet handling in CER/DER ObjectIdentifier decoderelie2012-05-272-0/+21
|
* more ObjectIdentifier tests addedelie2012-05-071-0/+15
|