Skip to main content

lan_audience

Function lan_audience 

Source
pub fn lan_audience(lan_key: &str) -> String
Expand description

The audience of a request for the LAN peer whose lan_key is lan_key: a label of the key that peer advertises, so a request signed for one machine fails on another. The key is readable by anything on the LAN, so this binds a request to a machine and proves nothing: the signature is what proves the sender.