Verify the Integrity of DIDDocument
For the sake of security and the unity of documents on the chain, it's important to check whether the DID Document content itself is valid, invalid, or expired so as to check the usability of the documents.
Usage
Usage DID Document provides methods to check whether the document is complete, each element meets the requirements, can be verified, and has been tampered with. For example, whether the number of signatures of Customized DID Document meets the multi-signature rule.
DID Document provides a method to check whether DID Document is out of date.
DID Document provides a method to check whether the DID Document is valid - invalidation is not equal to expiration. It requires DID itself or the principal to operate the invalid document, while expiration is to judge whether it is beyond the effective period, which can be reset and restored.
DID Document provides a comprehensive method to check whether DID Document is valid, which includes the above three checks.
Last updated