Function ssi::jws::encode_sign[][src]

pub fn encode_sign(
    algorithm: Algorithm,
    payload: &str,
    key: &JWK
) -> Result<String, Error>