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

Function fromCTypeAndClaimContents

  • fromCTypeAndClaimContents(cType, claimContents, claimOwner): IClaim
  • Constructs a new Claim from the given ICType, contents and Kilt DID.

    Parameters

    • cType: ICType

      The ICType for which the Claim will be built.

    • claimContents: IClaimContents

      contents To be used as the pure contents of the instantiated Claim.

    • claimOwner: Did

      The DID to be used as the Claim owner.

    Returns IClaim

    A Claim object.

    • Defined in packages/legacy-credentials/src/Claim.ts:208

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
      • fromCTypeAndClaimContents
      • fromNestedCTypeClaim
      • hashClaimContents
      • isIClaim
      • verify
      • verifyDataStructure
      • verifyDisclosedAttributes
    • Credential
    • fromVC
    • toVc
  • sdk-js/src
  • types/src
  • utils/src