Lines Matching refs:p7
5153 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5198 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5199 if (p7 == NULL) { in PHP_FUNCTION()
5236 if (PKCS7_verify(p7, others, store, datain, dataout, (int)flags)) { in PHP_FUNCTION()
5250 signers = PKCS7_get0_signers(p7, NULL, (int)flags); in PHP_FUNCTION()
5275 PEM_write_bio_PKCS7(p7bout, p7); in PHP_FUNCTION()
5290 PKCS7_free(p7); in PHP_FUNCTION()
5303 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5389 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
5391 if (p7 == NULL) { in PHP_FUNCTION()
5415 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5423 PKCS7_free(p7); in PHP_FUNCTION()
5442 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5464 p7 = PEM_read_bio_PKCS7(bio_in, NULL, NULL, NULL); in PHP_FUNCTION()
5465 if (p7 == NULL) { in PHP_FUNCTION()
5470 switch (OBJ_obj2nid(p7->type)) { in PHP_FUNCTION()
5472 if (p7->d.sign != NULL) { in PHP_FUNCTION()
5473 certs = p7->d.sign->cert; in PHP_FUNCTION()
5474 crls = p7->d.sign->crl; in PHP_FUNCTION()
5478 if (p7->d.signed_and_enveloped != NULL) { in PHP_FUNCTION()
5479 certs = p7->d.signed_and_enveloped->cert; in PHP_FUNCTION()
5480 crls = p7->d.signed_and_enveloped->crl; in PHP_FUNCTION()
5529 if (p7 != NULL) { in PHP_FUNCTION()
5530 PKCS7_free(p7); in PHP_FUNCTION()
5545 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5603 p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags); in PHP_FUNCTION()
5604 if (p7 == NULL) { in PHP_FUNCTION()
5633 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5641 PKCS7_free(p7); in PHP_FUNCTION()
5666 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5706 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5708 if (p7 == NULL) { in PHP_FUNCTION()
5712 if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) { in PHP_FUNCTION()
5718 PKCS7_free(p7); in PHP_FUNCTION()