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
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
clone()
clone():
JwkGenOutput
Deep clones the object.