| java.lang.Object com.sun.satsa.util.pkcs15.PKCS15File
All known Subclasses: com.sun.satsa.util.pkcs15.DIRF, com.sun.satsa.util.pkcs15.ODF, com.sun.satsa.acl.ACIF, com.sun.satsa.util.pkcs15.DODF, com.sun.satsa.util.pkcs15.AODF,
PKCS15File | public class PKCS15File (Code) | | This class represents PKCS15 file abstraction
|
Method Summary | |
protected static void | doParseDF(byte[] data, short[] path, Vector objects, Vector locations, Vector freeBlocks) Parses EF(DF).
Parameters: data - data to be parsed Parameters: path - file path Parameters: objects - method places objects from file into this vector.Can be null. | protected void | parseDF(short[] path) Parses directory file. | protected void | resetLoader(Vector objects, Vector locations, Vector freeBlocks) Initialises object loader. |
ODFPath | final protected static short ODFPath(Code) | | ODF path.
|
TokenInfoPath | final protected static short TokenInfoPath(Code) | | EF(TokenInfo) path.
|
UnusedSpace | final protected static short UnusedSpace(Code) | | EF(UnusedSpace) path.
|
loaderFreeBlocks | protected Vector loaderFreeBlocks(Code) | | This vector contains locations of free space in directory
files.
|
loaderLocations | protected Vector loaderLocations(Code) | | This vector contains locations of loaded objects.
|
loaderObjects | protected Vector loaderObjects(Code) | | This vector contains objects loaded from directory file.
|
PKCS15File | protected PKCS15File(Location location, FileSystemAbstract files)(Code) | | Create the object for the pointed file system and location
Parameters: location - Location required location Parameters: files - FileSystemAbstract required file system |
PKCS15File | protected PKCS15File(FileSystemAbstract files)(Code) | | Create the object for the pointed file system
Parameters: files - FileSystemAbstract required file system |
doParseDF | protected static void doParseDF(byte[] data, short[] path, Vector objects, Vector locations, Vector freeBlocks) throws TLVException(Code) | | Parses EF(DF).
Parameters: data - data to be parsed Parameters: path - file path Parameters: objects - method places objects from file into this vector.Can be null. Contains values of TLV type Parameters: locations - method places location of objects into thisvector. Can be null. Contains values of type Location. Parameters: freeBlocks - method places locations of free memory inEF(DF) into this vector. Can be null. Contains values oftype Location. throws: TLVException - if parsing error occurs |
parseDF | protected void parseDF(short[] path) throws TLVException, IOException(Code) | | Parses directory file. Places results into vectors specified
resetLoader method.
Parameters: path - path to directory file throws: TLVException - if parsing error occurs throws: IOException - if I/O error occurs |
resetLoader | protected void resetLoader(Vector objects, Vector locations, Vector freeBlocks)(Code) | | Initialises object loader.
Parameters: objects - vector for loaded objects or null Parameters: locations - vector for object locations or null Parameters: freeBlocks - vector for unused block locations or null |
|
|