A key owned by an actor.
new
CryptographicKey(unnamed 1?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },)
Constructs a new instance of CryptographicKey with the given values.
readonly
protected
_contextLoader: DocumentLoader | undefined
protected
readonly
_documentLoader: DocumentLoader | undefined
Similar to
CryptographicKey.getOwner,
but returns its @id
URL instead of the object itself.
[Symbol.for("Deno.customInspect")](inspect: Deno.inspect,options: Deno.InspectOptions,): string
protected
_getCustomInspectProxy(): Record<string, unknown>
clone(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): CryptographicKey
Clones this instance, optionally updating it with the given values.
getOwner(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; }): Promise<>
An actor who owns this key.
The type URI of CryptographicKey: https://w3id.org/security#Key
.
fromJsonLd(json: unknown,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Promise<CryptographicKey>
Converts a JSON-LD structure to an object of this type.