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

Function getHash

  • getHash(credential): IAttestation["claimHash"]
  • Gets the hash of the credential.

    Parameters

    • credential: ICredential

      The credential to get the hash from.

    Returns IAttestation["claimHash"]

    The hash of the credential.

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

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