pub fn serialize_compact(
    payload: &[u8],
    header: &JweHeader,
    encrypter: &dyn JweEncrypter,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_compact(payload, header, encrypter)
}
/// Return a representation of the data that is formatted by compact serialization.
///
/// # Arguments
///
/// * `payload` - The payload data.
/// * `header` - The JWS heaser claims.
/// * `encrypter` - The JWS encrypter.
Return a representation of the data that is formatted by compact serialization.
Return a representation of the data that is formatted by compact serialization .
pub fn serialize_compact(
    payload: &[u8],
    header: &JweHeader,
    encrypter: &dyn JweEncrypter,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.serialize_compact(payload, header, encrypter)
}
pub fn serialize_compact ( payload : & [ u8 ] , header : & JweHeader , encrypter : & dyn JweEncrypter , ) -> Result < String , JoseError > { DEFAULT_CONTEXT . serialize_compact ( payload , header , encrypter ) }
Return a representation of the data that is formatted by compact serialization.
Return a representation of the data that is formatted by compact serialization .
payload
&[u8]
header
&JweHeader
encrypter
&dyn JweEncrypter
payload
&[u8]
header
&JweHeader
encrypter
&dyn JweEncrypter