Fields Summary |
---|
public static final short | NO_SPACE_AVAILABLENo space available for photo storage |
public static final short | NO_PHOTO_STOREDNo photo stored in selected location |
public static final short | INVALID_PHOTO_IDInvalid photo ID |
public static final short | INVALID_ARGUMENTInvalid argument value |
public static final short | MAX_SIZEMaximum photo size |
public static final short | MAX_PHOTO_COUNTMaximum on-card photos |
public static final short | MAX_BUFFER_BYTESMaximum bytes for transfer |
public static final short | INVALID_OFFSET |
public static final short | DOES_NOT_SUPPORT_PHOTO_VERIFICTAIONSHA256 MessageDisgest implementation not provided |
public static final short | FAIL1 |
public static final short | FAIL2 |
public static final short | FAIL3threw wrong exception |
public static final short | FAIL4 |
Methods Summary |
---|
public void | deletePhoto(short photoID)This method deletes the photo whose ID is specified in the card.
|
public byte[] | getPhoto(short photoID, short offset, short size)This method retrueves a series of bytes belonging to the photo
from the smart card at the position specified.
|
public short | getPhotoSize(short photoID)This method retrieves the photo size whose ID is specified.
|
public void | loadPhoto(short photoID, byte[] data, short size, short offset, boolean more)This method loads a series of bytes belonging to the photo
into the smart card at the position specified.
|
public short | requestPhotoStorage(short size)This method requests the smart card to allocate space to store
a photo image of the specified size.
|
public short | verifyPhoto(short photoID, byte[] photoDigest, short photoOffset)This method verifies on card the photo
presented by the user.
|