Class: JwpIssued
identity_wasm.JwpIssued
Table of contents
Methods
Methods
toJSON
▸ toJSON(): any
Serializes this to a JSON object.
Returns
any
fromJSON
▸ Static
fromJSON(json
): JwpIssued
Deserializes an instance from a JSON object.
Parameters
Name | Type |
---|---|
json | any |
Returns
clone
▸ clone(): JwpIssued
Deep clones the object.
Returns
encode
▸ encode(serialization
): string
Parameters
Name | Type |
---|---|
serialization | SerializationType |
Returns
string
setProof
▸ setProof(proof
): void
Parameters
Name | Type |
---|---|
proof | Uint8Array |
Returns
void
getProof
▸ getProof(): Uint8Array
Returns
Uint8Array
getPayloads
▸ getPayloads(): Payloads
Returns
setPayloads
▸ setPayloads(payloads
): void
Parameters
Name | Type |
---|---|
payloads | Payloads |
Returns
void
getIssuerProtectedHeader
▸ getIssuerProtectedHeader(): IssuerProtectedHeader