note 105071 added to function.openssl-pkcs7-verify
| From: | test at osu1 dot php dot net | Date: | Tue, 26 Jul 2011 08:48:22 +0000 |
| Subject: | note 105071 added to function.openssl-pkcs7-verify | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181876@lists.php.net to get a copy of this message | ||
hi,
please give the solution for following:
1.We tried to verify the detached signature using openssl_pkcs7_verify(). but we got return value
as -1.
2. Signing part also getting error to fetch the private key from certificate.pem file. The error as
follows:
[error] [client 127.0.0.1] PHP Warning: openssl_pkcs7_sign() [<a
href='function.openssl-pkcs7-sign'>function.openssl-pkcs7-sign</a>]: error
getting private key in Test.php
[client 127.0.0.1] PHP Warning: openssl_pkcs7_sign() [<a
href='function.openssl-pkcs7-sign'>function.openssl-pkcs7-sign</a>]: error
getting cert in Test.php on line 8,
3. openssl_pkcs_verify() - we are getting trouble to pass the input content using detached type.
----
Server IP: 69.147.83.197
Probable Submitter: 164.100.167.139
----
Manual Page -- http://www.php.net/manual/en/function.openssl-pkcs7-verify.php
Edit -- https://master.php.net/note/edit/105071
Del: integrated -- https://master.php.net/note/delete/105071/integrated
Del: useless -- https://master.php.net/note/delete/105071/useless
Del: bad code -- https://master.php.net/note/delete/105071/bad+code
Del: spam -- https://master.php.net/note/delete/105071/spam
Del: non-english -- https://master.php.net/note/delete/105071/non-english
Del: in docs -- https://master.php.net/note/delete/105071/in+docs
Del: other reasons-- https://master.php.net/note/delete/105071
Reject -- https://master.php.net/note/reject/105071
Search -- https://master.php.net/manage/user-notes.php