Lines Matching refs:p7
4972 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5014 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5015 if (p7 == NULL) { in PHP_FUNCTION()
5040 if (PKCS7_verify(p7, others, store, datain, dataout, (int)flags)) { in PHP_FUNCTION()
5051 signers = PKCS7_get0_signers(p7, NULL, (int)flags); in PHP_FUNCTION()
5075 PEM_write_bio_PKCS7(p7bout, p7); in PHP_FUNCTION()
5090 PKCS7_free(p7); in PHP_FUNCTION()
5102 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5184 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
5186 if (p7 == NULL) { in PHP_FUNCTION()
5210 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5218 PKCS7_free(p7); in PHP_FUNCTION()
5236 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5258 p7 = PEM_read_bio_PKCS7(bio_in, NULL, NULL, NULL); in PHP_FUNCTION()
5259 if (p7 == NULL) { in PHP_FUNCTION()
5264 switch (OBJ_obj2nid(p7->type)) { in PHP_FUNCTION()
5266 if (p7->d.sign != NULL) { in PHP_FUNCTION()
5267 certs = p7->d.sign->cert; in PHP_FUNCTION()
5268 crls = p7->d.sign->crl; in PHP_FUNCTION()
5272 if (p7->d.signed_and_enveloped != NULL) { in PHP_FUNCTION()
5273 certs = p7->d.signed_and_enveloped->cert; in PHP_FUNCTION()
5274 crls = p7->d.signed_and_enveloped->crl; in PHP_FUNCTION()
5321 if (p7 != NULL) { in PHP_FUNCTION()
5322 PKCS7_free(p7); in PHP_FUNCTION()
5338 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5396 p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags); in PHP_FUNCTION()
5397 if (p7 == NULL) { in PHP_FUNCTION()
5426 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5434 PKCS7_free(p7); in PHP_FUNCTION()
5456 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5498 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5500 if (p7 == NULL) { in PHP_FUNCTION()
5504 if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) { in PHP_FUNCTION()
5510 PKCS7_free(p7); in PHP_FUNCTION()