Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions kmip/services/kmip_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ def encrypt(self,
result['unique_identifier'] = payload.unique_identifier
result['data'] = payload.data
result['iv_counter_nonce'] = payload.iv_counter_nonce
result['auth_tag'] = payload.auth_tag

result['result_status'] = batch_item.result_status.value
try:
Expand All @@ -940,7 +941,8 @@ def decrypt(self,
unique_identifier=None,
cryptographic_parameters=None,
iv_counter_nonce=None,
credential=None):
credential=None,
auth_tag=None):
"""
Decrypt data using the specified decryption key and parameters.

Expand Down Expand Up @@ -980,7 +982,8 @@ def decrypt(self,
unique_identifier=unique_identifier,
data=data,
cryptographic_parameters=cryptographic_parameters,
iv_counter_nonce=iv_counter_nonce
iv_counter_nonce=iv_counter_nonce,
auth_tag=auth_tag
)
batch_item = messages.RequestBatchItem(
operation=operation,
Expand Down