Function signatureFromJson

  • Deserializes a DidSignature for signature verification. Handles backwards compatibility to an older version of the interface where the keyUri property was called keyId.

    Parameters

    Returns {
        signature: Uint8Array;
        signerUrl: DidUrl;
    }

    The deserialized DidSignature where the signature is represented as a Uint8Array.

    • signature: Uint8Array
    • signerUrl: DidUrl