At 18:11 13/03/2008 -0400, you wrote:
I'm writing a set of javacard applets and one of the pieces of data I needed was what AID/RID to select for my applets. I *really* didn't want to go through the hassle of registering with whatever body gives out RIDs.

"hassle" I don't know, reliable for sure.

A little research revealed that AIDs starting with 'F' were reserved for proprietary assignments but that collisions might be possible. I was going to need something that would have a small chance of collisions.

What I ended up selecting for my AID was "0xF0" prepended to the ASN1 encoding of a specific company's root object identifier as assigned by the Internet Assigned Numbers Authority..

E.g.  1.3.6.1.4.1.somenumber  or  F0 06 0A 2B 06 01 04 01 XX XX XX

Has anyone else come up with a different solution?

collision would not be possible with registered AIDs but uncertain choice can occur when several similar applets with same RID are present, an usual solution is to provide an EF_DIR_ISO that lists applet information, with for each entry:
- an AID
- a human readable name
- discretionary data ad libitum



One of the early questions I never asked was whether or not the musclecard applet AID was "legitimately" assigned?

btw, what is the AID used by musclecard applet ?...

Sylvain.


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to