• Verifies data structure & data integrity of a credential object. This combines all offline sanity checks that can be performed on an ICredential object. A credential is valid only if it is well formed AND there is an on-chain attestation record referencing its root hash. To check the latter condition as well, you need to call verifyCredential or verifyPresentation.

    Parameters

    • credential: ICredential

      The object to check.

    • options: VerifyOptions = {}

      Additional parameter for more verification steps.

    Returns void