• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • credentials/src
  • Attestation
  • verifyDataStructure

Function verifyDataStructure

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

    Parameters

    • input: IAttestation

      The potentially only partial IAttestation.

    Returns void

    • Defined in packages/credentials/src/attestation/Attestation.ts:34

Settings

Member Visibility

Theme

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
    • Attestation
      • fromChain
      • fromCredentialAndDid
      • getDelegationDetails
      • isIAttestation
      • verifyDataStructure
    • CType
    • DataIntegrity
    • DelegationNodeUtils
    • Holder
    • Issuer
    • KiltAttestationProofV1
    • KiltCredentialV1
    • KiltRevocationStatusV1
    • Presentation
    • Types
    • Verifier
    • DelegationNode
    • W3C_CREDENTIAL_CONTEXT_URL
    • W3C_CREDENTIAL_TYPE
    • W3C_PRESENTATION_TYPE
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
  • sdk-js/src
  • types/src
  • utils/src