src/com/makina/security/OpenFIPS201/PIV.java
public short select(byte[] buffer, short offset, short length) {

        //
        // PRE-CONDITIONS
        //

		// NONE
		
        //
        // EXECUTION STEPS
        //

        // STEP 1 - Return the APT
        Util.arrayCopyNonAtomic(Config.DEFAULT_APT, (short)0, buffer, offset, (short)Config.DEFAULT_APT.length);

        return (short)Config.DEFAULT_APT.length;
    }
/**
     * Called when this applet is selected, returning the APT object
     *
     * @param buffer The APDU buffer to write the APT to
     * @param offset The starting offset of the CDATA section
     * @param length The length of the CDATA section
     * @return The length of the returned APT object
     */
Called when this applet is selected, returning the APT object
@param buffer The APDU buffer to write the APT to
@param offset The starting offset of the CDATA section
@param length The length of the CDATA section
@return The length of the returned APT object
Called when this applet is selected returning the APT object @param buffer The APDU buffer to write the APT to @param offset The starting offset of the CDATA section @param length The length of the CDATA section @return The length of the returned APT object
public short select(byte[] buffer, short offset, short length) {
         PRE-CONDITIONS
		 NONE
         EXECUTION STEPS
         STEP 1 - Return the APT
        Util.arrayCopyNonAtomic(Config.DEFAULT_APT, (short)0, buffer, offset, (short)Config.DEFAULT_APT.length);
        return (short)Config.DEFAULT_APT.length;
    }
public short select ( byte [ ] buffer , short offset , short length ) { Util . arrayCopyNonAtomic ( Config . DEFAULT_APT , ( short ) 0 , buffer , offset , ( short ) Config . DEFAULT_APT . length ) ; return ( short ) Config . DEFAULT_APT . length ; }
Called when this applet is selected, returning the APT object
 @param buffer The APDU buffer to write the APT to
 @param offset The starting offset of the CDATA section
 @param length The length of the CDATA section
 @return The length of the returned APT object
Called when this applet is selected returning the APT object @param buffer The APDU buffer to write the APT to @param offset The starting offset of the CDATA section @param length The length of the CDATA section @return The length of the returned APT object
// // PRE-CONDITIONS // // NONE // // EXECUTION STEPS // // STEP 1 - Return the APT