| Did you know ... | Search Documentation: |
| Predicate xmld_verify_signature/4 |
ds:Signature element contains a valid
signature. Certificate is bound to the certificate that appears
in the element if the signature is valid. It is up to the caller
to determine if the certificate is trusted or not. Raises an
exception if the signature is not valid.
DOM is the complete document. Each ds:Reference must refer to
exactly one element of DOM with an ID, Id or id attribute
that has the referenced value. Options:
true (default false), accept the SHA1 and MD5 based
signature and digest algorithms.
Note: The DOM and SignatureDOM must have been obtained using
the load_structure/3 option keep_prefix(true) otherwise it is
impossible to generate an identical document for checking the
signature. See also xml_write_canonical/3.