pub fn serialize_general_json(
    payload: &[u8],
    signers: &[(&JwsHeaderSet, &dyn JwsSigner)],
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_general_json(payload, signers)
}
/// 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.
Return a representation of the data that is formatted by general json serialization.
Return a representation of the data that is formatted by general json serialization .
pub fn serialize_general_json(
    payload: &[u8],
    signers: &[(&JwsHeaderSet, &dyn JwsSigner)],
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_general_json(payload, signers)
}
pub fn serialize_general_json ( payload : & [ u8 ] , signers : & [ ( & JwsHeaderSet , & dyn JwsSigner ) ] , ) -> Result < String , JoseError > { DEFAULT_CONTEXT . serialize_general_json ( payload , signers ) }
Return a representation of the data that is formatted by general json serialization.
Return a representation of the data that is formatted by general json serialization .
payload
&[u8]
signers
&[(&JwsHeaderSet, &dyn JwsSigner)]
payload
&[u8]
signers
&[(&JwsHeaderSet, &dyn JwsSigner)]