verify_target


Description:

[ Version ( since = "0.2.0" ) ]
public GenericArray<unowned Result> verify_target (Item item_target, Item item, VerifyFlags flags) throws Error

Verifies a Item using the target to an item.

At least one `verify=CHECKSUM` (e.g. SHA256) must exist and all checksum types that do exist must verify correctly.

Parameters:

this

Context

item_target

Item containing checksums of the data

item

Item

flags

VerifyFlags, e.g. jcat_verify_flag_require_signature

Returns:

results, or null for failed