| java.lang.Object com.sun.satsa.util.pkcs15.PKCS15File com.sun.satsa.util.pkcs15.DIRF
DIRF | public class DIRF extends PKCS15File (Code) | | This class represents the PKCS15 DIR file abstraction.
It is assumed that the DIR file contains information about
files in the following format:
APP_CONSTRUCTED_1 { [APPLICATION 1]
APP_PRIMITIVE_15 Aid (Octet_string)
APP_PRIMITIVE_16 label (UTF8String / opt)
APP_PRIMITIVE_17 path (octet_string)
APP_PRIMITIVE_19 { DDO (ddo / opt)
SEQUENCE {
oid OBJECT IDENTIFIER,
odfPath Path OPTIONAL,
tokenInfoPath [0] Path OPTIONAL,
unusedPath [1] Path OPTIONAL,
}
}
}
|
AID_NOT_FOUND | final public static int AID_NOT_FOUND(Code) | | AID is not found status code
|
APPLICATION | final public static int APPLICATION(Code) | | ASN application specific flag used in types (0x40).
|
APP_CONSTRUCTED_0 | final public static int APP_CONSTRUCTED_0(Code) | | ASN application specific constructed flag used in types (0x60).
|
APP_CONSTRUCTED_1 | final public static int APP_CONSTRUCTED_1(Code) | | ASN application specific constructed flag used in types (0x60).
|
APP_CONSTRUCTED_19 | final public static int APP_CONSTRUCTED_19(Code) | | ASN application specific flag for [APPLICATION 19] (ddo)
|
APP_PRIMITIVE_0 | final public static int APP_PRIMITIVE_0(Code) | | ASN application specific primitive flag
|
APP_PRIMITIVE_15 | final public static int APP_PRIMITIVE_15(Code) | | ASN application specific flag for [APPLICATION 15] (aid)
|
APP_PRIMITIVE_16 | final public static int APP_PRIMITIVE_16(Code) | | ASN application specific flag for [APPLICATION 16] (label)
|
APP_PRIMITIVE_17 | final public static int APP_PRIMITIVE_17(Code) | | ASN application specific flag for [APPLICATION 17] (path)
|
DIR_FILE | short[] DIR_FILE(Code) | | The PKCS15 DIR file name
|
PKCS_AID | byte[] PKCS_AID(Code) | | The PKCS15 application AID (according to pkcs15 spec.
|
ROOT_NOT_SELECTED | final public static int ROOT_NOT_SELECTED(Code) | | Root is not selected status code
|
SUCCESS | final public static int SUCCESS(Code) | | Success status code
|
WRONG_DIR_FILE | final public static int WRONG_DIR_FILE(Code) | | Wrong DIR file status code
|
DIRF | public DIRF(FileSystemAbstract fs)(Code) | | Creates the DIRF object
Parameters: fs - FileSystemAbstract file system that is usedto reading from file. |
setPKCSRoot | public int setPKCSRoot()(Code) | | Sets a root for the PKCS15 application
int Status code. |
setRoot | public int setRoot(byte[] aid)(Code) | | Sets a root for the application with the pointed AID
Parameters: aid - byte[] required AID int Status code. |
|
|