Lines Matching refs:from_pem

28     let cert = X509::from_pem(cert).unwrap();  in test_cert_loading()
40 let cert = X509::from_pem(cert).unwrap(); in test_debug()
53 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity()
64 let cert = X509::from_pem(cert).unwrap(); in test_save_der()
73 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn()
82 let cert = X509::from_pem(cert).unwrap(); in test_nid_values()
101 let cert = X509::from_pem(cert).unwrap(); in test_nameref_iterator()
128 let cert = X509::from_pem(cert).unwrap(); in test_nid_uid_value()
138 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name()
155 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name_iter()
186 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer()
196 let cert = X509::from_pem(cert).unwrap(); in test_aia_ca_issuer()
328 let cert = X509::from_pem(cert).unwrap(); in issued()
330 let ca = X509::from_pem(ca).unwrap(); in issued()
339 let cert = X509::from_pem(cert).unwrap(); in signature()
360 let cert = X509::from_pem(cert).unwrap(); in clone_x509()
367 let cert = X509::from_pem(cert).unwrap(); in test_verify_cert()
369 let ca = X509::from_pem(ca).unwrap(); in test_verify_cert()
388 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails()
390 let ca = X509::from_pem(ca).unwrap(); in test_verify_fails()
407 let cert = X509::from_pem(cert).unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl()
409 let ca = X509::from_pem(ca).unwrap(); in test_verify_fails_with_crl_flag_set_and_no_crl()