Merge pull request #187 from OpenKMIP/feat/add-state-enumerations

Adding the State enumeration
This commit is contained in:
Peter Hamilton 2016-08-27 16:53:07 -04:00 committed by GitHub
commit b46de1849e
1 changed files with 9 additions and 0 deletions

View File

@ -500,6 +500,15 @@ class KeyRoleType(enum.Enum):
PVKOTH = 0x00000015
class State(enum.Enum):
PRE_ACTIVE = 0x00000001
ACTIVE = 0x00000002
DEACTIVATED = 0x00000003
COMPROMISED = 0x00000004
DESTROYED = 0x00000005
DESTROYED_COMPROMISED = 0x00000006
# 9.1.3.2.24
class QueryFunction(enum.Enum):
QUERY_OPERATIONS = 0x00000001