pub fn serialize_flattened_json(
        &self,
        payload: &[u8],
        header: &JwsHeaderSet,
        signer: &dyn JwsSigner,
    ) -> Result<String, JoseError> {
        self.serialize_flattened_json_with_selector(payload, header, |_header| Some(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(
        &self,
        payload: &[u8],
        header: &JwsHeaderSet,
        signer: &dyn JwsSigner,
    ) -> Result<String, JoseError> {
        self.serialize_flattened_json_with_selector(payload, header, |_header| Some(signer))
    }
pub fn serialize_flattened_json ( & self , payload : & [ u8 ] , header : & JwsHeaderSet , signer : & dyn JwsSigner , ) -> Result < String , JoseError > { self . serialize_flattened_json_with_selector ( payload , header , | _header | Some ( 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 .
&self
payload
&[u8]
header
&JwsHeaderSet
signer
&dyn JwsSigner
&self
payload
&[u8]
header
&JwsHeaderSet
signer
&dyn JwsSigner