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

Function verifyDataStructure

  • verifyDataStructure(input): void
  • Checks whether the input meets all the required criteria of an ICredential object. Throws on invalid input.

    Parameters

    • input: ICredential

      A potentially only partial ICredential.

    Returns void

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

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