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

Adding support for the RekeyKeyPair operation

This change adds support for the ReKeyKeyPair operation, adding in
required KMIP objects and updating the KMIP client. Minor changes to the
server are included in preparation for future changes. The unit test
suite has been updated accordingly.
This commit is contained in:
Peter Hamilton
2015-01-21 11:41:08 -05:00
parent c6d6db3dfe
commit ff533ff4bb
15 changed files with 743 additions and 32 deletions

View File

@@ -20,6 +20,7 @@ from kmip.core.messages.payloads import create_key_pair
from kmip.core.messages.payloads import destroy
from kmip.core.messages.payloads import get
from kmip.core.messages.payloads import locate
from kmip.core.messages.payloads import rekey_key_pair
from kmip.core.messages.payloads import register
@@ -34,6 +35,9 @@ class RequestPayloadFactory(PayloadFactory):
def _create_register_payload(self):
return register.RegisterRequestPayload()
def _create_rekey_key_pair_payload(self):
return rekey_key_pair.RekeyKeyPairRequestPayload()
def _create_locate_payload(self):
return locate.LocateRequestPayload()