Searched refs:from_json (Results 1 – 2 of 2) sorted by relevance
/tools/security/remote_provisioning/hwtrust/src/rkp/ |
D | factory_csr.rs | 30 pub fn from_json(session: &Session, json: &str) -> Result<Self> { in from_json() method 71 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v2_ed25519() 128 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v3_ed25519() 146 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v2_p256() 173 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_valid_v3_p256() 194 let err = FactoryCsr::from_json(&Session::default(), &json).unwrap_err(); in from_json_name_is_missing() 203 let err = FactoryCsr::from_json(&Session::default(), &json).unwrap_err(); in from_json_name_is_wrong_type() 210 let err = FactoryCsr::from_json(&Session::default(), json).unwrap_err(); in from_json_csr_is_missing() 217 let err = FactoryCsr::from_json(&Session::default(), json).unwrap_err(); in from_json_csr_is_wrong_type() 226 let csr = FactoryCsr::from_json(&Session::default(), &json).unwrap(); in from_json_extra_tag_is_ignored()
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | main.rs | 152 let csr = rkp::FactoryCsr::from_json(&session, &line)?; in parse_factory_csr()
|