Lines Matching refs:certs
102 certs: &StackRef<X509>, in encrypt()
111 certs.as_ptr(), in encrypt()
130 certs: &StackRef<X509>, in sign()
142 certs.as_ptr(), in sign()
223 certs: &StackRef<X509>, in verify()
240 certs.as_ptr(), in verify()
261 certs: &StackRef<X509>, in signers()
267 certs.as_ptr(), in signers()
298 let mut certs = Stack::new().unwrap(); in encrypt_decrypt_test() localVariable
299 certs.push(cert.clone()).unwrap(); in encrypt_decrypt_test()
307 Pkcs7::encrypt(&certs, message.as_bytes(), cipher, flags).expect("should succeed"); in encrypt_decrypt_test()
326 let certs = Stack::new().unwrap(); in sign_verify_test_detached() localVariable
340 Pkcs7::sign(&cert, &pkey, &certs, message.as_bytes(), flags).expect("should succeed"); in sign_verify_test_detached()
352 &certs, in sign_verify_test_detached()
370 let certs = Stack::new().unwrap(); in sign_verify_test_normal() localVariable
384 Pkcs7::sign(&cert, &pkey, &certs, message.as_bytes(), flags).expect("should succeed"); in sign_verify_test_normal()
395 .verify(&certs, &store, None, Some(&mut output), flags) in sign_verify_test_normal()
409 let certs = Stack::new().unwrap(); in signers() localVariable
421 Pkcs7::sign(&cert, &pkey, &certs, message.as_bytes(), flags).expect("should succeed"); in signers()