Hi Hans...
I seem to remember downloading some ocf authentication package from the IBM
site,
as I wanted reference DES crypto classes; export controls applied.
Don't have the exact URL, but hope this lead helps.
Eric Pearson
----- Original Message -----
From: "Hans Demski" <[EMAIL PROTECTED]>
To: "opencard" <[EMAIL PROTECTED]>
Sent: Thursday, July 18, 2002 7:55 AM
Subject: [Fwd: [OCF] com.ibm.opencard.factory.MFCHVAutFactory is missing in
OCF version 1.2]
> Hello all,
> exactly 1 month ago i made the following posting, unfortunately i did
> not even get a single answer.
> I repost the question expecting someone out there in OCF space who gives
> an answer (or even a comment, or hint, or ...).
> Yours faithfully!! Hans >:-)
>
> >
> > 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.
>
---
> 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.