• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • legacy-credentials/src
  • Credential
  • calculateRootHash

Function calculateRootHash

  • calculateRootHash(credential): Hash
  • Calculates the root hash of the credential.

    Parameters

    • credential: Partial<ICredential>

      The credential object.

    Returns Hash

    The hash.

    • Defined in packages/legacy-credentials/src/Credential.ts:74

Settings

Member Visibility

Theme

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
    • Attestation
    • Claim
    • Credential
      • VerifiedCredential
      • Options
      • calculateRootHash
      • createPresentation
      • fromClaim
      • getHash
      • isICredential
      • isPresentation
      • makeSigningData
      • refreshRevocationStatus
      • removeClaimProperties
      • verifyAgainstAttestation
      • verifyAttested
      • verifyCredential
      • verifyDataIntegrity
      • verifyDataStructure
      • verifyPresentation
      • verifyRootHash
      • verifySignature
      • verifyWellFormed
    • fromVC
    • toVc
  • sdk-js/src
  • types/src
  • utils/src