Skip to main content
info
IOTA Identity for Rebased is currently in alpha and may still be subject to significant changes

JwkGenOutput

@iota/identity-wasm API documentation


Class: JwkGenOutput

The result of a key generation in JwkStorage.

Methods

toJSON()

Call Signature

toJSON(): Object

  • Return copy of self without private attributes.
Returns

Object

Call Signature

toJSON(): any

Serializes this to a JSON object.

Returns

any


toString()

toString(): string

Return stringified version of self.

Returns

string


jwk()

jwk(): Jwk

Returns the generated public Jwk.

Returns

Jwk


keyId()

keyId(): string

Returns the key id of the generated Jwk.

Returns

string


fromJSON()

static fromJSON(json): JwkGenOutput

Deserializes an instance from a JSON object.

Parameters

json

any

Returns

JwkGenOutput


clone()

clone(): JwkGenOutput

Deep clones the object.

Returns

JwkGenOutput