decrypt_serialized_itemT_decrypt_serialized_itemDecryptSerializedItemDecryptSerializedItemdecrypt_serialized_item (Operator)

Name

decrypt_serialized_itemT_decrypt_serialized_itemDecryptSerializedItemDecryptSerializedItemdecrypt_serialized_item — Decrypt an encrypted item.

Signature

decrypt_serialized_item( : : EncryptedItemHandle, DecryptionParam : SerializedItemHandle)

Herror T_decrypt_serialized_item(const Htuple EncryptedItemHandle, const Htuple DecryptionParam, Htuple* SerializedItemHandle)

void DecryptSerializedItem(const HTuple& EncryptedItemHandle, const HTuple& DecryptionParam, HTuple* SerializedItemHandle)

static void HOperatorSet.DecryptSerializedItem(HTuple encryptedItemHandle, HTuple decryptionParam, out HTuple serializedItemHandle)

def decrypt_serialized_item(encrypted_item_handle: HHandle, decryption_param: HHandle) -> HHandle

Description

The operator decrypt_serialized_itemdecrypt_serialized_itemDecryptSerializedItemDecryptSerializedItemDecryptSerializedItemdecrypt_serialized_item decrypts the encrypted item EncryptedItemHandleEncryptedItemHandleEncryptedItemHandleEncryptedItemHandleencryptedItemHandleencrypted_item_handle to the serialized item SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle using the secret in the dictionary DecryptionParamDecryptionParamDecryptionParamDecryptionParamdecryptionParamdecryption_param. The secret must be passed in the form of a password string in the dictionary key 'password'.

Execution Information

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

EncryptedItemHandleEncryptedItemHandleEncryptedItemHandleEncryptedItemHandleencryptedItemHandleencrypted_item_handle (input_control)  encrypted_item HEncryptedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Encrypted item handle.

DecryptionParamDecryptionParamDecryptionParamDecryptionParamdecryptionParamdecryption_param (input_control)  dict HDict, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Parameters for the decryption.

Default: []

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (output_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Serialized item handle.

Result

The operator decrypt_serialized_itemdecrypt_serialized_itemDecryptSerializedItemDecryptSerializedItemDecryptSerializedItemdecrypt_serialized_item returns the value 2 ( H_MSG_TRUE) if the passed handles and the parameters are valid. Otherwise, an exception is raised.

Possible Predecessors

encrypt_serialized_itemencrypt_serialized_itemEncryptSerializedItemEncryptSerializedItemEncryptSerializedItemencrypt_serialized_item, read_encrypted_itemread_encrypted_itemReadEncryptedItemReadEncryptedItemReadEncryptedItemread_encrypted_item

Possible Successors

deserialize_handledeserialize_handleDeserializeHandleDeserializeHandleDeserializeHandledeserialize_handle

Module

Foundation