add_protection_meta


Description:

[ Version ( since = "1.6" ) ]
public unowned ProtectionMeta? add_protection_meta (owned Structure info)

Attaches protection metadata to a Buffer.

Parameters:

this

Buffer holding an encrypted sample, to which protection metadata should be added.

info

a Structure holding cryptographic information relating to the sample contained in this. This function takes ownership of info.

Returns:

a pointer to the added ProtectionMeta if successful