2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-15 15:53:36 +00:00

Adding default KMIP operation policies

This change adds enumerations and policy objects to support the
specification and enforcement of KMIP operation policies. A new
module, kmip.core.policy, is added to define the default policy
objects required by the KMIP specification.
This commit is contained in:
Peter Hamilton
2016-08-31 14:59:51 -04:00
parent 00be488134
commit 765df8340a
2 changed files with 202 additions and 0 deletions

View File

@@ -433,6 +433,12 @@ class PaddingMethod(enum.Enum):
PSS = 0x0000000A
class Policy(enum.Enum):
ALLOW_ALL = "Allow All"
ALLOW_OWNER = "Allow Owner"
DISALLOW_ALL = "Disallow All"
class PutFunction(enum.Enum):
NEW = 0x00000001
REPLACE = 0x00000002