iya-sts
    Preparing search index...

    Variable createBaseProof

    createBaseProof: (unsecured: any, options: any) => Promise<any> = ...

    Type Declaration

      • (unsecured: any, options: any): Promise<any>
      • Creates the issuer's base proof (sections 3.3.1 and 3.3.2).

        Parameters

        • unsecured: any

          the unsecured credential

        • options: any

          secretKey, publicKey, verificationMethod, mandatoryPointers, proofPurpose, and optionally created and hmacKey

        Returns Promise<any>

        the secured document

        Error (PROOF_GENERATION_ERROR) when a mandatory pointer is not a JSON pointer or names nothing in the document