verify

fun verify()

Verifies the signature of the Resource.

This function verifies the signature using the previously set signature property. It compares the signature against a hashed payload consisting of metadata and data.

Throws

if the verification fails or if the signature is missing.