|
Java Card 2.1 Platform Final Revision 1.0 |
|||||||
PREV NEXT | FRAMES NO FRAMES |
AID
instance
encapsulating the specified AID bytes.
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
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
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_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
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
provides a cipher using DES in ECB mode.
This algorithm does not pad input data.
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
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
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
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
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
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
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_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_DSA_SHA
signs/verifies the 20 byte SHA digest using DSA.
ALG_RSA_ISO14888
provides a cipher using RSA.
Input data is padded according to the ISO 14888 scheme.
ALG_RSA_ISO9796
provides a cipher using RSA.
Input data is padded according to the ISO 9796 (EMV'96) scheme.
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
encrypts the 16 byte MD5 digest using RSA.
The digest is padded according to the RFC2409 scheme.
ALG_RSA_PKCS1
provides a cipher using RSA.
Input data is padded according to the PKCS#1 (v1.5) scheme.
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
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
encrypts the 20 byte SHA digest using RSA.
The digest is padded according to the ISO 9796 (EMV'96) scheme.
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
encrypts the 20 byte SHA digest using RSA.
The digest is padded according to the RFC2409 scheme.
APDUException
represents an APDU
related exception.install()
method should create the applet object.
ArithmethicException
is thrown when an exceptional arithmetic condition
has occurred.ArithmeticException
.
IndexOutOfBoundsException
is thrown to indicate that
an array has been accessed with an illegal index.ArrayIndexOutOfBoundsException
.
ArrayStoreException
is thrown to indicate that an attempt
has been made to store the wrong type of object into an array of objects.ArrayStoreException
.
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.
APDU.sendBytes()
method to indicate
that the sum of buffer offset parameter and the byte length parameter exceeds the APDU
buffer size.
CardException
class
defines a field reason
and two accessor methods
getReason()
and setReason()
.CardRuntimeException
class
defines a field reason
and two accessor methods
getReason()
and setReason()
.pin
against the PIN value.
pin
against the PIN value.
Cipher
class is the abstract base class for Cipher algorthims.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
.
CLEAR_ON_RESET
cases.
CryptoException
represents a cryptography-related exception.CryptoException
with the specified reason.
DESKey
contains an 8/16/24 byte key for single/2 key triple DES/3 key triple DES
operations.DSAPrivateKey
interface is used to sign data using the DSA algorithm.DSAPublicKey
interface is used to verify signatures
on signed data using the DSA algorithm.bArray
are the same as those encapsulated
in this
AID
object.
this
AID
instance to the AID bytes in the
specified object.
Exception
and its subclasses are a form of Throwable
that indicates
conditions that a reasonable applet might want to catch.Exception
instance.
AID
object associated with
the current applet context.
AID
object.
RandomData
instance of the selected algorithm.
MessageDigest
object instance of the selected algorithm.
Signature
object instance of the selected algorithm.
Cipher
object instance of the selected algorithm.
Key
data in plain text.
Cipher
object to be used to decrypt the input key data
and key parameters in the set methods.
Default is null
- no decryption performed.
AID
object associated
with the previously active applet context.
PIN
is blocked.
PIN
is blocked.
javacard.framework.Applet.register()
method
to indicate that the input AID parameter is not a legal AID value.
beginTransaction
method to indicate
a transaction is already in progress.
IndexOutOfBoundsException
is thrown to indicate that
an index of some sort (such as to an array) is out of range.IndexOutOfBoundsException
.
Signature
object with the appropriate Key
.
Cipher
object with the appropriate Key
.
Signature
object with the appropriate Key
and algorithm specific
parameters.
Cipher
object with the appropriate Key and algorithm specific
parameters.
Applet
subclass, the JCRE
will call this static method first.
ISO7816
encapsulates constants related to ISO 7816-3 and ISO 7816-4.ISOException
class encapsulates an ISO 7816-4 response status word as
its reason
code.true
if a valid PIN has been presented since the last
card reset or last call to reset()
.
true
if a valid PIN value has been presented since the last
card reset or last call to reset()
.
JCSystem
class includes a collection of methods to control
applet execution, resource management, atomic transaction management
and inter-applet object sharing in Java Card.Key
interface is the base interface for all keys.KeyBuilder
class is a key object factory.KeyEncryption
interface defines the methods used to enable encrypted
key data access to a key implementation.LENGTH_DES
= 64.
LENGTH_DES3_2KEY
= 128.
LENGTH_DES3_3KEY
= 192.
LENGTH_DSA_1024
= 1024.
LENGTH_DSA_512
= 512.
LENGTH_DSA_768
= 768.
LENGTH_RSA_1024
= 1024.
LENGTH_RSA_2048
= 2048.
LENGTH_RSA_512
= 512.
LENGTH_RSA_768
= 768.
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.
Object
with the specified array length.
MessageDigest
class is the base class for hashing algorthims.init()
methods to indicate decryption mode.
init()
methods to indicate encryption mode.
init()
methods to indicate signature sign mode.
init()
methods to indicate signature verify mode.
NegativeArraySizeException
is thrown if an applet tries
to create an array with negative size.NegativeArraySizeException
.
makeTransient..()
methods
to indicate that no room is available in volatile memory for the requested object.
abortTransaction
and commintTransaction
methods
when a transaction is not in progress.
NullPointerException
is thrown when an applet attempts
to use null
in a case where an object is required.NullPointerException
.
Object
is the root of the Java Card class hierarchy.length
bytes
of the encapsulated AID bytes within this
AID
object.
PINException
represents a OwnerPIN
class access-related exception.PrivateKey
class is the base class for private keys used in asymmetric algorithms.PublicKey
class is the base class for public keys used in asymmetric algorithms.RandomData
abstract class is the base class for random number generation.bOff
. Gets all the remaining bytes if they fit.
this
applet instance with
the JCRE and to
assign the Applet
subclass AID bytes as its instance AID bytes.
this
applet instance with the JCRE and
assign the specified AID bytes as its instance AID bytes.
PIN
try counter to the value of the PIN
try limit.
otherAID
object matches
that of this
AID
object.
RSAPrivateCrtKey
interface is used to sign data using the RSA algorithm
in its Chinese Remainder Theorem form.RSAPrivateKey
class is used to sign data using the RSA algorithm
in its modulus/exponent form.RSAPublicKey
is used to verify signatures on signed data using the RSA algorithm.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
instance.
SecretKey
class is the base interface for keys used in symmetric alogrightms (e.g. DES).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
.
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.
len
more bytes from APDU buffer at specified offset bOff
.
len
more bytes from outData
byte array starting at specified offset
bOff
.
Key
data.
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.
Signature
class is the base class for Signature algorthims.SystemException
represents a JCSystem
class related exception.Throwable
.
CardRuntimeException
class with the
specified reason.
PINException
with the specified reason.
CardException
class with the
specified reason.
UserException
with the specified reason.
SystemException
with the specified reason.
TransactionException
with the specified reason.
APDUException
with the specified reason.
CryptoException
with the specified reason.
TransactionException
represents an exception in the transaction subsystem.Key
object which implements interface type DESKey
with persistent key data.
Key
object which implements interface type DESKey
with CLEAR_ON_DESELECT transient key data.
Key
object which implements interface type DESKey
with CLEAR_ON_RESET transient key data.
Key
object which implements the interface type DSAPrivateKey
for the DSA algorithm.
Key
object which implements the interface type DSAPublicKey
for the DSA algorithm.
Key
object which implements interface type RSAPrivateCrtKey
which
uses Chinese Remainder Theorem.
Key
object which implements interface type RSAPrivateKey
which
uses modulus/exponent form.
Key
object which implements interface type RSAPublicKey
.
PIN
try
counter to the value of the PIN
try limit.
UserException
represents a User exception.UserException
with reason = 0.
UserException
with the specified reason.
Util
class contains common utility functions.
|
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. |
|||||||
PREV NEXT | FRAMES NO FRAMES |