verifyDocumentSignature
Verify document signature (if method supports it).
This does not verify any cryptographic signature. For did:key, the only method with an implemented check, true means self-certification only: the key encoded in the DID identifier equals the document's single verification method. Nothing is signed or checked against a signature. Prefer checkDocumentSelfCertification, whose result says so, or verifyVerificationMethod to check an actual signature.
false means "not verified", which is not the same as "verified invalid". For every method without an implemented check, including did:ion whose proof chain is not implemented, the result is false (fail-closed) and a warning is logged naming the reason.
Return
true if the document is self-certifying for method (no signature is verified), false otherwise
Parameters
The DID document
The DID method name