Lines Matching refs:ca
177 let cert = include_bytes!("../../test/root-ca.pem");
181 let cert = include_bytes!("../../test/intermediate-ca.pem");
313 let basic_constraints = BasicConstraints::new().critical().ca().build().unwrap();
389 BasicConstraints::new().critical().ca().build().unwrap(),
485 let ca = include_bytes!("../../test/root-ca.pem");
486 let ca = X509::from_pem(ca).unwrap();
488 assert_eq!(ca.issued(&cert), X509VerifyResult::OK);
524 let ca = include_bytes!("../../test/root-ca.pem");
525 let ca = X509::from_pem(ca).unwrap();
529 store_bldr.add_cert(ca).unwrap();
545 let ca = include_bytes!("../../test/alt_name_cert.pem");
546 let ca = X509::from_pem(ca).unwrap();
550 store_bldr.add_cert(ca).unwrap();
564 let ca = include_bytes!("../../test/root-ca.pem");
565 let ca = X509::from_pem(ca).unwrap();
569 store_bldr.add_cert(ca).unwrap();
591 let ca = include_bytes!("../../test/root-ca.pem");
592 let ca = X509::from_pem(ca).unwrap();
603 store_bldr.add_cert(ca).unwrap();
618 let ca = include_bytes!("../../test/root-ca.pem");
619 let ca = X509::from_pem(ca).unwrap();
630 store_bldr.add_cert(ca).unwrap();
677 let ca = include_bytes!("../../test/crl-ca.crt");
678 let ca = X509::from_pem(ca).unwrap();
682 assert!(crl.verify(&ca.public_key().unwrap()).unwrap());
837 let ca = include_bytes!("../../test/root-ca.pem");
838 let ca = X509::from_pem(ca).unwrap();
842 store_bldr.add_cert(ca).unwrap();
868 let ca = include_bytes!("../../test/root-ca.pem");
869 let ca = X509::from_pem(ca).unwrap();
873 store_bldr.add_cert(ca).unwrap();
890 let intermediate_ca = include_bytes!("../../test/intermediate-ca.pem");
892 let ca = include_bytes!("../../test/root-ca.pem");
893 let ca = X509::from_pem(ca).unwrap();
898 store_bldr.add_cert(ca).unwrap();
918 let intermediate_ca = include_bytes!("../../test/intermediate-ca.pem");
920 let ca = include_bytes!("../../test/root-ca.pem");
921 let ca = X509::from_pem(ca).unwrap();
926 store_bldr.add_cert(ca).unwrap();
964 .load_cert_file("test/root-ca.pem", SslFiletype::PEM)
992 let intermediate_ca = include_bytes!("../../test/intermediate-ca.pem");
994 let ca = include_bytes!("../../test/root-ca.pem");
995 let ca = X509::from_pem(ca).unwrap();
1000 store_bldr.add_cert(ca).unwrap();
1017 let intermediate_ca = include_bytes!("../../test/intermediate-ca.pem");
1019 let ca = include_bytes!("../../test/root-ca.pem");
1020 let ca = X509::from_pem(ca).unwrap();
1025 store_bldr.add_cert(ca).unwrap();
1070 let res = lookup.load_crl_file("test/root-ca.pem", SslFiletype::PEM);