Class FileSelector

Object
   |
   +--FileSelector

class FileSelector


Class implementing a file selector used to store information about the currently selected file system object and to process the SELECT APDU
Defined in filesystem.js


Field Summary
 Object globalAuthenticationState
          
 Object mf
          
 Object se
          
 
Constructor Summary
FileSelector(<DF> mf)
            Create a file selector object
 
Method Summary
 void addAuthenticationState(<boolean> global, <AuthenticationObject> ao)
           Add authenticated object to the list of authentication states for the local DF or global MF
 {Number[]} enumerateObjects(<String> type)
           Enumerate objects of a defined type
 EF getCurrentEF()
           Returns the current EF, if any
 Object getMeta(<String> name)
           Return meta data associated with the current DF or MF
 {Object} getObject(<String> type, <Number> id)
           Return object of given type identified by id
 Object getSecurityEnvironment()
           Return the current security environment
 Object isAuthenticated(<boolean> global, <AuthenticationObject> ao)
           Add authenticated object to the list of authentication states for the local DF or global MF
 void processSelectAPDU(<APDU> apdu)
           Processes the SELECT APDU
 FSNode selectFID(<ByteString> fid, <boolean> check, <boolean> df)
           Select a DF entry by FID
 Object selectMF()
           Select the MF
 FSNode selectSFI(<Number> sfi)
           Select a DF entry by SFI
 Object toString()
           Return a human readable string for this object
<static> void test()
          

Field Detail

globalAuthenticationState

Object globalAuthenticationState

mf

Object mf

se

Object se

Constructor Detail

FileSelector

FileSelector(<DF> mf)

Method Detail

addAuthenticationState

void addAuthenticationState(<boolean> global, <AuthenticationObject> ao)

enumerateObjects

{Number[]} enumerateObjects(<String> type)

getCurrentEF

EF getCurrentEF()

getMeta

Object getMeta(<String> name)

getObject

{Object} getObject(<String> type, <Number> id)

getSecurityEnvironment

Object getSecurityEnvironment()

isAuthenticated

Object isAuthenticated(<boolean> global, <AuthenticationObject> ao)

processSelectAPDU

void processSelectAPDU(<APDU> apdu)

selectFID

FSNode selectFID(<ByteString> fid, <boolean> check, <boolean> df)

selectMF

Object selectMF()

selectSFI

FSNode selectSFI(<Number> sfi)

toString

Object toString()

test

<static> void test()


Documentation generated by JSDoc on Tue Sep 3 22:29:41 2013