Searched refs:purpose_idx (Results 1 – 1 of 1) sorted by relevance
596 let purpose_idx = X509PurposeRef::get_by_sname("sslserver") in test_verify_cert_with_purpose() localVariable599 X509PurposeRef::from_idx(purpose_idx).expect("Getting certificate purpose failed"); in test_verify_cert_with_purpose()623 let purpose_idx = X509PurposeRef::get_by_sname("timestampsign") in test_verify_cert_with_wrong_purpose_fails() localVariable626 X509PurposeRef::from_idx(purpose_idx).expect("Getting certificate purpose failed"); in test_verify_cert_with_wrong_purpose_fails()