Wraps the provided challenge according to the key type.
Ethereum addresses will cause the challenge to be prefixed with \x19Ethereum Signed Message:\n and the length of the message.
\x19Ethereum Signed Message:\n
For all other key types the message will be wrapped in <Bytes>..</Bytes>.
<Bytes>..</Bytes>
The key type that will sign the challenge.
The challenge to proof ownership of both account and DID.
The wrapped challenge.
Wraps the provided challenge according to the key type.
Ethereum addresses will cause the challenge to be prefixed with
\x19Ethereum Signed Message:\n
and the length of the message.For all other key types the message will be wrapped in
<Bytes>..</Bytes>
.