iya-sts
    Preparing search index...

    Variable vcApiKeyFor

    vcApiKeyFor: (curve: any) => { alg: string; privateKey: any; publicJwk: any } = vcApiKeyFor

    Type Declaration

      • (curve: any): { alg: string; privateKey: any; publicJwk: any }
      • Returns the realm's VC-API key of a curve (#598): what oid4vc/vc_api.ts signs with, and nothing else does.

        Parameters

        • curve: any

          Ed25519, P-256 or P-384

        Returns { alg: string; privateKey: any; publicJwk: any }

        { alg, privateKey, publicJwk }

        Error for any other curve