StaticnewStaticnewCreate a new Key with public keys and allow-all permissions.
StaticnewCreate a new Key with private keys.
StaticnewCreate a new Key with private key base (derives keys from it).
Get the public keys.
Get the private keys, if available and decrypted.
Check if this key has decrypted private keys.
Check if this key has encrypted private keys.
Get the salt used for private key decorrelation.
Get the reference for this key (based on public keys tagged CBOR).
Verify a signature against a message.
Get the endpoints set.
Get the endpoints set for mutation.
Add an endpoint.
Get the nickname for this object.
Set the nickname for this object.
Get the permissions for this object.
Get a mutable reference to the permissions.
Convert to envelope with specified options.
StatictryTry to extract a Key from an envelope, optionally with password for decryption.
Optionalpassword: Uint8Array<ArrayBufferLike>Get a hash key for use in Sets/Maps.
Clone this Key.
Represents a key in an XID document.