Java Card 2.1 Platform
Final Revision 1.0
A B C D E G I J K L M N O P R S T U V W

A

abortTransaction() - Static method in class javacard.framework.JCSystem
Aborts the atomic transaction.
AID - class javacard.framework.AID.
This class encapsulates the Application Identifier(AID) associated with an applet.
AID(byte[], short, byte) - Constructor for class javacard.framework.AID
The JCRE uses this constructor to create a new AID instance encapsulating the specified AID bytes.
ALG_DES_CBC_ISO9797_M1 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_CBC_ISO9797_M1 provides a cipher using DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 1 scheme.
ALG_DES_CBC_ISO9797_M2 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_CBC_ISO9797_M2 provides a cipher using DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 2 (ISO 7816-4, EMV'96) scheme.
ALG_DES_CBC_NOPAD - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_CBC_NOPAD provides a cipher using DES in CBC mode.  This algorithm uses outer CBC for triple DES.  This algorithm does not pad input data.
ALG_DES_CBC_PKCS5 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_CBC_PKCS5 provides a cipher using DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the PKCS#5 scheme.
ALG_DES_ECB_ISO9797_M1 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_ECB_ISO9797_M1 provides a cipher using DES in ECB mode.  Input data is padded according to the ISO 9797 method 1 scheme.
ALG_DES_ECB_ISO9797_M2 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_ECB_ISO9797_M2 provides a cipher using DES in ECB mode.  Input data is padded according to the ISO 9797 method 2 (ISO 7816-4, EMV'96) scheme.
ALG_DES_ECB_NOPAD - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_ECB_NOPAD provides a cipher using DES in ECB mode.  This algorithm does not pad input data.
ALG_DES_ECB_PKCS5 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_DES_ECB_PKCS5 provides a cipher using DES in ECB mode.  Input data is padded according to the PKCS#5 scheme.
ALG_DES_MAC4_ISO9797_M1 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC4_ISO9797_M1 generates a 4 byte MAC (most significant 4 bytes of encrypted block) using DES or triple DES in CBC mode.  This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 1 scheme.
ALG_DES_MAC4_ISO9797_M2 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC4_ISO9797_M2 generates a 4 byte MAC (most significant 4 bytes of encrypted block) using DES or triple DES in CBC mode.  This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 2 (ISO 7816-4, EMV'96) scheme.
ALG_DES_MAC4_NOPAD - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC4_NOPAD generates a 4 byte MAC (most significant 4 bytes of encrypted block) using DES or triple DES in CBC mode.  This algorithm uses outer CBC for triple DES.  This algorithm does not pad input data.
ALG_DES_MAC4_PKCS5 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC4_PKCS5 generates a 4 byte MAC (most significant 4 bytes of encrypted block) using DES or triple DES in CBC mode.  This algorithm uses outer CBC for triple DES.  Input data is padded according to the PKCS#5 scheme.
ALG_DES_MAC8_ISO9797_M1 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC8_ISO9797_M1 generates a 8 byte MAC using DES or triple DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 1 scheme.
ALG_DES_MAC8_ISO9797_M2 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC8_ISO9797_M2 generates a 8 byte MAC using DES or triple DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the ISO 9797 method 2 (ISO 7816-4, EMV'96) scheme.
ALG_DES_MAC8_NOPAD - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC_8_NOPAD generates a 8 byte MAC using DES or triple DES in CBC mode. This algorithm uses outer CBC for triple DES.  This algorithm does not pad input data.
ALG_DES_MAC8_PKCS5 - Static variable in class javacard.security.Signature
Signature algorithm ALG_DES_MAC8_PKCS5 generates a 8 byte MAC using DES or triple DES in CBC mode. This algorithm uses outer CBC for triple DES.  Input data is padded according to the PKCS#5 scheme.
ALG_DSA_SHA - Static variable in class javacard.security.Signature
Signature algorithm ALG_DSA_SHA signs/verifies the 20 byte SHA digest using DSA.
ALG_MD5 - Static variable in class javacard.security.MessageDigest
Message Digest algorithm MD5.
ALG_PSEUDO_RANDOM - Static variable in class javacard.security.RandomData
Utility pseudo random number generation algorithms.
ALG_RIPEMD160 - Static variable in class javacard.security.MessageDigest
Message Digest algorithm RIPE MD-160.
ALG_RSA_ISO14888 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_RSA_ISO14888 provides a cipher using RSA.  Input data is padded according to the ISO 14888 scheme.
ALG_RSA_ISO9796 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_RSA_ISO9796 provides a cipher using RSA.  Input data is padded according to the ISO 9796 (EMV'96) scheme.
ALG_RSA_MD5_PKCS1 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_MD5_PKCS1 encrypts the 16 byte MD5 digest using RSA.  The digest is padded according to the PKCS#1 (v1.5) scheme.
ALG_RSA_MD5_RFC2409 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_MD5_RFC2409 encrypts the 16 byte MD5 digest using RSA.  The digest is padded according to the RFC2409 scheme.
ALG_RSA_PKCS1 - Static variable in class javacardx.crypto.Cipher
Cipher algorithm ALG_RSA_PKCS1 provides a cipher using RSA.  Input data is padded according to the PKCS#1 (v1.5) scheme.
ALG_RSA_RIPEMD160_ISO9796 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_RIPEMD160_ISO9796 encrypts the 20 byte RIPE MD-160 digest using RSA. The digest is padded according to the ISO 9796 scheme.
ALG_RSA_RIPEMD160_PKCS1 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_RIPEMD160_PKCS1 encrypts the 20 byte RIPE MD-160 digest using RSA. The digest is padded according to the PKCS#1 (v1.5) scheme.
ALG_RSA_SHA_ISO9796 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_SHA_ISO9796 encrypts the 20 byte SHA digest using RSA.  The digest is padded according to the ISO 9796 (EMV'96) scheme.
ALG_RSA_SHA_PKCS1 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_SHA_PKCS1 encrypts the 20 byte SHA digest using RSA.  The digest is padded according to the PKCS#1 (v1.5) scheme.
ALG_RSA_SHA_RFC2409 - Static variable in class javacard.security.Signature
Signature algorithm ALG_RSA_SHA_RFC2409 encrypts the 20 byte SHA digest using RSA.  The digest is padded according to the RFC2409 scheme.
ALG_SECURE_RANDOM - Static variable in class javacard.security.RandomData
Cryptographically secure random number generation algorithms.
ALG_SHA - Static variable in class javacard.security.MessageDigest
Message Digest algorithm SHA.
APDU - class javacard.framework.APDU.
Application Protocol Data Unit (APDU) is the communication format between the card and the off-card applications.
APDUException - exception javacard.framework.APDUException.
APDUException represents an APDU related exception.
APDUException(short) - Constructor for class javacard.framework.APDUException
Constructs an APDUException.
Applet - class javacard.framework.Applet.
This abstract class defines an applet in Java Card.
Applet() - Constructor for class javacard.framework.Applet
Only this class's install() method should create the applet object.
ArithmeticException - exception java.lang.ArithmeticException.
A JCRE owned instance of ArithmethicException is thrown when an exceptional arithmetic condition has occurred.
ArithmeticException() - Constructor for class java.lang.ArithmeticException
Constructs an ArithmeticException.
arrayCompare(byte[], short, byte[], short, short) - Static method in class javacard.framework.Util
Compares an array from the specified source array, beginning at the specified position, with the specified position of the destination array from left to right.
arrayCopy(byte[], short, byte[], short, short) - Static method in class javacard.framework.Util
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
arrayCopyNonAtomic(byte[], short, byte[], short, short) - Static method in class javacard.framework.Util
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array (non-atomically).
arrayFillNonAtomic(byte[], short, short, byte) - Static method in class javacard.framework.Util
Fills the byte array (non-atomically) beginning at the specified position, for the specified length with the specified byte value.
ArrayIndexOutOfBoundsException - exception java.lang.ArrayIndexOutOfBoundsException.
A JCRE owned instance of IndexOutOfBoundsException is thrown to indicate that an array has been accessed with an illegal index.
ArrayIndexOutOfBoundsException() - Constructor for class java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException.
ArrayStoreException - exception java.lang.ArrayStoreException.
A JCRE owned instance of ArrayStoreException is thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ArrayStoreException() - Constructor for class java.lang.ArrayStoreException
Constructs an ArrayStoreException.

B

BAD_LENGTH - Static variable in class javacard.framework.APDUException
This reason code is used by the APDU.setOutgoingLength() method to indicate that the length parameter is greater that 256 or if non BLOCK CHAINED data transfer is requested and len is greater than (IFSD-2), where IFSD is the Outgoing Block Size.
beginTransaction() - Static method in class javacard.framework.JCSystem
Begins an atomic transaction.
BUFFER_BOUNDS - Static variable in class javacard.framework.APDUException
This reason code is used by the APDU.sendBytes() method to indicate that the sum of buffer offset parameter and the byte length parameter exceeds the APDU buffer size.
BUFFER_FULL - Static variable in class javacard.framework.TransactionException
This reason code is used during a transaction to indicate that the commit buffer is full.
buildKey(byte, short, boolean) - Static method in class javacard.security.KeyBuilder
Creates cryptographic keys for signature and cipher algorithms.

C

CardException - exception javacard.framework.CardException.
The CardException class defines a field reason and two accessor methods getReason() and setReason().
CardException(short) - Constructor for class javacard.framework.CardException
Construct a CardException instance with the specified reason.
CardRuntimeException - exception javacard.framework.CardRuntimeException.
The CardRuntimeException class defines a field reason and two accessor methods getReason() and setReason().
CardRuntimeException(short) - Constructor for class javacard.framework.CardRuntimeException
Construct a CardRuntimeException instance with the specified reason.
check(byte[], short, byte) - Method in class javacard.framework.OwnerPIN
Compares pin against the PIN value.
check(byte[], short, byte) - Method in interface javacard.framework.PIN
Compares pin against the PIN value.
Cipher - class javacardx.crypto.Cipher.
The Cipher class is the abstract base class for Cipher algorthims.
Cipher() - Constructor for class javacardx.crypto.Cipher
Protected Constructor
CLA_ISO7816 - Static variable in interface javacard.framework.ISO7816
APDU command CLA : ISO 7816 = 0x00
ClassCastException - exception java.lang.ClassCastException.
A JCRE owned instance of ClassCastException is thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
ClassCastException() - Constructor for class java.lang.ClassCastException
Constructs a ClassCastException.
CLEAR_ON_DESELECT - Static variable in class javacard.framework.JCSystem
This event code indicates that the contents of the transient object are cleared to the default value on applet deselection event or in CLEAR_ON_RESET cases.
CLEAR_ON_RESET - Static variable in class javacard.framework.JCSystem
This event code indicates that the contents of the transient object are cleared to the default value on card reset ( or power on ) event.
clearKey() - Method in interface javacard.security.Key
Clears the key and sets its initialized state to false.
commitTransaction() - Static method in class javacard.framework.JCSystem
Commits an atomic transaction.
CryptoException - exception javacard.security.CryptoException.
CryptoException represents a cryptography-related exception.
CryptoException(short) - Constructor for class javacard.security.CryptoException
Constructs a CryptoException with the specified reason.

D

deselect() - Method in class javacard.framework.Applet
Called by the JCRE to inform this currently selected applet that another (or the same) applet will be selected.
DESKey - interface javacard.security.DESKey.
DESKey contains an 8/16/24 byte key for single/2 key triple DES/3 key triple DES operations.
doFinal(byte[], short, short, byte[], short) - Method in class javacard.security.MessageDigest
Generates a hash of all/last input data.
doFinal(byte[], short, short, byte[], short) - Method in class javacardx.crypto.Cipher
Generates encrypted/decrypted output from all/last input data.
DSAKey - interface javacard.security.DSAKey.
The DSAKey interface is the base interface for the DSA algorithms private and public key implementaions.
DSAPrivateKey - interface javacard.security.DSAPrivateKey.
The DSAPrivateKey interface is used to sign data using the DSA algorithm.
DSAPublicKey - interface javacard.security.DSAPublicKey.
The DSAPublicKey interface is used to verify signatures on signed data using the DSA algorithm.

E

equals(byte[], short, byte) - Method in class javacard.framework.AID
Checks if the specified AID bytes in bArray are the same as those encapsulated in this AID object.
equals(Object) - Method in class java.lang.Object
Compares two Objects for equality.
equals(Object) - Method in class javacard.framework.AID
Compares the AID bytes in this AID instance to the AID bytes in the specified object.
Exception - exception java.lang.Exception.
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable applet might want to catch.
Exception() - Constructor for class java.lang.Exception
Constructs an Exception instance.

G

generateData(byte[], short, short) - Method in class javacard.security.RandomData
Generates random data.
getAID() - Static method in class javacard.framework.JCSystem
Returns the JCRE owned instance of the AID object associated with the current applet context.
getAlgorithm() - Method in class javacard.security.MessageDigest
Gets the Message digest algorithm.
getAlgorithm() - Method in class javacard.security.Signature
Gets the Signature algorithm.
getAlgorithm() - Method in class javacardx.crypto.Cipher
Gets the Cipher algorithm.
getAppletShareableInterfaceObject(AID, byte) - Static method in class javacard.framework.JCSystem
This method is called by a client applet to get a server applet's shareable interface object.
getBuffer() - Method in class javacard.framework.APDU
Returns the APDU buffer byte array.
getBytes(byte[], short) - Method in class javacard.framework.AID
Called to get the AID bytes encapsulated within AID object.
getDP1(byte[], short) - Method in interface javacard.security.RSAPrivateCrtKey
Returns the value of the DP1 parameter in plain text.
getDQ1(byte[], short) - Method in interface javacard.security.RSAPrivateCrtKey
Returns the value of the DQ1 parameter in plain text.
getExponent(byte[], short) - Method in interface javacard.security.RSAPrivateKey
Returns the private exponent value of the key in plain text.
getExponent(byte[], short) - Method in interface javacard.security.RSAPublicKey
Returns the private exponent value of the key in plain text.
getG(byte[], short) - Method in interface javacard.security.DSAKey
Returns the subprime parameter value of the key in plain text.
getInBlockSize() - Static method in class javacard.framework.APDU
Returns the configured incoming block size.  In T=1 protocol, this corresponds to IFSC (information field size for ICC), the maximum size of incoming data blocks into the card.  In T=0 protocol, this method returns 1.
getInstance(byte) - Static method in class javacard.security.RandomData
Creates a RandomData instance of the selected algorithm.
getInstance(byte, boolean) - Static method in class javacard.security.MessageDigest
Creates a MessageDigest object instance of the selected algorithm.
getInstance(byte, boolean) - Static method in class javacard.security.Signature
Creates a Signature object instance of the selected algorithm.
getInstance(byte, boolean) - Static method in class javacardx.crypto.Cipher
Creates a Cipher object instance of the selected algorithm.
getKey(byte[], short) - Method in interface javacard.security.DESKey
Returns the Key data in plain text.
getKeyCipher() - Method in interface javacardx.crypto.KeyEncryption
Returns the Cipher object to be used to decrypt the input key data and key parameters in the set methods. Default is null - no decryption performed.
getLength() - Method in class javacard.security.MessageDigest
Returns the byte length of the hash.
getLength() - Method in class javacard.security.Signature
Returns the byte length of the signature data.
getMaxCommitCapacity() - Static method in class javacard.framework.JCSystem
Returns the total number of bytes in the commit buffer.
getModulus(byte[], short) - Method in interface javacard.security.RSAPrivateKey
Returns the modulus value of the key in plain text.
getModulus(byte[], short) - Method in interface javacard.security.RSAPublicKey
Returns the modulus value of the key in plain text.
getNAD() - Method in class javacard.framework.APDU
In T=1 protocol, this method returns the Node Address byte, NAD.  In T=0 protocol, this method returns 0.
getOutBlockSize() - Static method in class javacard.framework.APDU
Returns the configured outgoing block size.  In T=1 protocol, this corresponds to IFSD (information field size for interface device), the maximum size of outgoing data blocks to the CAD.  In T=0 protocol, this method returns 258 (accounts for 2 status bytes).
getP(byte[], short) - Method in interface javacard.security.DSAKey
Returns the base parameter value of the key in plain text.
getP(byte[], short) - Method in interface javacard.security.RSAPrivateCrtKey
Returns the value of the P parameter in plain text.
getPQ(byte[], short) - Method in interface javacard.security.RSAPrivateCrtKey
Returns the value of the PQ parameter in plain text.
getPreviousContextAID() - Static method in class javacard.framework.JCSystem
This method is called to obtain the JCRE owned instance of the AID object associated with the previously active applet context.
getProtocol() - Static method in class javacard.framework.APDU
Returns the ISO 7816 transport protocol type, T=1 or T=0 in progress.
getQ(byte[], short) - Method in interface javacard.security.DSAKey
Returns the prime parameter value of the key in plain text.
getQ(byte[], short) - Method in interface javacard.security.RSAPrivateCrtKey
Returns the value of the Q parameter in plain text.
getReason() - Method in class javacard.framework.CardRuntimeException
Get reason code
getReason() - Method in class javacard.framework.CardException
Get reason code
getShareableInterfaceObject(AID, byte) - Method in class javacard.framework.Applet
Called by the JCRE to obtain a shareable interface object from this server applet, on behalf of a request from a client applet.
getShort(byte[], short) - Static method in class javacard.framework.Util
Concatenates two bytes in a byte array to form a short value.
getSize() - Method in interface javacard.security.Key
Returns the key size in number of bits.
getTransactionDepth() - Static method in class javacard.framework.JCSystem
Returns the current transaction nesting depth level.
getTriesRemaining() - Method in class javacard.framework.OwnerPIN
Returns the number of times remaining that an incorrect PIN can be presented before the PIN is blocked.
getTriesRemaining() - Method in interface javacard.framework.PIN
Returns the number of times remaining that an incorrect PIN can be presented before the PIN is blocked.
getType() - Method in interface javacard.security.Key
Returns the key interface type.
getUnusedCommitCapacity() - Static method in class javacard.framework.JCSystem
Returns the number of bytes left in the commit buffer.
getValidatedFlag() - Method in class javacard.framework.OwnerPIN
This protected method returns the validated flag.
getVersion() - Static method in class javacard.framework.JCSystem
Returns the current major and minor version of the Java Card API.
getX(byte[], short) - Method in interface javacard.security.DSAPrivateKey
Returns the value of the key in plain text.
getY(byte[], short) - Method in interface javacard.security.DSAPublicKey
Returns the value of the key in plain text.

I

ILLEGAL_AID - Static variable in class javacard.framework.SystemException
This reason code is used by the javacard.framework.Applet.register() method to indicate that the input AID parameter is not a legal AID value.
ILLEGAL_TRANSIENT - Static variable in class javacard.framework.SystemException
This reason code is used to indicate that the request to create a transient object is not allowed in the current applet context.
ILLEGAL_USE - Static variable in class javacard.framework.APDUException
This APDUException reason code indicates that the method should not be invoked based on the current state of the APDU.
ILLEGAL_USE - Static variable in class javacard.security.CryptoException
This reason code is used to indicate that the signature or cipher algorithm does not pad the incoming message and the input message is not block aligned.
ILLEGAL_VALUE - Static variable in class javacard.framework.PINException
This reason code is used to indicate that one or more input parameters is out of allowed bounds.
ILLEGAL_VALUE - Static variable in class javacard.framework.SystemException
This reason code is used to indicate that one or more input parameters is out of allowed bounds.
ILLEGAL_VALUE - Static variable in class javacard.security.CryptoException
This reason code is used to indicate that one or more input parameters is out of allowed bounds.
IN_PROGRESS - Static variable in class javacard.framework.TransactionException
This reason code is used by the beginTransaction method to indicate a transaction is already in progress.
IndexOutOfBoundsException - exception java.lang.IndexOutOfBoundsException.
A JCRE owned instance of IndexOutOfBoundsException is thrown to indicate that an index of some sort (such as to an array) is out of range.
IndexOutOfBoundsException() - Constructor for class java.lang.IndexOutOfBoundsException
Constructs an IndexOutOfBoundsException.
init(Key, byte) - Method in class javacard.security.Signature
Initializes the Signature object with the appropriate Key.
init(Key, byte) - Method in class javacardx.crypto.Cipher
Initializes the Cipher object with the appropriate Key.
init(Key, byte, byte[], short, short) - Method in class javacard.security.Signature
Initializes the Signature object with the appropriate Key and algorithm specific parameters.
init(Key, byte, byte[], short, short) - Method in class javacardx.crypto.Cipher
Initializes the Cipher object with the appropriate Key and algorithm specific parameters.
INS_EXTERNAL_AUTHENTICATE - Static variable in interface javacard.framework.ISO7816
APDU command INS : EXTERNAL AUTHENTICATE = 0x82
INS_SELECT - Static variable in interface javacard.framework.ISO7816
APDU command INS : SELECT = 0xA4
install(byte[], short, byte) - Static method in class javacard.framework.Applet
To create an instance of the Applet subclass, the JCRE will call this static method first.
INTERNAL_FAILURE - Static variable in class javacard.framework.TransactionException
This reason code is used during a transaction to indicate an internal JCRE problem (fatal error).
INVALID_INIT - Static variable in class javacard.security.CryptoException
This reason code is used to indicate that the signature or cipher object has not been correctly initialized for the requested operation.
IO_ERROR - Static variable in class javacard.framework.APDUException
This reason code indicates that an unrecoverable error occurred in the I/O transmission layer.
isInitialized() - Method in interface javacard.security.Key
Reports the initialized state of the key.
ISO7816 - interface javacard.framework.ISO7816.
ISO7816 encapsulates constants related to ISO 7816-3 and ISO 7816-4.
ISOException - exception javacard.framework.ISOException.
ISOException class encapsulates an ISO 7816-4 response status word as its reason code.
ISOException(short) - Constructor for class javacard.framework.ISOException
Constructs an ISOException instance with the specified status word.
isTransient(Object) - Static method in class javacard.framework.JCSystem
Used to check if the specified object is transient.
isValidated() - Method in class javacard.framework.OwnerPIN
Returns true if a valid PIN has been presented since the last card reset or last call to reset().
isValidated() - Method in interface javacard.framework.PIN
Returns true if a valid PIN value has been presented since the last card reset or last call to reset().

J

java.lang - package java.lang
Provides classes that are fundamental to the design of the Java Card technology subset of the Java programming language.
javacard.framework - package javacard.framework
Provides framework of classes and interfaces for the core functionality of a Java Card applet.
javacard.security - package javacard.security
Provides the classes and interfaces for the Java Card security framework.
javacardx.crypto - package javacardx.crypto
Extension package containing security classes and interfaces for export-controlled functionality.
JCSystem - class javacard.framework.JCSystem.
The JCSystem class includes a collection of methods to control applet execution, resource management, atomic transaction management and inter-applet object sharing in Java Card.

K

Key - interface javacard.security.Key.
The Key interface is the base interface for all keys.
KeyBuilder - class javacard.security.KeyBuilder.
The KeyBuilder class is a key object factory.
KeyEncryption - interface javacardx.crypto.KeyEncryption.
KeyEncryption interface defines the methods used to enable encrypted key data access to a key implementation.

L

LENGTH_DES - Static variable in class javacard.security.KeyBuilder
DES Key Length LENGTH_DES = 64.
LENGTH_DES3_2KEY - Static variable in class javacard.security.KeyBuilder
DES Key Length LENGTH_DES3_2KEY = 128.
LENGTH_DES3_3KEY - Static variable in class javacard.security.KeyBuilder
DES Key Length LENGTH_DES3_3KEY = 192.
LENGTH_DSA_1024 - Static variable in class javacard.security.KeyBuilder
DSA Key Length LENGTH_DSA_1024 = 1024.
LENGTH_DSA_512 - Static variable in class javacard.security.KeyBuilder
DSA Key Length LENGTH_DSA_512 = 512.
LENGTH_DSA_768 - Static variable in class javacard.security.KeyBuilder
DSA Key Length LENGTH_DSA_768 = 768.
LENGTH_RSA_1024 - Static variable in class javacard.security.KeyBuilder
RSA Key Length LENGTH_RSA_1024 = 1024.
LENGTH_RSA_2048 - Static variable in class javacard.security.KeyBuilder
RSA Key Length LENGTH_RSA_2048 = 2048.
LENGTH_RSA_512 - Static variable in class javacard.security.KeyBuilder
RSA Key Length LENGTH_RSA_512 = 512.
LENGTH_RSA_768 - Static variable in class javacard.security.KeyBuilder
RSA Key Length LENGTH_RSA_768 = 768.
lookupAID(byte[], short, byte) - Static method in class javacard.framework.JCSystem
Returns the JCRE owned instance of the AID object, if any, encapsulating the specified AID bytes in the buffer parameter if there exists a successfully installed applet on the card whose instance AID exactly matches that of the specified AID bytes.

M

makeShort(byte, byte) - Static method in class javacard.framework.Util
Concatenates the two parameter bytes to form a short value.
makeTransientBooleanArray(short, byte) - Static method in class javacard.framework.JCSystem
Create a transient boolean array with the specified array length.
makeTransientByteArray(short, byte) - Static method in class javacard.framework.JCSystem
Create a transient byte array with the specified array length.
makeTransientObjectArray(short, byte) - Static method in class javacard.framework.JCSystem
Create a transient array of Object with the specified array length.
makeTransientShortArray(short, byte) - Static method in class javacard.framework.JCSystem
Create a transient short array with the specified array length.
MessageDigest - class javacard.security.MessageDigest.
The MessageDigest class is the base class for hashing algorthims.
MessageDigest() - Constructor for class javacard.security.MessageDigest
Protected Constructor
MODE_DECRYPT - Static variable in class javacardx.crypto.Cipher
Used in init() methods to indicate decryption mode.
MODE_ENCRYPT - Static variable in class javacardx.crypto.Cipher
Used in init() methods to indicate encryption mode.
MODE_SIGN - Static variable in class javacard.security.Signature
Used in init() methods to indicate signature sign mode.
MODE_VERIFY - Static variable in class javacard.security.Signature
Used in init() methods to indicate signature verify mode.

N

NegativeArraySizeException - exception java.lang.NegativeArraySizeException.
A JCRE owned instance of NegativeArraySizeException is thrown if an applet tries to create an array with negative size.
NegativeArraySizeException() - Constructor for class java.lang.NegativeArraySizeException
Constructs a NegativeArraySizeException.
NO_RESOURCE - Static variable in class javacard.framework.SystemException
This reason code is used to indicate that there is insufficient resource in the Card for the request.
NO_SUCH_ALGORITHM - Static variable in class javacard.security.CryptoException
This reason code is used to indicate that the requested algorithm or key type is not supported.
NO_T0_GETRESPONSE - Static variable in class javacard.framework.APDUException
This reason code indicates that during T=0 protocol, the CAD did not return a GET RESPONSE command in response to a <61xx> response status to send additional data.
NO_TRANSIENT_SPACE - Static variable in class javacard.framework.SystemException
This reason code is used by the makeTransient..() methods to indicate that no room is available in volatile memory for the requested object.
NOT_A_TRANSIENT_OBJECT - Static variable in class javacard.framework.JCSystem
This event code indicates that the object is not transient.
NOT_IN_PROGRESS - Static variable in class javacard.framework.TransactionException
This reason code is used by the abortTransaction and commintTransaction methods when a transaction is not in progress.
NullPointerException - exception java.lang.NullPointerException.
A JCRE owned instance of NullPointerExceptionis thrown when an applet attempts to use null in a case where an object is required.
NullPointerException() - Constructor for class java.lang.NullPointerException
Constructs a NullPointerException.

O

Object - class java.lang.Object.
Class Object is the root of the Java Card class hierarchy.
Object() - Constructor for class java.lang.Object
 
OFFSET_CDATA - Static variable in interface javacard.framework.ISO7816
APDU command data offset : CDATA = 5
OFFSET_CLA - Static variable in interface javacard.framework.ISO7816
APDU header offset : CLA = 0
OFFSET_INS - Static variable in interface javacard.framework.ISO7816
APDU header offset : INS = 1
OFFSET_LC - Static variable in interface javacard.framework.ISO7816
APDU header offset : LC = 4
OFFSET_P1 - Static variable in interface javacard.framework.ISO7816
APDU header offset : P1 = 2
OFFSET_P2 - Static variable in interface javacard.framework.ISO7816
APDU header offset : P2 = 3
OwnerPIN - class javacard.framework.OwnerPIN.
This class represents an Owner PIN.
OwnerPIN(byte, byte) - Constructor for class javacard.framework.OwnerPIN
Constructor.

P

partialEquals(byte[], short, byte) - Method in class javacard.framework.AID
Checks if the specified partial AID byte sequence matches the first length bytes of the encapsulated AID bytes within this AID object.
PIN - interface javacard.framework.PIN.
This interface represents a PIN.
PINException - exception javacard.framework.PINException.
PINException represents a OwnerPIN class access-related exception.
PINException(short) - Constructor for class javacard.framework.PINException
Constructs a PINException.
PrivateKey - interface javacard.security.PrivateKey.
The PrivateKey class is the base class for private keys used in asymmetric algorithms.
process(APDU) - Method in class javacard.framework.Applet
Called by the JCRE to process an incoming APDU command.
PROTOCOL_T0 - Static variable in class javacard.framework.APDU
ISO 7816 transport protocol type T=0
PROTOCOL_T1 - Static variable in class javacard.framework.APDU
ISO 7816 transport protocol type T=1
PublicKey - interface javacard.security.PublicKey.
The PublicKey class is the base class for public keys used in asymmetric algorithms.

R

RandomData - class javacard.security.RandomData.
The RandomData abstract class is the base class for random number generation.
RandomData() - Constructor for class javacard.security.RandomData
Protected constructor for subclassing.
receiveBytes(short) - Method in class javacard.framework.APDU
Gets as many data bytes as will fit without APDU buffer overflow, at the specified offset bOff.  Gets all the remaining bytes if they fit.
register() - Method in class javacard.framework.Applet
This method is used by the applet to register this applet instance with the JCRE and to assign the Applet subclass AID bytes as its instance AID bytes.
register(byte[], short, byte) - Method in class javacard.framework.Applet
This method is used by the applet to register this applet instance with the JCRE and assign the specified AID bytes as its instance AID bytes.
reset() - Method in class javacard.framework.OwnerPIN
If the validated flag is set, this method resets it.
reset() - Method in interface javacard.framework.PIN
If the validated flag is set, this method resets it.
resetAndUnblock() - Method in class javacard.framework.OwnerPIN
This method resets the validated flag and resets the PIN try counter to the value of the PIN try limit.
RIDEquals(AID) - Method in class javacard.framework.AID
Checks if the RID (National Registered Application provider identifier) portion of the encapsulated AID bytes within the otherAID object matches that of this AID object.
RSAPrivateCrtKey - interface javacard.security.RSAPrivateCrtKey.
The RSAPrivateCrtKey interface is used to sign data using the RSA algorithm in its Chinese Remainder Theorem form.
RSAPrivateKey - interface javacard.security.RSAPrivateKey.
The RSAPrivateKey class is used to sign data using the RSA algorithm in its modulus/exponent form.
RSAPublicKey - interface javacard.security.RSAPublicKey.
The RSAPublicKey is used to verify signatures on signed data using the RSA algorithm.
RuntimeException - exception java.lang.RuntimeException.
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Card Virtual Machine. A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught.
RuntimeException() - Constructor for class java.lang.RuntimeException
Constructs a RuntimeException instance.

S

SecretKey - interface javacard.security.SecretKey.
The SecretKey class is the base interface for keys used in symmetric alogrightms (e.g. DES).
SecurityException - exception java.lang.SecurityException.
A JCRE owned instance of SecurityException is thrown by the Java Card Virtual Machine to indicate a security violation. This exception is thrown when an attempt is made to illegally access an object belonging to a another applet.
SecurityException() - Constructor for class java.lang.SecurityException
Constructs a SecurityException.
select() - Method in class javacard.framework.Applet
Called by the JCRE to inform this applet that it has been selected.
selectingApplet() - Method in class javacard.framework.Applet
This method is used by the applet process() method to distinguish the SELECT APDU command which selected this applet, from all other other SELECT APDU commands which may relate to file or internal applet state selection.
sendBytes(short, short) - Method in class javacard.framework.APDU
Sends len more bytes from APDU buffer at specified offset bOff.
sendBytesLong(byte[], short, short) - Method in class javacard.framework.APDU
Sends len more bytes from outData byte array starting at specified offset bOff.
setDP1(byte[], short, short) - Method in interface javacard.security.RSAPrivateCrtKey
Sets the value of the DP1 parameter.
setDQ1(byte[], short, short) - Method in interface javacard.security.RSAPrivateCrtKey
Sets the value of the DQ1 parameter.
setExponent(byte[], short, short) - Method in interface javacard.security.RSAPrivateKey
Sets the private exponent value of the key.
setExponent(byte[], short, short) - Method in interface javacard.security.RSAPublicKey
Sets the public exponent value of the key.
setG(byte[], short, short) - Method in interface javacard.security.DSAKey
Sets the subprime parameter value of the key.
setIncomingAndReceive() - Method in class javacard.framework.APDU
This is the primary receive method.
setKey(byte[], short) - Method in interface javacard.security.DESKey
Sets the Key data.
setKeyCipher(Cipher) - Method in interface javacardx.crypto.KeyEncryption
Sets the Cipher object to be used to decrypt the input key data and key parameters in the set methods. Default Cipher object is null - no decryption performed.
setModulus(byte[], short, short) - Method in interface javacard.security.RSAPrivateKey
Sets the modulus value of the key.
setModulus(byte[], short, short) - Method in interface javacard.security.RSAPublicKey
Sets the modulus value of the key.
setOutgoing() - Method in class javacard.framework.APDU
This method is used to set the data transfer direction to outbound and to obtain the expected length of response (Le).
setOutgoingAndSend(short, short) - Method in class javacard.framework.APDU
This is the "convenience" send method.
setOutgoingLength(short) - Method in class javacard.framework.APDU
Sets the actual length of response data.
setOutgoingNoChaining() - Method in class javacard.framework.APDU
This method is used to set the data transfer direction to outbound without using BLOCK CHAINING(See ISO 7816-3/4) and to obtain the expected length of response (Le).
setP(byte[], short, short) - Method in interface javacard.security.DSAKey
Sets the base parameter value of the key.
setP(byte[], short, short) - Method in interface javacard.security.RSAPrivateCrtKey
Sets the value of the P parameter.
setPQ(byte[], short, short) - Method in interface javacard.security.RSAPrivateCrtKey
Sets the value of the PQ parameter.
setQ(byte[], short, short) - Method in interface javacard.security.DSAKey
Sets the prime parameter value of the key.
setQ(byte[], short, short) - Method in interface javacard.security.RSAPrivateCrtKey
Sets the value of the Q parameter.
setReason(short) - Method in class javacard.framework.CardRuntimeException
Set reason code
setReason(short) - Method in class javacard.framework.CardException
Set reason code
setSeed(byte[], short, short) - Method in class javacard.security.RandomData
Seeds the random data generator.
setShort(byte[], short, short) - Static method in class javacard.framework.Util
Deposits the short value as two successive bytes at the specified offset in the byte array.
setValidatedFlag(boolean) - Method in class javacard.framework.OwnerPIN
This protected method sets the value of the validated flag.
setX(byte[], short, short) - Method in interface javacard.security.DSAPrivateKey
Sets the value of the key.
setY(byte[], short, short) - Method in interface javacard.security.DSAPublicKey
Sets the value of the key.
Shareable - interface javacard.framework.Shareable.
The Shareable interface serves to identify all shared objects.
sign(byte[], short, short, byte[], short) - Method in class javacard.security.Signature
Generates the signature of all/last input data.
Signature - class javacard.security.Signature.
The Signature class is the base class for Signature algorthims.
Signature() - Constructor for class javacard.security.Signature
Protected Constructor
SW_APPLET_SELECT_FAILED - Static variable in interface javacard.framework.ISO7816
Response status : Applet selection failed = 0x6999;
SW_BYTES_REMAINING_00 - Static variable in interface javacard.framework.ISO7816
Response status : Response bytes remaining = 0x6100
SW_CLA_NOT_SUPPORTED - Static variable in interface javacard.framework.ISO7816
Response status : CLA value not supported = 0x6E00
SW_COMMAND_NOT_ALLOWED - Static variable in interface javacard.framework.ISO7816
Response status : Command not allowed (no current EF) = 0x6986
SW_CONDITIONS_NOT_SATISFIED - Static variable in interface javacard.framework.ISO7816
Response status : Conditions of use not satisfied = 0x6985
SW_CORRECT_LENGTH_00 - Static variable in interface javacard.framework.ISO7816
Response status : Correct Expected Length (Le) = 0x6C00
SW_DATA_INVALID - Static variable in interface javacard.framework.ISO7816
Response status : Data invalid = 0x6984
SW_FILE_FULL - Static variable in interface javacard.framework.ISO7816
Response status : Not enough memory space in the file = 0x6A84
SW_FILE_INVALID - Static variable in interface javacard.framework.ISO7816
Response status : File invalid = 0x6983
SW_FILE_NOT_FOUND - Static variable in interface javacard.framework.ISO7816
Response status : File not found = 0x6A82
SW_FUNC_NOT_SUPPORTED - Static variable in interface javacard.framework.ISO7816
Response status : Function not supported = 0x6A81
SW_INCORRECT_P1P2 - Static variable in interface javacard.framework.ISO7816
Response status : Incorrect parameters (P1,P2) = 0x6A86
SW_INS_NOT_SUPPORTED - Static variable in interface javacard.framework.ISO7816
Response status : INS value not supported = 0x6D00
SW_NO_ERROR - Static variable in interface javacard.framework.ISO7816
Response status : No Error = (short)0x9000
SW_RECORD_NOT_FOUND - Static variable in interface javacard.framework.ISO7816
Response status : Record not found = 0x6A83
SW_SECURITY_STATUS_NOT_SATISFIED - Static variable in interface javacard.framework.ISO7816
Response status : Security condition not satisfied = 0x6982
SW_UNKNOWN - Static variable in interface javacard.framework.ISO7816
Response status : No precise diagnosis = 0x6F00
SW_WRONG_DATA - Static variable in interface javacard.framework.ISO7816
Response status : Wrong data = 0x6A80
SW_WRONG_LENGTH - Static variable in interface javacard.framework.ISO7816
Response status : Wrong length = 0x6700
SW_WRONG_P1P2 - Static variable in interface javacard.framework.ISO7816
Response status : Incorrect parameters (P1,P2) = 0x6B00
SystemException - exception javacard.framework.SystemException.
SystemException represents a JCSystem class related exception.
SystemException(short) - Constructor for class javacard.framework.SystemException
Constructs a SystemException.

T

T1_IFD_ABORT - Static variable in class javacard.framework.APDUException
This reason code indicates that during T=1 protocol, the CAD returned an ABORT S-Block command and aborted the data transfer.
Throwable - class java.lang.Throwable.
The Throwable class is the superclass of all errors and exceptions in the Java Card subset of the Java language.
Throwable() - Constructor for class java.lang.Throwable
Constructs a new Throwable.
throwIt(short) - Static method in class javacard.framework.CardRuntimeException
Throw the JCRE owned instance of the CardRuntimeException class with the specified reason.
throwIt(short) - Static method in class javacard.framework.PINException
Throws the JCRE owned instance of PINException with the specified reason.
throwIt(short) - Static method in class javacard.framework.ISOException
Throws the JCRE owned instance of the ISOException class with the specified status word.
throwIt(short) - Static method in class javacard.framework.CardException
Throw the JCRE owned instance of CardException class with the specified reason.
throwIt(short) - Static method in class javacard.framework.UserException
Throws the JCRE owned instance of UserException with the specified reason.
throwIt(short) - Static method in class javacard.framework.SystemException
Throws the JCRE owned instance of SystemException with the specified reason.
throwIt(short) - Static method in class javacard.framework.TransactionException
Throws the JCRE owned instance of TransactionException with the specified reason.
throwIt(short) - Static method in class javacard.framework.APDUException
Throws the JCRE owned instance of APDUException with the specified reason.
throwIt(short) - Static method in class javacard.security.CryptoException
Throws the JCRE owned instance of CryptoException with the specified reason.
TransactionException - exception javacard.framework.TransactionException.
TransactionException represents an exception in the transaction subsystem.
TransactionException(short) - Constructor for class javacard.framework.TransactionException
Constructs a TransactionException with the specified reason.
TYPE_DES - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type DESKey with persistent key data.
TYPE_DES_TRANSIENT_DESELECT - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type DESKey with CLEAR_ON_DESELECT transient key data.
TYPE_DES_TRANSIENT_RESET - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type DESKey with CLEAR_ON_RESET transient key data.
TYPE_DSA_PRIVATE - Static variable in class javacard.security.KeyBuilder
Key object which implements the interface type DSAPrivateKey for the DSA algorithm.
TYPE_DSA_PUBLIC - Static variable in class javacard.security.KeyBuilder
Key object which implements the interface type DSAPublicKey for the DSA algorithm.
TYPE_RSA_CRT_PRIVATE - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type RSAPrivateCrtKey which uses Chinese Remainder Theorem.
TYPE_RSA_PRIVATE - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type RSAPrivateKey which uses modulus/exponent form.
TYPE_RSA_PUBLIC - Static variable in class javacard.security.KeyBuilder
Key object which implements interface type RSAPublicKey.

U

UNINITIALIZED_KEY - Static variable in class javacard.security.CryptoException
This reason code is used to indicate that the key is uninitialized.
update(byte[], short, byte) - Method in class javacard.framework.OwnerPIN
This method sets a new value for the PIN and resets the PIN try counter to the value of the PIN try limit.
update(byte[], short, short) - Method in class javacard.security.MessageDigest
Accumulates a hash of the input data.
update(byte[], short, short) - Method in class javacard.security.Signature
Accumulates a signature of the input data.
update(byte[], short, short, byte[], short) - Method in class javacardx.crypto.Cipher
Generates encrypted/decrypted output from input data.
UserException - exception javacard.framework.UserException.
UserException represents a User exception.
UserException() - Constructor for class javacard.framework.UserException
Constructs a UserException with reason = 0.
UserException(short) - Constructor for class javacard.framework.UserException
Constructs a UserException with the specified reason.
Util - class javacard.framework.Util.
The Util class contains common utility functions.

V

verify(byte[], short, short, byte[], short, short) - Method in class javacard.security.Signature
Verifies the signature of all/last input data against the passed in signature.

W

waitExtension() - Method in class javacard.framework.APDU
Requests additional processsing time from CAD.

A B C D E G I J K L M N O P R S T U V W
Submit a bug or feature

Java and Java Card are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
All Rights Reserved.