Digital signature problem

Hi guys,

I implemented a method for the digital signature exactly as it is described here:

http://java.sun.com/docs/books/tutorial/security/apisign/gensig.html

it is very useful and it worked.... but now it doesn't work anymore, I really don't know the reason.

I tested it... but now the method always return "false", even when I use valid files. I did not modify neither the source code or the files....

Thank you

[453 byte] By [mangustaa] at [2007-10-3 4:01:53]
# 1

So what changed?

This is where you have to get forensic. What changed, when, can you undo it, can you get back to a working system, what is the difference?

You can only be sure either that something changed or that your system only ever worked accidentally. And you have to decide which it is.

ejpa at 2007-7-14 22:01:12 > top of Java-index,Security,Cryptography...
# 2
I see the problem. It's in line # 27 of your code, the line that says ...
ghstarka at 2007-7-14 22:01:12 > top of Java-index,Security,Cryptography...