Searched refs:from_cbor_value (Results 1 – 4 of 4) sorted by relevance
30 let label = Label::from_cbor_value(label.clone())?; in cose_key_from_cbor_value()37 Ok(CoseKey::from_cbor_value(value)?) in cose_key_from_cbor_value()
101 Value::Array(_) => CoseEncrypt::from_cbor_value(v) in into_optional_cose_encrypt()115 Value::Array(_) => CoseMac0::from_cbor_value(v) in into_optional_cose_mac0()129 Value::Array(_) => CoseSign1::from_cbor_value(v) in into_optional_cose_sign1()
32 let mut pubkey_cose = match CoseKey::from_cbor_value(headers.remove(pubkey_index).1) { in from_cose_encrypt()192 None => self.0.insert(signer, UdsCertsEntry::from_cbor_value(data)?), in add_signer()199 fn from_cbor_value(data: Value) -> Result<Self> { in from_cbor_value() method
45 let sign1 = CoseSign1::from_cbor_value(cbor) in verify_cbor_value()