Lines Matching refs:p7
5024 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5069 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5070 if (p7 == NULL) { in PHP_FUNCTION()
5107 if (PKCS7_verify(p7, others, store, datain, dataout, (int)flags)) { in PHP_FUNCTION()
5121 signers = PKCS7_get0_signers(p7, NULL, (int)flags); in PHP_FUNCTION()
5146 PEM_write_bio_PKCS7(p7bout, p7); in PHP_FUNCTION()
5161 PKCS7_free(p7); in PHP_FUNCTION()
5174 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5260 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
5262 if (p7 == NULL) { in PHP_FUNCTION()
5283 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5291 PKCS7_free(p7); in PHP_FUNCTION()
5310 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5332 p7 = PEM_read_bio_PKCS7(bio_in, NULL, NULL, NULL); in PHP_FUNCTION()
5333 if (p7 == NULL) { in PHP_FUNCTION()
5338 switch (OBJ_obj2nid(p7->type)) { in PHP_FUNCTION()
5340 if (p7->d.sign != NULL) { in PHP_FUNCTION()
5341 certs = p7->d.sign->cert; in PHP_FUNCTION()
5342 crls = p7->d.sign->crl; in PHP_FUNCTION()
5346 if (p7->d.signed_and_enveloped != NULL) { in PHP_FUNCTION()
5347 certs = p7->d.signed_and_enveloped->cert; in PHP_FUNCTION()
5348 crls = p7->d.signed_and_enveloped->crl; in PHP_FUNCTION()
5395 if (p7 != NULL) { in PHP_FUNCTION()
5396 PKCS7_free(p7); in PHP_FUNCTION()
5411 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5469 p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags); in PHP_FUNCTION()
5470 if (p7 == NULL) { in PHP_FUNCTION()
5496 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5504 PKCS7_free(p7); in PHP_FUNCTION()
5529 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5569 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5571 if (p7 == NULL) { in PHP_FUNCTION()
5575 if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) { in PHP_FUNCTION()
5581 PKCS7_free(p7); in PHP_FUNCTION()