[][src]Function pn_sign::v1::sign_request

pub fn sign_request(
    sub_key: impl AsRef<str>,
    pub_key: impl AsRef<str>,
    path: impl AsRef<str>,
    qs: impl IntoIterator<Item = (impl AsRef<str>, impl AsRef<str>)>,
    sec_key: impl AsRef<str>
) -> Result<String, CryptoError>

Computes the signature for a request with the given path and query string parameters using the supplied subscribe key, publish key, and secret key.