Lines Matching refs:p7

5620 	PKCS7 * p7 = NULL;  in PHP_FUNCTION()  local
5662 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
5663 if (p7 == NULL) { in PHP_FUNCTION()
5688 if (PKCS7_verify(p7, others, store, datain, dataout, (int)flags)) { in PHP_FUNCTION()
5699 signers = PKCS7_get0_signers(p7, others, (int)flags); in PHP_FUNCTION()
5723 if (PEM_write_bio_PKCS7(p7bout, p7) == 0) { in PHP_FUNCTION()
5742 PKCS7_free(p7); in PHP_FUNCTION()
5754 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5836 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
5838 if (p7 == NULL) { in PHP_FUNCTION()
5862 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5870 PKCS7_free(p7); in PHP_FUNCTION()
5888 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
5910 p7 = PEM_read_bio_PKCS7(bio_in, NULL, NULL, NULL); in PHP_FUNCTION()
5911 if (p7 == NULL) { in PHP_FUNCTION()
5916 switch (OBJ_obj2nid(p7->type)) { in PHP_FUNCTION()
5918 if (p7->d.sign != NULL) { in PHP_FUNCTION()
5919 certs = p7->d.sign->cert; in PHP_FUNCTION()
5920 crls = p7->d.sign->crl; in PHP_FUNCTION()
5924 if (p7->d.signed_and_enveloped != NULL) { in PHP_FUNCTION()
5925 certs = p7->d.signed_and_enveloped->cert; in PHP_FUNCTION()
5926 crls = p7->d.signed_and_enveloped->crl; in PHP_FUNCTION()
5973 if (p7 != NULL) { in PHP_FUNCTION()
5974 PKCS7_free(p7); in PHP_FUNCTION()
5990 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
6048 p7 = PKCS7_sign(cert, privkey, others, infile, (int)flags); in PHP_FUNCTION()
6049 if (p7 == NULL) { in PHP_FUNCTION()
6078 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
6086 PKCS7_free(p7); in PHP_FUNCTION()
6108 PKCS7 * p7 = NULL; in PHP_FUNCTION() local
6150 p7 = SMIME_read_PKCS7(in, &datain); in PHP_FUNCTION()
6152 if (p7 == NULL) { in PHP_FUNCTION()
6156 if (PKCS7_decrypt(p7, key, cert, out, PKCS7_DETACHED)) { in PHP_FUNCTION()
6162 PKCS7_free(p7); in PHP_FUNCTION()