pub fn serialize_flattened_json(
    payload: &[u8],
    header: &JwsHeaderSet,
    signer: &dyn JwsSigner,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_flattened_json(payload, header, signer)
}
/// Return a representation of the data that is formatted by flattened json serialization.
///
/// # Arguments
///
/// * `payload` - The payload data.
/// * `header` - The JWS protected and unprotected header claims.
/// * `signer` - The JWS signer.
Return a representation of the data that is formatted by flattened json serialization.
Return a representation of the data that is formatted by flattened json serialization .
pub fn serialize_flattened_json(
    payload: &[u8],
    header: &JwsHeaderSet,
    signer: &dyn JwsSigner,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_flattened_json(payload, header, signer)
}
pub fn serialize_flattened_json ( payload : & [ u8 ] , header : & JwsHeaderSet , signer : & dyn JwsSigner , ) -> Result < String , JoseError > { DEFAULT_CONTEXT . serialize_flattened_json ( payload , header , signer ) }
Return a representation of the data that is formatted by flattened json serialization.
Return a representation of the data that is formatted by flattened json serialization .
payload
&[u8]
header
&JwsHeaderSet
signer
&dyn JwsSigner
payload
&[u8]
header
&JwsHeaderSet
signer
&dyn JwsSigner