iya-sts
    Preparing search index...
    vcApiKeyFor: (curve: string) => any = ...

    Type Declaration

      • (curve: string): any
      • Returns the realm's VC-API key of a curve, named by the did:key of its public half.

        Parameters

        • curve: string

          Ed25519, P-256 or P-384

        Returns any

        { privateKey, publicJwk, did, verificationMethod, kid }

        Error for any other curve