org.javacardforum.management
Interface CardHolder
- public interface CardHolder
This interface represents a CardHolder in the card
it implements and shall be implemented by an Applet
The interface should provide a way to share a PIN in the card by implemeting the PIN interface
The interface should provide a way to access an array of bytes that hold the public information about the cardholder
|
Method Summary |
short |
getCardHolder(byte[] destBuffer,
short destOffset,
short chOffset,
byte length)
Copy the card holder information from its source to a destination
buffer |
short |
getCardHolderLength()
Retrieves the length of the card holder information
available in the card |
getCardHolderLength
public short getCardHolderLength()
- Retrieves the length of the card holder information
available in the card
- Returns:
- the length of the card holder information
getCardHolder
public short getCardHolder(byte[] destBuffer,
short destOffset,
short chOffset,
byte length)
- Copy the card holder information from its source to a destination
buffer
- Parameters:
desBuffer - the destination to copy the card holder datadesOffset - start offset into the destination bufferchOffset - offset into the cardholder datalength - the amount of bytes to be copied- Returns:
- destOffset + length