Searched refs:from_optional_value (Results 1 – 3 of 3) sorted by relevance
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/ |
D | csr.rs | 45 let keys_to_sign = FieldValue::from_optional_value("KeysToSign", csr_payload.pop()); in from_value() 46 let device_info = FieldValue::from_optional_value("DeviceInfo", csr_payload.pop()); in from_value() 48 FieldValue::from_optional_value("CertificateType", csr_payload.pop()); in from_value() 49 let version = FieldValue::from_optional_value("Version", csr_payload.pop()).into_u64()?; in from_value() 112 FieldValue::from_optional_value("MacedKeysToSign", csr.pop()).into_cose_mac0()?; in v2_from_cbor_values() 114 FieldValue::from_optional_value("ProtectedData", csr.pop()).into_cose_encrypt()?; in v2_from_cbor_values() 115 let challenge = FieldValue::from_optional_value("Challenge", csr.pop()).into_bytes()?; in v2_from_cbor_values() 176 FieldValue::from_optional_value("UnverifiedDeviceInfo", csr.pop()); in v3_from_authenticated_request() 183 FieldValue::from_optional_value("SignedData", csr.pop()).into_cose_sign1()?; in v3_from_authenticated_request() 185 let uds_certs = FieldValue::from_optional_value("UdsCerts", csr.pop()).into_map()?; in v3_from_authenticated_request()
|
D | protected_data.rs | 96 let uds_certs_field = FieldValue::from_optional_value("UdsCerts", array.pop()); in from_cbor_bytes() 101 Value::Array(FieldValue::from_optional_value("DiceChain", array.pop()).into_array()?); in from_cbor_bytes() 108 FieldValue::from_optional_value("SignedMac", array.pop()).into_cose_sign1()?, in from_cbor_bytes()
|
/tools/security/remote_provisioning/hwtrust/src/cbor/ |
D | field_value.rs | 50 pub fn from_optional_value(name: &'static str, value: Option<Value>) -> Self { in from_optional_value() method
|