2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-19 09:43:47 +00:00

Updating support for the LongInteger primitive

This change updates the LongInteger primitive, improving class
documentation, adding standard Python operators, cleaning up the
original implementation, and expanding the corresponding unit test suite
to address the modifications.
This commit is contained in:
Peter Hamilton
2015-08-27 08:47:07 -04:00
parent f3c202cf3c
commit b04e3ab3dc
3 changed files with 388 additions and 171 deletions

View File

@@ -19,3 +19,11 @@ class InvalidKmipEncoding(Exception):
An exception raised when processing invalid KMIP message encodings.
"""
pass
class InvalidPrimitiveLength(Exception):
"""
An exception raised for errors when processing primitives with invalid
lengths.
"""
pass