Skip to main content

signed_message

Function signed_message 

Source
pub fn signed_message(nonce: &str, responder_did: &str) -> Vec<u8> β“˜
Expand description

Canonical, domain-separated message that the responder signs.

Binding both the nonce and the responder DID means a valid signature proves β€œthe holder of this key asserts this DID in response to this nonce” β€” a signature cannot be lifted to a different nonce or re-attributed to a different DID.