From a8e18549532ea157e53b725d87bfe69a2f8d7f31 Mon Sep 17 00:00:00 2001 From: Peter Hamilton Date: Sat, 27 Aug 2016 16:39:42 -0400 Subject: [PATCH] Adding the State enumeration This change adds the State enumeration to the enumerations set. --- kmip/core/enums.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kmip/core/enums.py b/kmip/core/enums.py index c64b12f..7e82d7d 100644 --- a/kmip/core/enums.py +++ b/kmip/core/enums.py @@ -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