Hierarchy

  • LinkedDataProof
    • KiltAttestationV1Suite

Constructors

Properties

contextUrl: "https://www.kilt.io/contexts/credentials" = KiltCredentialV1.CONTEXT_URL

Accessors

  • get checkStatus(): ((args) => Promise<{
        error?: unknown;
        verified: boolean;
    }>)
  • A function to check the revocation status of KiltAttestationV1 proofs, which is tied to the KiltRevocationStatusV1 method.

    Returns ((args) => Promise<{
        error?: unknown;
        verified: boolean;
    }>)

      • (args): Promise<{
            error?: unknown;
            verified: boolean;
        }>
      • A function to check the revocation status of KiltAttestationV1 proofs, which is tied to the KiltRevocationStatusV1 method.

        Parameters

        Returns Promise<{
            error?: unknown;
            verified: boolean;
        }>

Methods

  • Ensures the document to be signed contains the required signature suite specific @context, by either adding it (if addSuiteContext is true), or throwing an error if it's missing.

    Parameters

    • options: {
          addSuiteContext: boolean;
          document: JsonLdObj;
      }

      Options hashmap.

      • addSuiteContext: boolean

        Add suite context?

      • document: JsonLdObj

        JSON-LD document to be signed.

    Returns void