Hi,

the OCF documentation of the SignatureCardService seems to be right!

The parameters of verifySignedData are ...
   * @param publicKey
   *         a reference to the public key on card to be used for signature
validation
   * @param signAlgorithm standard digital signature algorithm name
   * @param data the data for which the signature should be verified
   * @param signature signature to be verified


The method you mentioned does the following things ...
     * - check parameters
     * - select key parent directory
     * - read key info
     * - check parameters
     * - authenticate (before next steps to avoid retry of calculate hash)
     * - calculate hash
     * - verify signature



Best regards
Thomas





Thomas Stober
---------------------------------------------------------------------------
---------------------------------------------

IBM Global Smart Card Solutions
Technology Development

IBM Deutschland Entwicklung GmbH
Schoenaicher Strasse 220
D-71032 Boeblingen
E-mail: [EMAIL PROTECTED]
Tel.: +49 (0) 7031 - 16 - 4605
Fax.: +49 (0) 7031 - 16 - 4888


Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to