2
0
mirror of https://github.com/openkmip/pykmip synced 2026-01-02 08:33:15 +00:00

Adding support for the Certificate managed object

This change polishes and reorganizes the implementation of the
Certificate managed object and its required subclasses. It adds in
documentation and test suites for all modified classes and updates the
SecretFactory to support creating default Certificate objects.
This commit is contained in:
Peter Hamilton
2015-05-05 14:55:34 -04:00
parent 883a36f22a
commit 195671d4bf
10 changed files with 607 additions and 31 deletions

View File

@@ -420,8 +420,7 @@ class Enumeration(Integer):
return "{0}(value={1})".format(type(self).__name__, self.enum)
def __str__(self):
return "{0} - {1} - {2}".format(
type(self.enum), self.enum.name, self.enum.value)
return "{0}.{1}".format(type(self.enum).__name__, self.enum.name)
class Boolean(Base):