Roberto J. Hoyle wrote:
What's the point of "OpenCA::PKCS7::status"? It seems to be useful only if there's an error condition.

There seems to be no way of testing if the signature verification failed, though. If I stage a failing test condition, "status" still returns "undef".

What's the proper way to check whether or not a signature verified properly? The return value from "verifyDepth" also doesn't verify whether the signature was valid or not.

I'm on the way home, so this is more an idea then a correct answer. There ar e$OpenCA::PKCS7::errno and $OpenCA::PKCS7::errval to detect errors in the global scope. If you have an object then you can get the error via $obj->errval and $obj->errno.


Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to