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

    Type Declaration

      • (curve: string): any
      • Returns the realm's own key of a curve, named by the did:key of its public half: what this service signs a Data Integrity proof with as an issuer.

        Parameters

        • curve: string

          Ed25519, P-256 or P-384

        Returns any

        { privateKey, publicJwk, did, verificationMethod }

        Error when the realm holds no such key