|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavacard.framework.Applet
ds.ov2.util.Protocol_applet
ds.ov2.test.Test_applet
public class Test_applet
Main test applet class. Root class/object of the test applet.
Extends Protocol_applet
with applet specific code.
Field Summary | |
---|---|
private APDU_byte_array |
cap_creation_time
APDU container for the fifth installation argument, the cap-file creation time as long as returned by File.lastModified() . |
private APDU_short |
double_bignat_size
APDU container for the third installation argument. |
private APDU_Serializable[] |
install_arguments
Array for all installation APDU containers. |
private APDU_short |
long_bignat_size
APDU container for the second installation argument. |
private APDU_short |
max_vector_length
APDU container for the fourth installation argument. |
private APDU_short |
short_bignat_size
APDU container for the first installation argument. |
Constructor Summary | |
---|---|
Test_applet(byte[] bytes,
short start,
byte len)
Allocate/initialize everything for the test applet. |
Method Summary | |
---|---|
static void |
install(byte[] bytes,
short start,
byte len)
Applet install method. |
Methods inherited from class ds.ov2.util.Protocol_applet |
---|
process, select, set_registered_protocols |
Methods inherited from class javacard.framework.Applet |
---|
deselect, getShareableInterfaceObject, register, register, selectingApplet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private APDU_short short_bignat_size
private APDU_short long_bignat_size
private APDU_short double_bignat_size
private APDU_short max_vector_length
private APDU_byte_array cap_creation_time
File.lastModified()
. Used in the status protocol.
private APDU_Serializable[] install_arguments
Constructor Detail |
---|
Test_applet(byte[] bytes, short start, byte len)
install
. They
should contain four installation arguments: the size of short
(exponent) bignats, the size of long (base) bignats, the size
of double-sized bignates and the (base) vector length. See also
Test_host.make_installation_arguments(java.lang.String)
.
bytes
- array with installation argumentsstart
- start offset of the installation argumentslen
- of installation argumentsMethod Detail |
---|
public static void install(byte[] bytes, short start, byte len)
Test_host.make_installation_arguments(java.lang.String)
.
bytes
- array with installation argumentsstart
- start offset of the installation argumentslen
- of installation arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |