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

Function fromNestedCTypeClaim

  • fromNestedCTypeClaim(cTypeInput, nestedCType, claimContents, claimOwner): IClaim
  • Builds a Claim from a CType which is composed of other (nested) CTypes.

    Parameters

    • cTypeInput: ICType

      A CType object that contains nested CTypes.

    • nestedCType: ICType[]

      The array of CTypes which are used inside the main CType above.

    • claimContents: IClaimContents

      The Claim contents from which to build the new Claim.

    • claimOwner: Did

      The DID of the owner of the new Claim.

    Returns IClaim

    A Claim the owner can use.

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

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