pub fn encode_with_encrypter(
    payload: &JwtPayload,
    header: &JweHeader,
    encrypter: &dyn JweEncrypter,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.encode_with_encrypter(payload, header, encrypter)
}
/// Return the string repsentation of the JWT with the encrypting algorithm.
///
/// # Arguments
///
/// * `payload` - The payload data.
/// * `header` - The JWE heaser claims.
/// * `encrypter` - a encrypter object.
Return the string repsentation of the JWT with the encrypting algorithm.
Return the string repsentation of the JWT with the encrypting algorithm .
pub fn encode_with_encrypter(
    payload: &JwtPayload,
    header: &JweHeader,
    encrypter: &dyn JweEncrypter,
) -> Result<String, JoseError> {
    DEFAULT_CONTEXT.encode_with_encrypter(payload, header, encrypter)
}
pub fn encode_with_encrypter ( payload : & JwtPayload , header : & JweHeader , encrypter : & dyn JweEncrypter , ) -> Result < String , JoseError > { DEFAULT_CONTEXT . encode_with_encrypter ( payload , header , encrypter ) }
Return the string repsentation of the JWT with the encrypting algorithm.
Return the string repsentation of the JWT with the encrypting algorithm .
payload
&JwtPayload
header
&JweHeader
encrypter
&dyn JweEncrypter
payload
&JwtPayload
header
&JweHeader
encrypter
&dyn JweEncrypter