import type { SingleOccurrenceArray } from "@twin.org/core"; import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld"; import type { DidContexts } from "./didContexts.js"; import type { DidTypes } from "./didTypes.js"; /** * Interface describing a Multikey. * https://www.w3.org/TR/cid-1.0/ */ export interface IMultikey { /** * JSON-LD Context. */ "@context"?: typeof DidContexts.ContextControllerIdentifiers | typeof DidContexts.ContextSecurityMultikey | SingleOccurrenceArray | SingleOccurrenceArray; /** * The id of the entry. */ id?: string; /** * The type of the entry. */ type: typeof DidTypes.Multikey; /** * The controller for the entry. */ controller?: string; /** * The public key for the entry. */ publicKeyMultibase: string; /** * The secret key for the entry. */ secretKeyMultibase?: string; /** * The date the entry expires. */ expires?: string; /** * The date the entry was revoked. */ revoked?: string; }