Searched refs:asn1_der_encode (Results 1 – 2 of 2) sorted by relevance
127 let key_usage_ext_val = cert::asn1_der_encode(&key_usage_ext_bits)?; in generate_cert()134 Some(cert::asn1_der_encode(&basic_constraints)?) in generate_cert()156 Some(cert::asn1_der_encode(&attest_ext)?) in generate_cert()170 let tbs_data = cert::asn1_der_encode(&tbs_cert)?; in generate_cert()178 let cert_data = cert::asn1_der_encode(&cert)?; in generate_cert()593 op.update_aad(&cert::asn1_der_encode(&secure_key_wrapper.key_description)?)?; in import_wrapped_key()
179 pub(crate) fn asn1_der_encode<T: Encode>(obj: &T) -> Result<Vec<u8>, Error> { in asn1_der_encode() function