Melvin,

Wanna learn?
Read OCF Programming guide to the fullest and go to any smart card
manufacuter's website... Take it from there.

About your mistake:
Any mistake you make to the card is reversible unless you tend to mess up
with the security and locked your card... then I say bye, bye to your card


Cheers,

Harley

----- Original Message -----
From: "Melvin Dave P. Vivas" <[EMAIL PROTECTED]>
To: "OCF" <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001 4:08 PM
Subject: [OCF] Card ID and Other Inquiries


> Hello guys!
>
> I've done a simple application accessing the card id through the SmartCard
> object. What I've done is just cut and paste some codes to make it work.
> Below is a code snippet which I would like to fully understand.
>
> Code Snippet:
>     StringBuffer sb = new StringBuffer("Obtained the following
CardID:\n");
>     byte [] atr = cardID.getATR();
>     sb.append(HexString.hexify(atr)).append('\n');
>     System.out.println(sb.toString());
>
> Output:
> Obtained the following CardID:
> 3B 6F 00 00 80 31 E0 5B 50 48 50 00 00 00 01 3A
> 10 02 00
>
> My questions:
> 1. Obtaining the following output of the code snippet, what do these
numbers
> mean? what do I get when I access the ATR?
> 2. Is there a standard on how to read the said output? I need a unique ID
> for my application and I would like to know where to start parsing these
> numbers.
> 3. How do I write to the card?
> 4. Would my card be rendered useful if in any case I make a mistake in
> writing to the card?
>
> Also, are there any useful sites that would enlighten me regarding the
Smart
> Card file structure and other specifications.
>
> Thanks.
>
> Best regards,
>
> Melvin Dave P. Vivas
> Programmer
> Infinit-E Asia, Inc.
> 25th Flr. IBM Bldg., Eastwood City Cyberpark,
> Quezon City, Philippines
> Tel. No. 995-7777 loc. 140; 995-8075
>
>
> ---
> > 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.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---
> 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