Skip to main content

set_peer_envelope_key

Function set_peer_envelope_key 

Source
pub fn set_peer_envelope_key(did: &str, pubkey_hex: &str) -> Result<(), String>
Expand description

Set the peer’s envelope (X25519) public key (hex), then persist. Errors if no such peer.