2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-15 07:43:26 +00:00

Adding OperationPolicyName

This change adds the OperationPolicyName attribute, extending support to
the AttributeValueFactory. Test cases are included for the creation
process for both the factory and the individual attribute.
This commit is contained in:
Peter Hamilton
2014-12-02 10:43:58 -05:00
parent b99bf8cbf4
commit 3918c320fd
4 changed files with 64 additions and 1 deletions

View File

@@ -259,6 +259,14 @@ class CertificateType(Enumeration):
Tags.CERTIFICATE_TYPE)
# 3.18
class OperationPolicyName(TextString):
def __init__(self, value=None):
super(OperationPolicyName, self).__init__(
value, Tags.OPERATION_POLICY_NAME)
# 3.19
class CryptographicUsageMask(Integer):