Verifies the signature on one named element and on no other, against the certificates the caller trusts. It answers rather than throws.
the document
element (which one), and certPem or publicKeyPem
element
certPem
publicKeyPem
the verdict { ok, present, why, signatureValid, referencesValid, signatureMethod, … }, a refusal carrying its code
{ ok, present, why, signatureValid, referencesValid, signatureMethod, … }
Verifies the signature on one named element and on no other, against the certificates the caller trusts. It answers rather than throws.