Lines Matching defs:Error
67 type Error = String; typedef
78 pub fn chain_matches_policy(dice_chain: &[u8], policy: &[u8]) -> Result<(), Error> { in chain_matches_policy() argument
96 pub fn new(constraint_type: u16, path: Vec<i64>, value: Value) -> Result<Self, Error> { in new() argument
205 pub fn matches_dice_chain(&self, dice_chain: &[u8]) -> Result<(), Error> { in matches_dice_chain() argument
238 ) -> Result<(), Error> { in check_constraints_on_node() argument
245 fn check_constraint_on_node(constraint: &Constraint, dice_node: &Value) -> Result<(), Error> { in check_constraint_on_node() argument
281 ) -> Result<Option<Value>, Error> { in lookup_in_nested_container() argument
290 fn get_container_from_value(container: &Value) -> Result<Container, Error> { in get_container_from_value() argument
331 pub fn check_is_explicit_key_dice_chain(dice_chain: &[Value]) -> Result<(), Error> { in check_is_explicit_key_dice_chain() argument
340 pub fn payload_value_from_cose_sign(cbor: Value) -> Result<Value, Error> { in payload_value_from_cose_sign() argument
350 pub fn deserialize_cbor_array(cbor_array_bytes: &[u8]) -> Result<Vec<Value>, Error> { in deserialize_cbor_array() argument