Lines Matching refs:from_pem
36 let cert = X509::from_pem(cert).unwrap(); in test_cert_loading()
48 let cert = X509::from_pem(cert).unwrap(); in test_debug()
64 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity()
75 let cert = X509::from_pem(cert).unwrap(); in test_save_der()
84 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn()
93 let cert = X509::from_pem(cert).unwrap(); in test_nid_values()
112 let cert = X509::from_pem(cert).unwrap(); in test_nameref_iterator()
139 let cert = X509::from_pem(cert).unwrap(); in test_nid_uid_value()
149 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name()
166 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name_iter()
197 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer()
207 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer()
339 let cert = X509::from_pem(cert).unwrap(); in issued()
341 let ca = X509::from_pem(ca).unwrap(); in issued()
350 let cert = X509::from_pem(cert).unwrap(); in signature()
371 let cert = X509::from_pem(cert).unwrap(); in clone_x509()
378 let cert = X509::from_pem(cert).unwrap(); in test_verify_cert()
380 let ca = X509::from_pem(ca).unwrap(); in test_verify_cert()
399 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails()
401 let ca = X509::from_pem(ca).unwrap(); in test_verify_fails()
418 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl()
420 let ca = X509::from_pem(ca).unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl()
471 let cert = X509::from_pem(cert).unwrap(); in test_save_subject_der()
494 let cert = X509::from_pem(cert).unwrap(); in test_convert_to_text()
520 let csr = X509Req::from_pem(csr).unwrap(); in test_convert_req_to_text()
545 let cert = X509::from_pem(cert).unwrap(); in test_name_cmp()
559 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_time_fails_verification()
561 let ca = X509::from_pem(ca).unwrap(); in test_verify_param_set_time_fails_verification()
590 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_time()
592 let ca = X509::from_pem(ca).unwrap(); in test_verify_param_set_time()
612 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_depth()
614 let intermediate_ca = X509::from_pem(intermediate_ca).unwrap(); in test_verify_param_set_depth()
616 let ca = X509::from_pem(ca).unwrap(); in test_verify_param_set_depth()
640 let cert = X509::from_pem(cert).unwrap(); in test_verify_param_set_depth_fails_verification()
642 let intermediate_ca = X509::from_pem(intermediate_ca).unwrap(); in test_verify_param_set_depth_fails_verification()
644 let ca = X509::from_pem(ca).unwrap(); in test_verify_param_set_depth_fails_verification()
681 let cert = X509::from_pem(cert).unwrap(); in test_load_cert_file()