JSR

Built and signed on GitHub Actions

Works with

This package works with Cloudflare Workers, Node.js, Deno, Bun

This package works with Cloudflare Workers

This package works with Node.js

This package works with Deno

This package works with Bun

JSR Score100%

License

MIT

Downloads198/wk

Published4 days ago (2.3.6)

Vocabularies library for Fedify

A key owned by an actor.

Constructors

Constructs a new instance of CryptographicKey with the given values.

Parameters

values: { id?: URL | null; owner?: ; publicKey?: CryptoKey | null; }

View code

The values to initialize the instance with.

The options to use for initialization.

Static Properties

Static Methods

Converts a JSON-LD structure to an object of this type.

Properties

Similar to CryptographicKey.getOwner, but returns its @id URL instead of the object itself.

A PEM-encoded public key.

Methods

Clones this instance, optionally updating it with the given values.

An actor who owns this key.

Converts this object to a JSON-LD structure.

Read the original on jsr.io ↗