Lines Matching refs:p7
5306 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5348 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5349 if (p7 == NULL) { in PHP_FUNCTION()
5374 if (PKCS7_verify(p7, others, store, datain, dataout, (int)flags)) { in PHP_FUNCTION()
5385 signers = PKCS7_get0_signers(p7, others, (int)flags); in PHP_FUNCTION()
5409 if (PEM_write_bio_PKCS7(p7bout, p7) == 0) { in PHP_FUNCTION()
5428 PKCS7_free(p7); in PHP_FUNCTION()
5440 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5522 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
5524 if (p7 == NULL) { in PHP_FUNCTION()
5548 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5556 PKCS7_free(p7); in PHP_FUNCTION()
5574 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5596 p7 = PEM_read_bio_PKCS7(bio_in, NULL, NULL, NULL); in PHP_FUNCTION()
5597 if (p7 == NULL) { in PHP_FUNCTION()
5602 switch (OBJ_obj2nid(p7->type)) { in PHP_FUNCTION()
5604 if (p7->d.sign != NULL) { in PHP_FUNCTION()
5605 certs = p7->d.sign->cert; in PHP_FUNCTION()
5606 crls = p7->d.sign->crl; in PHP_FUNCTION()
5610 if (p7->d.signed_and_enveloped != NULL) { in PHP_FUNCTION()
5611 certs = p7->d.signed_and_enveloped->cert; in PHP_FUNCTION()
5612 crls = p7->d.signed_and_enveloped->crl; in PHP_FUNCTION()
5659 if (p7 != NULL) { in PHP_FUNCTION()
5660 PKCS7_free(p7); in PHP_FUNCTION()
5676 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5734 p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags); in PHP_FUNCTION()
5735 if (p7 == NULL) { in PHP_FUNCTION()
5764 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5772 PKCS7_free(p7); in PHP_FUNCTION()
5794 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5836 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5838 if (p7 == NULL) { in PHP_FUNCTION()
5842 if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) { in PHP_FUNCTION()
5848 PKCS7_free(p7); in PHP_FUNCTION()