Lines Matching refs:cert
3 use crate::{cert, device, AttestationChainInfo};
66 pub key_params: cert::AuthorizationList<'a>,
100 let issuer = cert::extract_subject( in get_signing_info()
126 let key_usage_ext_bits = cert::key_usage_extension_bits(params); in generate_cert()
127 let key_usage_ext_val = cert::asn1_der_encode(&key_usage_ext_bits)?; in generate_cert()
133 let basic_constraints = cert::basic_constraints_ext_value(true); in generate_cert()
134 Some(cert::asn1_der_encode(&basic_constraints)?) in generate_cert()
144 let attest_ext = cert::attestation_extension( in generate_cert()
156 Some(cert::asn1_der_encode(&attest_ext)?) in generate_cert()
161 let tbs_cert = cert::tbs_certificate( in generate_cert()
170 let tbs_data = cert::asn1_der_encode(&tbs_cert)?; in generate_cert()
177 let cert = cert::certificate(tbs_cert, &sig_data)?; in generate_cert() localVariable
178 let cert_data = cert::asn1_der_encode(&cert)?; in generate_cert()
450 for cert in info.chain { in finish_keyblob_creation()
451 certificate_chain.try_push(cert)?; in finish_keyblob_creation()
593 op.update_aad(&cert::asn1_der_encode(&secure_key_wrapper.key_description)?)?; in import_wrapped_key()