OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

opencard.opt.applet
Class AppletID

java.lang.Object
  |
  +--opencard.opt.applet.ID
        |
        +--opencard.opt.applet.AppletID

public class AppletID
extends ID

AppletID encapsulates the applet identifier as defined by ISO 7816-5. Presently the AppletID

consists out of an array of at most 16 bytes. It is derived from the class ID which defines the handling of byte arrays which are used as IDs.

Since:
OCF1.2
Version:
$Id: AppletID.java,v 1.2 1999/11/23 10:00:57 damke Exp $
See Also:
ID

Field Summary
static int RC_0
          The possible values of the registration category.
static int RC_1
           
static int RC_2
           
static int RC_3
           
static int RC_4
           
static int RC_5
           
static int RC_6
           
static int RC_7
           
static int RC_8
           
static int RC_9
           
static int RC_A
           
static int RC_D
           
static int RC_F
           
 
Fields inherited from class opencard.opt.applet.ID
hexChars
 
Constructor Summary
protected AppletID()
          hide this one
  AppletID(byte[] aid)
           
  AppletID(int aid)
           
  AppletID(java.lang.String aid)
           
 
Method Summary
 int getRegistrationCategory()
          Get the registration category.
 
Methods inherited from class opencard.opt.applet.ID
byteValue, equals, equals, getBytes, hashCode, intValue, toCompactString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RC_0

public static final int RC_0
The possible values of the registration category.

RC_1

public static final int RC_1

RC_2

public static final int RC_2

RC_3

public static final int RC_3

RC_4

public static final int RC_4

RC_5

public static final int RC_5

RC_6

public static final int RC_6

RC_7

public static final int RC_7

RC_8

public static final int RC_8

RC_9

public static final int RC_9

RC_A

public static final int RC_A

RC_D

public static final int RC_D

RC_F

public static final int RC_F
Constructor Detail

AppletID

protected AppletID()
hide this one

AppletID

public AppletID(java.lang.String aid)

AppletID

public AppletID(byte[] aid)

AppletID

public AppletID(int aid)
Method Detail

getRegistrationCategory

public int getRegistrationCategory()
Get the registration category.
Returns:
The Registration Category.