Hello all,

i am just migrating from OCF version 1.1 to 1.2.
It works all fine, but performing a verifyPassword operation on an 
instance of CHVCardService i am getting into troubles. In our 
application we use an IBM MFC card, thus i tried to use the 
com.ibm.opencard.factory.MFCCHVAutFactory. But this is not possible 
because the classes needed are not included in the OCF packages which i 
downloaded from www.opencard.org.
Does anybody know where to get the MFCHVAutFactory or which other 
classes to use to explicitely (see code snippet below) perform a CHV 
verification with a programmatically known PIN (without CHVDialog 
displayed).

Any help or hints welcome - thanx
Hans

-------- code snippet begin -------
private boolean verifyCHV (int number, String filePath, byte[] chv) 
throws DiabCardException
   {
        CHVCardService chvserv = null;
        if (m_sc != null) // check if SmartCard object exists
        {
                chvserv = (CHVCardService)m_sc.getCardService(CHVCardService.class, 
true); 

                return chvserv.verifyPassword(new CardFilePath(filePath), number, chv);
        }
        else
        {
                return false;
        }
   }
-------- code snippet end -------
-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Hans Demski (mailto:[EMAIL PROTECTED])
Institute MEDIS, GSF Research Center (http://www-mi.gsf.de)
phone: +49-89-3187-4179, fax: +49-89-3187-3008
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to