Represents a key owned by an actor according to FEP-521a: Representing actor's public keys.
new
Multikey(unnamed 1?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; tracerProvider?: TracerProvider; },)
Constructs a new instance of Multikey with the given values.
protected
writeonly
_cachedJsonLd: unknown | undefined
protected
readonly
_cachedJsonLd: unknown | undefined
protected
readonly
_contextLoader: DocumentLoader | undefined
protected
readonly
_documentLoader: DocumentLoader | undefined
protected
readonly
_tracerProvider: TracerProvider | 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; tracerProvider?: TracerProvider; }): Promise<>
An actor who owns this key.
protected
isCompactable(): boolean
protected
__fromJsonLd__Multikey__(json: unknown,span: Span,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; tracerProvider?: TracerProvider; },): Promise<Multikey>
fromJsonLd(json: unknown,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; tracerProvider?: TracerProvider; },): Promise<Multikey>
Converts a JSON-LD structure to an object of this type.