Function josekit::jws::serialize_general_json[][src]

pub fn serialize_general_json(
    payload: &[u8],
    signers: &[(&JwsHeaderSet, &dyn JwsSigner)]
) -> Result<String, JoseError>
Expand description

Return a representation of the data that is formatted by general json serialization.

Arguments

  • protected - The JWS protected header claims.
  • header - The JWS unprotected header claims.
  • payload - The payload data.
  • signers - The JWS signer.