Module safe_app::ffi::mdata_info [] [src]

MDataInfo operations

Functions

mdata_info_decrypt

Decrypt mdata entry value or a key using the corresponding mdata info.

mdata_info_deserialise

Deserialise MDataInfo.

mdata_info_encrypt_entry_key

Encrypt mdata entry key using the corresponding mdata info.

mdata_info_encrypt_entry_value

Encrypt mdata entry value using the corresponding mdata info.

mdata_info_extract_name_and_type_tag

Extract name and type tag from the mdata info.

mdata_info_free

Free MDataInfo from memory.

mdata_info_new_private

Create encrypted mdata info with explicit data name and a provided private key.

mdata_info_new_public

Create non-encrypted mdata info with explicit data name.

mdata_info_random_private

Create random, encrypted mdata info.

mdata_info_random_public

Create random, non-encrypted mdata info.

mdata_info_serialise

Serialise MDataInfo.