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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user