signatureFromJson
signatureFromJson(
input):Pick<SignResponseData,"keyUri"|"signature">
Deserializes a [[DidSignature]] for signature verification.
Handles backwards compatibility to an older version of the interface where the keyUri property was called keyId.
Parameters
Section titled “Parameters”• input: DidSignature
A [[DidSignature]] object.
Returns
Section titled “Returns”Pick<SignResponseData, "keyUri" | "signature">
The deserialized DidSignature where the signature is represented as a Uint8Array.