public class FileAccess
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) IsoDepCardHandler |
ch |
Constructor and Description |
---|
FileAccess(IsoDepCardHandler cardHandler) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getFile(byte sfid)
Reads the content of an elementary transparent file (EF).
|
byte[] |
getFile(byte[] fid)
Reads the content of an elementary transparent file (EF).
|
IsoDepCardHandler ch
public FileAccess(IsoDepCardHandler cardHandler)
public byte[] getFile(byte sfid) throws SecureMessagingException, java.io.IOException
sfid
- Short File Identififier of the EF to read. Must be between
0x01 and 0x1F.SecureMessagingException
java.io.IOException
public byte[] getFile(byte[] fid) throws SecureMessagingException, java.io.IOException
fid
- A 2 byte array which contains the FID of the EF to read.SecureMessagingException
java.io.IOException