[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] no leading zero!




PKCS#1 requires that RSA operations are performed on messages of which the
leading byte
is zero. If you get this except, it probably means that you try to verify
the wrong signature or try
to decrypt the wrong message.
If not, you should mail over the stack trace.

Stef



Maybe I'm going to make a novice question, but what does it exactly mean
the
exception:

javax.crypto.BadPaddingException: Invalid PKCS#1 padding: no leading zero!

Where is this zero expected?

Thanks a lot
    Mauro

--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-jce




--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce