mirror of
https://github.com/openkmip/pykmip
synced 2025-12-15 07:43:26 +00:00
Update the CreateKeyPair payloads
This change updates the CreateKeyPair payloads to the current payload format, adding properties for different payload attributes and adding comparison and string operators. Changes are also made to the PyKMIP clients and the surrounding testing infrastructure to reflect the payload changes. The official unit test suite for the CreateKeyPair payloads has been updated to also reflect these changes. This change prepares the CreateKeyPair payloads for future updates to support KMIP 2.0.
This commit is contained in:
committed by
Peter Hamilton
parent
fe3095c22b
commit
71d508019a
@@ -1270,12 +1270,8 @@ class KmipEngine(object):
|
||||
)
|
||||
|
||||
response_payload = payloads.CreateKeyPairResponsePayload(
|
||||
private_key_uuid=attributes.PrivateKeyUniqueIdentifier(
|
||||
str(private_key.unique_identifier)
|
||||
),
|
||||
public_key_uuid=attributes.PublicKeyUniqueIdentifier(
|
||||
str(public_key.unique_identifier)
|
||||
)
|
||||
private_key_unique_identifier=str(private_key.unique_identifier),
|
||||
public_key_unique_identifier=str(public_key.unique_identifier)
|
||||
)
|
||||
|
||||
self._id_placeholder = str(private_key.unique_identifier)
|
||||
|
||||
Reference in New Issue
Block a user