2
0
mirror of https://github.com/openkmip/pykmip synced 2026-01-04 17:43:51 +00:00

Add Rekey support to the payload factories

This change adds Rekey payload support to the payload factories.
Payload factory unit tests have been updated to account for the
change.

Fixes #424
This commit is contained in:
Peter Hamilton
2018-04-15 23:38:37 -04:00
parent ea7da73b4f
commit cf0ec6c429
4 changed files with 10 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ class ResponsePayloadFactory(PayloadFactory):
def _create_derive_key_payload(self):
return payloads.DeriveKeyResponsePayload()
def _create_rekey_payload(self):
return payloads.RekeyResponsePayload()
def _create_rekey_key_pair_payload(self):
return payloads.RekeyKeyPairResponsePayload()