📄 package-summary.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_02) on Wed Mar 22 19:19:15 PST 2006 --><TITLE>javacard.framework (Java Card API and Subsets)</TITLE><META NAME="keywords" CONTENT="javacard.framework package"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="javacard.framework (Java Card API and Subsets)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java Card </b><br><font size="-1">v2.2.2</font></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/rmi/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../javacard/framework/service/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?javacard/framework/package-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><H2>Package javacard.framework</H2>Provides a framework of classes and interfaces for building,communicating with and working with Java Card technology-based applets.<P><B>See:</B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Interface Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/AppletEvent.html" title="interface in javacard.framework">AppletEvent</A></B></TD><TD>The <CODE>AppletEvent</CODE> interface provides a callback interface for the Java Card runtime environment to inform the applet about life cycle events.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/ISO7816.html" title="interface in javacard.framework">ISO7816</A></B></TD><TD><code>ISO7816</code> encapsulates constants related to ISO 7816-3 and ISO 7816-4.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/MultiSelectable.html" title="interface in javacard.framework">MultiSelectable</A></B></TD><TD>The <CODE>MultiSelectable</CODE> interface identifies the implementing Applet subclass as being capable of concurrent selections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/PIN.html" title="interface in javacard.framework">PIN</A></B></TD><TD>This interface represents a PIN.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/Shareable.html" title="interface in javacard.framework">Shareable</A></B></TD><TD>The Shareable interface serves to identify all shared objects.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Class Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/AID.html" title="class in javacard.framework">AID</A></B></TD><TD>This class encapsulates the Application Identifier (AID) associated with an applet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/APDU.html" title="class in javacard.framework">APDU</A></B></TD><TD>Application Protocol Data Unit (APDU) is the communication format between the card and the off-card applications.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/Applet.html" title="class in javacard.framework">Applet</A></B></TD><TD>This abstract class defines an Java Card technology-based applet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/JCSystem.html" title="class in javacard.framework">JCSystem</A></B></TD><TD>The <code>JCSystem</code> class includes a collection of methods to control applet execution, resource management, atomic transaction management, object deletion mechanism and inter-applet object sharing in the Java Card environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/OwnerPIN.html" title="class in javacard.framework">OwnerPIN</A></B></TD><TD>This class represents an Owner PIN, implements Personal Identification Number functionality as defined in the <code>PIN</code> interface, and provides the ability to update the PIN and thus owner functionality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/Util.html" title="class in javacard.framework">Util</A></B></TD><TD>The <code>Util</code> class contains common utility functions.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Exception Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/APDUException.html" title="class in javacard.framework">APDUException</A></B></TD><TD><code>APDUException</code> represents an <code>APDU</code> related exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/CardException.html" title="class in javacard.framework">CardException</A></B></TD><TD>The <code>CardException</code> class defines a field <code>reason </code>and two accessor methods <code> getReason()</code> and <code>setReason()</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/CardRuntimeException.html" title="class in javacard.framework">CardRuntimeException</A></B></TD><TD>The <code>CardRuntimeException</code> class defines a field <code>reason </code>and two accessor methods <code> getReason()</code> and <code>setReason()</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/ISOException.html" title="class in javacard.framework">ISOException</A></B></TD><TD><code>ISOException</code> class encapsulates an ISO 7816-4 response status word as its <code>reason</code> code.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/PINException.html" title="class in javacard.framework">PINException</A></B></TD><TD><code>PINException</code> represents a <code>OwnerPIN</code> class access-related exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/SystemException.html" title="class in javacard.framework">SystemException</A></B></TD><TD><code>SystemException</code> represents a <code>JCSystem</code> class related exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/TransactionException.html" title="class in javacard.framework">TransactionException</A></B></TD><TD><code>TransactionException</code> represents an exception in the transaction subsystem.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../javacard/framework/UserException.html" title="class in javacard.framework">UserException</A></B></TD><TD><code>UserException</code> represents a User exception.</TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package javacard.framework Description</H2><P><p>Provides a framework of classes and interfaces for building,communicating with and working with Java Card technology-based applets.These classes and interfaces provide the minimum required functionalityfor a Java Card environment. If additional functionality is desired,for example to specialize the card for a particular market, otherframeworks would need to be added.</p><p>The key classes and interfaces in this package are:</p><ul> <li><tt>AID</tt>-encapsulates the Application Identifier (AID)associated with an applet. </li> <li><tt>APDU</tt>-provides methods for controlling card input andoutput.</li> <li><tt>Applet</tt>-the base class for all Java Card technology-basedapplets on the card. It provides methods for working with applets to beloaded onto, installed into and executed on a Java Cardtechnology-compliant smart card. </li> <li><tt>CardException</tt>, <tt>CardRuntimeException</tt>-providefunctionality similar to <tt>java.lang.Exception</tt> and <tt>java.lang.RuntimeException</tt>in the standard Java programming language, but specialized for the cardenvironment.</li> <li><tt>ISO7816</tt>-provides important constants for working withinput and output data.</li> <li><tt>JCSystem</tt>-provides methods for controlling systemfunctions such as transaction management, transient objects, objectdeletion mechanism, resource management, and inter-applet objectsharing.</li> <li><tt>MultiSelectable</tt>-provides methods that support advancedprogramming techniques with logical channels.</li> <li><tt>Shareable</tt>-provides a mechanism that lets objects thatimplement this interface be shared across an applet firewall.</li> <li><tt>Util</tt>-provides convenient methods for working with arraysand array data.</li></ul><P><P><DL></DL><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java Card </b><br><font size="-1">v2.2.2</font></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/rmi/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../javacard/framework/service/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?javacard/framework/package-summary.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 1993-2005 Sun Microsystems, Inc. 4150 Network Circle,<br>Santa Clara, CA, 95054, U.S.A. All Rights Reserved.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -