Skip to main content

sign_get_with_key

Function sign_get_with_key 

Source
pub fn sign_get_with_key(
    url: &str,
    key_id: &str,
    key: &PrivateKey,
    now: i64,
) -> Result<SignedGet, Error>
Expand description

sign_get with a key parsed once by PrivateKey::from_pem.

ยงErrors

Returns an error if the URL cannot be parsed.