2
0
mirror of https://github.com/openkmip/pykmip synced 2026-01-04 09:33:37 +00:00

Merge pull request #7 from callidus/more-object-type

Adding handling for SecretData and OpaqueData objects
This commit is contained in:
Peter Hamilton
2015-04-14 13:25:59 -04:00
4 changed files with 67 additions and 42 deletions

View File

@@ -366,10 +366,11 @@ class SecretDataType(Enum):
PASSWORD = 0x00000001
SEED = 0x00000002
# 9.1.3.2.10
class OpaqueDataType(Enum):
pass
NONE = 0x80000000 # Not defined by the standard, but we need something.
# The standard does say that values starting 0x8xxxxxx
# are considered extensions
# 9.1.3.2.11