Re: MUSCLE VerifyKey using OCF

2001-07-31 Thread Luciano da Silva Coelho

Hi Emiliano,

Thanks by your tip.
But, what I want to know is: The idea of Identities (AUT0, AUT1, etc)
that exists en Cyberflex is also valid in the OCF context? Are there others
cards that have the same concept the identities?
For example, to download a Cardlet to my card I need before authenticate
me with the card using for this, the AUT0 identity (In the CyberflexAccess
is the Transport Key).

Does anybody here use OCF to download applets to the CyberflexAccess?

More one time thanks by the answers.
[ ]´s
Luciano da Silva Coelho
[EMAIL PROTECTED]
Sun Certified Programmer for JAVA2
Sun Certified Instructor for JAVA2
Diretor de Tecnologia
e-Sec Tecnologia em Segurança de Dados
www.esec.com.br

- Original Message -
From: Emiliano Ida' [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 5:07 AM
Subject: Re: MUSCLE VerifyKey using OCF



  Hi All,
 
  Does anybody here use Cyberflex Access cards with OCF?
 
  If so, could you help me with the doubt below?
 
  In the Cyberflex Access card we have the idea of identity such as
AUT0,
  AUT1, etc. In OCF to verify a Card Holder we must use the
sendVerifyCommand.
  Now what do I do to verify a identity using OCF?? In CyberflexAccess we
have
  the VerifyKey command (00, 2A, 00, Key_NUMBER, Len, Key).

 Hi,
 To do so, you can build a CardService containing these two functions:


 private ResponseAPDU sendAPDU(byte apdu[]) throws CardTerminalException {
 CommandAPDU commandAPDU = new CommandAPDU(apdu);
 System.out.println(commandAPDU);
 ResponseAPDU responseAPDU =
getCardChannel().sendCommandAPDU(commandAPDU);
 System.out.print(Status Word: +
Integer.toHexString(responseAPDU.sw())+\n);
 return (responseAPDU);
 }


 public void verifyKey() {
 byte[] verapdu = file://a byte array containing (00, 2A, 00, Key_NUMBER,
Len, Key)
 ResponseAPDU resapdu;
 try {
 allocateCardChannel();
 resapdu = sendAPDU(verapdu);

  } catch (Exception e) {e.printStackTrace();
  } finally {releaseCardChannel();}
 }


 Hope this helps,
 Emiliano Ida'
 ***
 Linux Smart Card Developers - M.U.S.C.L.E.
 (Movement for the Use of Smart Cards in a Linux Environment)
 http://www.linuxnet.com/smartcard/index.html
 ***


***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE Linux Login with RSA SmartCards

2001-06-08 Thread Luciano da Silva Coelho

Hi Guido,

Does Siemens have JavaCards?? If so, could you give-me infos about
they??

Thanks a lot.

[ ]´s
Luciano da Silva Coelho
[EMAIL PROTECTED]
Sun Certified Programmer for JAVA2
Sun Certified Instructor for JAVA2
Diretor de Tecnologia
e-Sec Tecnologia em Segurança de Dados
www.esec.com.br

- Original Message -
From: Treutwein Guido [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:36 AM
Subject: AW: MUSCLE Linux Login with RSA SmartCards




 -Ursprüngliche Nachricht-
 Von: Erwann ABALEA [mailto:[EMAIL PROTECTED]]
 Gesendet am: Freitag, 8. Juni 2001 12:07
 An: [EMAIL PROTECTED]
 Betreff: Re: MUSCLE Linux Login with RSA SmartCards

 You can design your application so that whenever a signature (or
 decryption) operation is to be performed, a PIN code should be presented,
 the operation performed, and the authentication state reset. That's how
 it's done with the French banking applications. The card in itself
doesn't
 reset the authentication state after the operation, but the payment
 terminals must do it.

 Hi,

 it's possibly interesting, that cards exist, where the access condition
 expires automatically after the operation is completed. This is how our
 German Digital Signature Law compliant card works. (No, it isn't a
 JavaCard.) The advantage is, that you don't have to rely on a good-natured
 terminal.

 http://crypto.mchh.siemens.de/produkte/smartcards.asp?lang=eng

 Guido Treutwein
 Siemens ICN ISA TNA 21
 [EMAIL PROTECTED]

 ***
 Linux Smart Card Developers - M.U.S.C.L.E.
 (Movement for the Use of Smart Cards in a Linux Environment)
 http://www.linuxnet.com/smartcard/index.html
 ***


***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***