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