Signature and hash message

Hello,

I am trying to use Signature class for an applet and wonder if the Signature

class hashes my source message when calling the sign method?

Does someone has any idea of this?

How can I know if the Signature hashes my code?

Thanks in advance

Best wishes.

[301 byte] By [firejokea] at [2007-10-2 5:41:13]
# 1

> I am trying to use Signature class for an applet and

> wonder if the Signature

> class hashes my source message when calling the sign

> method?

The is very simple. Before you can call the sign method you have to initialize the Signature class.

If you initialize it with an algorithm that includes uses an hash function, Signature hashes the input data.

Jan

JPJavaa at 2007-7-16 1:51:31 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
I was wrong. You don't specify the algorithm by the init method. You already have to specify it when you are calling Signature.getInstance().Jan
JPJavaa at 2007-7-16 1:51:31 > top of Java-index,Java Mobility Forums,Consumer and Commerce...