Lines Matching defs:cert
46 let cert = include_bytes!("../../test/cert.pem"); in test_cert_loading() localVariable
47 let cert = X509::from_pem(cert).unwrap(); in test_cert_loading() localVariable
58 let cert = include_bytes!("../../test/cert.pem"); in test_debug() localVariable
59 let cert = X509::from_pem(cert).unwrap(); in test_debug() localVariable
74 let cert = include_bytes!("../../test/cert.pem"); in test_cert_issue_validity() localVariable
75 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity() localVariable
85 let cert = include_bytes!("../../test/cert.pem"); in test_save_der() localVariable
86 let cert = X509::from_pem(cert).unwrap(); in test_save_der() localVariable
94 let cert = include_bytes!("../../test/cert.pem"); in test_subject_read_cn() localVariable
95 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn() localVariable
103 let cert = include_bytes!("../../test/nid_test_cert.pem"); in test_nid_values() localVariable
104 let cert = X509::from_pem(cert).unwrap(); in test_nid_values() localVariable
122 let cert = include_bytes!("../../test/nid_test_cert.pem"); in test_nameref_iterator() localVariable
123 let cert = X509::from_pem(cert).unwrap(); in test_nameref_iterator() localVariable
149 let cert = include_bytes!("../../test/nid_uid_test_cert.pem"); in test_nid_uid_value() localVariable
150 let cert = X509::from_pem(cert).unwrap(); in test_nid_uid_value() localVariable
159 let cert = include_bytes!("../../test/alt_name_cert.pem"); in test_subject_alt_name() localVariable
160 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name() localVariable
177 let cert = include_bytes!("../../test/root-ca.pem"); in test_retrieve_pathlen() localVariable
178 let cert = X509::from_pem(cert).unwrap(); in test_retrieve_pathlen() localVariable
181 let cert = include_bytes!("../../test/intermediate-ca.pem"); in test_retrieve_pathlen() localVariable
182 let cert = X509::from_pem(cert).unwrap(); in test_retrieve_pathlen() localVariable
185 let cert = include_bytes!("../../test/alt_name_cert.pem"); in test_retrieve_pathlen() localVariable
186 let cert = X509::from_pem(cert).unwrap(); in test_retrieve_pathlen() localVariable
193 let cert = include_bytes!("../../test/certv3.pem"); in test_subject_key_id() localVariable
194 let cert = X509::from_pem(cert).unwrap(); in test_subject_key_id() localVariable
206 let cert = include_bytes!("../../test/certv3.pem"); in test_authority_key_id() localVariable
207 let cert = X509::from_pem(cert).unwrap(); in test_authority_key_id() localVariable
219 let cert = include_bytes!("../../test/authority_key_identifier.pem"); in test_authority_issuer_and_serial() localVariable
220 let cert = X509::from_pem(cert).unwrap(); in test_authority_issuer_and_serial() localVariable
240 let cert = include_bytes!("../../test/alt_name_cert.pem"); in test_subject_alt_name_iter() localVariable
241 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name_iter() localVariable
271 let cert = include_bytes!("../../test/aia_test_cert.pem"); in test_aia_ca_issuer() localVariable
272 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer() localVariable
281 let cert = include_bytes!("../../test/cert.pem"); in test_aia_ca_issuer() localVariable
282 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer() localVariable
483 let cert = include_bytes!("../../test/cert.pem"); in issued() localVariable
484 let cert = X509::from_pem(cert).unwrap(); in issued() localVariable
494 let cert = include_bytes!("../../test/cert.pem"); in signature() localVariable
495 let cert = X509::from_pem(cert).unwrap(); in signature() localVariable
515 let cert = include_bytes!("../../test/cert.pem"); in clone_x509() localVariable
516 let cert = X509::from_pem(cert).unwrap(); in clone_x509() localVariable
522 let cert = include_bytes!("../../test/cert.pem"); in test_verify_cert() localVariable
523 let cert = X509::from_pem(cert).unwrap(); in test_verify_cert() localVariable
543 let cert = include_bytes!("../../test/cert.pem"); in test_verify_fails() localVariable
544 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails() localVariable
562 let cert = include_bytes!("../../test/cert.pem"); in test_verify_fails_with_crl_flag_set_and_no_crl() localVariable
563 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl() localVariable
589 let cert = include_bytes!("../../test/cert.pem"); in test_verify_cert_with_purpose() localVariable
590 let cert = X509::from_pem(cert).unwrap(); in test_verify_cert_with_purpose() localVariable
616 let cert = include_bytes!("../../test/cert.pem"); in test_verify_cert_with_wrong_purpose_fails() localVariable
617 let cert = X509::from_pem(cert).unwrap(); in test_verify_cert_with_wrong_purpose_fails() localVariable
656 let cert = builder.build(); in x509_ref_version() localVariable
667 let cert = X509Builder::new().unwrap().build(); in x509_ref_version_no_version_set() localVariable
684 let cert = include_bytes!("../../test/subca.crt"); in test_load_crl() localVariable
685 let cert = X509::from_pem(cert).unwrap(); in test_load_crl() localVariable
755 let cert = include_bytes!("../../test/cert.pem"); in test_save_subject_der() localVariable
756 let cert = X509::from_pem(cert).unwrap(); in test_save_subject_der() localVariable
778 let cert = include_bytes!("../../test/cert.pem"); in test_convert_to_text() localVariable
779 let cert = X509::from_pem(cert).unwrap(); in test_convert_to_text() localVariable
829 let cert = include_bytes!("../../test/cert.pem"); in test_name_cmp() localVariable
830 let cert = X509::from_pem(cert).unwrap(); in test_name_cmp() localVariable
841 let cert = include_bytes!("../../test/cert.pem"); in test_name_to_owned() localVariable
842 let cert = X509::from_pem(cert).unwrap(); in test_name_to_owned() localVariable
853 let cert = include_bytes!("../../test/cert.pem"); in test_verify_param_set_time_fails_verification() localVariable
854 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_time_fails_verification() localVariable
884 let cert = include_bytes!("../../test/cert.pem"); in test_verify_param_set_time() localVariable
885 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_time() localVariable
906 let cert = include_bytes!("../../test/leaf.pem"); in test_verify_param_set_depth() localVariable
907 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_depth() localVariable
934 let cert = include_bytes!("../../test/leaf.pem"); in test_verify_param_set_depth_fails_verification() localVariable
935 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_depth_fails_verification() localVariable
975 let cert = include_bytes!("../../test/cert.pem"); in test_load_cert_file() localVariable
976 let cert = X509::from_pem(cert).unwrap(); in test_load_cert_file() localVariable
1008 let cert = include_bytes!("../../test/leaf.pem"); in test_set_purpose() localVariable
1009 let cert = X509::from_pem(cert).unwrap(); in test_set_purpose() localVariable
1033 let cert = include_bytes!("../../test/leaf.pem"); in test_set_purpose_fails_verification() localVariable
1034 let cert = X509::from_pem(cert).unwrap(); in test_set_purpose_fails_verification() localVariable
1068 let cert = include_bytes!("../../test/cert.pem"); in test_add_name_entry() localVariable
1069 let cert = X509::from_pem(cert).unwrap(); in test_add_name_entry() localVariable
1104 let cert = builder.build(); in ipaddress_as_subject_alternative_name_is_formatted_in_debug() localVariable
1142 let cert = builder.build(); in other_name_as_subject_alternative_name() localVariable
1156 let cert = include_bytes!("../../test/certv3.pem"); in test_dist_point() localVariable
1157 let cert = X509::from_pem(cert).unwrap(); in test_dist_point() localVariable
1176 let cert = include_bytes!("../../test/cert.pem"); in test_dist_point_null() localVariable
1177 let cert = X509::from_pem(cert).unwrap(); in test_dist_point_null() localVariable
1184 let cert = include_bytes!("../../test/cert.pem"); in test_store_all_certificates() localVariable
1185 let cert = X509::from_pem(cert).unwrap(); in test_store_all_certificates() localVariable