Skip to main content

check_signed

Function check_signed 

Source
fn check_signed(
    key: &DeviceKey,
    path: &str,
    headers: &HeaderMap,
    body: &[u8],
) -> Result<(), (&'static str, &'static str)>
Expand description

Whether body, sent to path, is signed by key within a minute of this computer’s clock: else the refusal’s reason and text.