Represents a key owned by an actor according to FEP-521a: Representing actor's public keys.
new
Multikey(unnamed 1?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },)
Constructs a new instance of Multikey with the given values.
protected
readonly
_contextLoader: DocumentLoader | undefined
protected
readonly
_documentLoader: DocumentLoader | undefined
readonly
controllerId: URL | null
Similar to
Multikey.getController,
but returns its @id
URL instead of the object itself.
A Multibase-encoded value of a Multicodec prefix and the key.
[Symbol.for("Deno.customInspect")](inspect: Deno.inspect,options: Deno.InspectOptions,): string
protected
_getCustomInspectProxy(): Record<string, unknown>
clone(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Multikey
Clones this instance, optionally updating it with the given values.
getController(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; }): Promise<>
An actor who owns this key.
protected
isCompactable(): boolean
fromJsonLd(json: unknown,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Promise<Multikey>
Converts a JSON-LD structure to an object of this type.