<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Lavamunky's Blog</title>
	<atom:link href="http://lavamunky.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lavamunky.wordpress.com</link>
	<description>Pet peeves, programming, me. The perfect circle of life.</description>
	<lastBuildDate>Sun, 25 Dec 2011 22:00:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lavamunky.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Lavamunky's Blog</title>
		<link>http://lavamunky.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lavamunky.wordpress.com/osd.xml" title="Lavamunky&#039;s Blog" />
	<atom:link rel='hub' href='http://lavamunky.wordpress.com/?pushpress=hub'/>
		<item>
		<title>New blog</title>
		<link>http://lavamunky.wordpress.com/2010/09/29/new-blog/</link>
		<comments>http://lavamunky.wordpress.com/2010/09/29/new-blog/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 20:28:47 +0000</pubDate>
		<dc:creator>lavamunky</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lavamunky.wordpress.com/?p=133</guid>
		<description><![CDATA[I&#8217;ve set up a new blog, with a new domain, so from now on this blog will no longer be updated. I hope you like all the information, but if you need to contact me, you can at peter@lavamunky.com or just catch my new blog: http://www.lavamunky.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=133&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve set up a new blog, with a new domain, so from now on this blog will no longer be updated.</p>
<p>I hope you like all the information, but if you need to contact me, you can at</p>
<p><a href="mailto:peter@lavamunky.com">peter@lavamunky.com</a></p>
<p>or just catch my new blog: <a title="lavamunky security" href="http://www.lavamunky.com">http://www.lavamunky.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lavamunky.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lavamunky.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lavamunky.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=133&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lavamunky.wordpress.com/2010/09/29/new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">lavamunky</media:title>
		</media:content>
	</item>
		<item>
		<title>The importance of Twitter to an information security newcomer</title>
		<link>http://lavamunky.wordpress.com/2010/05/31/the-importance-of-twitter-to-a-information-security-newcomer/</link>
		<comments>http://lavamunky.wordpress.com/2010/05/31/the-importance-of-twitter-to-a-information-security-newcomer/#comments</comments>
		<pubDate>Mon, 31 May 2010 18:30:52 +0000</pubDate>
		<dc:creator>lavamunky</dc:creator>
				<category><![CDATA[general security]]></category>
		<category><![CDATA[hackers ^o)]]></category>
		<category><![CDATA[Just me!]]></category>
		<category><![CDATA[secure computing]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[exploits]]></category>
		<category><![CDATA[information security]]></category>
		<category><![CDATA[information security industry]]></category>

		<guid isPermaLink="false">http://lavamunky.wordpress.com/?p=130</guid>
		<description><![CDATA[I&#8217;ll be the first to admit I&#8217;m very new to this field but will try my hardest to forge a career within industry with the general term &#8216;information security&#8217;. I&#8217;ve been on twitter for a fair while now but I&#8217;ve found it practically invaluable with first of all finding people within the industry and secondly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=130&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be the first to admit I&#8217;m very new to this field but will try my hardest to forge a career within industry with the general term &#8216;information security&#8217;.</p>
<p>I&#8217;ve been on twitter for a fair while now but I&#8217;ve found it practically invaluable with first of all finding people within the industry and secondly finding information on new things happening in the industry.</p>
<p>I recently saw this in a video presented by Marisa Fagan (<a href="http://twitter.com/dewzi">@dewzi</a>) on what you should be trying to do in order to get into the industry (found <a href="http://vimeo.com/10691483">here</a>) and she also keeps reiterating the importance of having a blog and being on twitter. And I will admit now that even though I subscribed to a fair few blogs etc, until I started to find security people on twitter, I was barely scratching the surface of the new things that are constantly being discovered and exploited.</p>
<p>If you too are just trying to get into this industry, whether you&#8217;re at university like myself or just interested from moving from another area of computing, I urge you to join twitter as it&#8217;s the best resource I&#8217;ve found for integrating with the (generally nice and helpful) people in the information security community.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lavamunky.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lavamunky.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lavamunky.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=130&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lavamunky.wordpress.com/2010/05/31/the-importance-of-twitter-to-a-information-security-newcomer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">lavamunky</media:title>
		</media:content>
	</item>
		<item>
		<title>Communicating between a phone &amp; Java Card emulator</title>
		<link>http://lavamunky.wordpress.com/2010/05/31/communicating-between-a-phone-java-card-emulator/</link>
		<comments>http://lavamunky.wordpress.com/2010/05/31/communicating-between-a-phone-java-card-emulator/#comments</comments>
		<pubDate>Mon, 31 May 2010 18:06:04 +0000</pubDate>
		<dc:creator>lavamunky</dc:creator>
				<category><![CDATA[general security]]></category>
		<category><![CDATA[Java Card]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Walkthrough]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lavamunky.wordpress.com/?p=122</guid>
		<description><![CDATA[This is just the building blocks to running your own applications, and here I will be using code free on the internet and with the samples included with the Java Card installation. I will also be using the setup used as shown in this post here. So to start off with we want to create a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=122&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is just the building blocks to running your own applications, and here I will be using code free on the internet and with the samples included with the Java Card installation.</p>
<p>I will also be using the setup used as shown in this post <a href="https://lavamunky.wordpress.com/2010/05/24/installing-java-card-windows/">here.</a></p>
<p>So to start off with we want to create a new Project in Netbeans and select &#8216;Java ME&#8217; and &#8216;Mobile Application&#8217; from the right hand side.</p>
<p><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-16-54-02.png"><img class="aligncenter size-full wp-image-123" title="Creating new Java ME project" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-16-54-02.png?w=497&#038;h=228" alt="" width="497" height="228" /></a></p>
<p>From here make sure the &#8216;Set as Main Project&#8217; box is ticked and the &#8216;Create Hello MIDlet&#8217; box is <strong>unticked</strong>. And that the Emulator platform is <strong>Sun Java Wireless Toolkit</strong>. It&#8217;s also best to make sure the Device Configuration is <strong>CLDC-1.1 </strong>and the Device Profile is <strong>MIDP-2.1.</strong> Though 2.0 should do fine as well.</p>
<p>Now you need to create a new MIDlet <a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-17-00-42.png"><img class="aligncenter size-full wp-image-124" title="Creating a new MIDlet" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-17-00-42.png?w=497" alt=""   /></a>Now call this <strong>APDUMIDlet </strong>and copy in the APDUMIDlet class from <a href="http://java.sun.com/j2me/docs/satsa-dg/AppA.html">here.</a></p>
<p>Now you can either follow the instructions at the top of that website, or you can follow on to find out how to compile and run your own Java Card program.</p>
<p>First you need to change the package name at the top to whatever yours is called. Then go down to the first initialised variable, <strong>kPurseSlot0. </strong></p>
<blockquote>
<pre>private final String kPurseSlot0 = "apdu:0;target=a0.00.00.00.62.03.01.0c.02.01";<a name="wp1000045"></a></pre>
</blockquote>
<p>The apdu slot can stay the same at 0 (which refers to port 9025 from last post), but for ease we will change the target to</p>
<blockquote>
<pre>target=01.02.03.04.05.06.07.08.09.00.01</pre>
</blockquote>
<p>Then you want to comment out the next 2 lines so that they look like</p>
<blockquote>
<pre>//private final String kPurseSlot1 = "apdu:1;target=a0.00.00.00.62.03.01.0c.02.01";<a name="wp1000046"></a>
//private final String kWalletSlot0 = "apdu:0;target=a0.00.00.00.62.03.01.0c.06.01";<a name="wp1000047"></a></pre>
</blockquote>
<p>And also the lines referring to these further down should be commented out</p>
<blockquote>
<pre>/*
setProgress("Opening purse slot 1");<a name="wp1000101"></a>
mPurseConnection1 = (APDUConnection)Connector.open(kPurseSlot1);<a name="wp1000102"></a>
setProgress("Opening wallet slot 0");<a name="wp1000103"></a>
mWalletConnection = (APDUConnection)Connector.open(kWalletSlot0);<a name="wp1000104"></a>
*/</pre>
</blockquote>
<p>And then again comment out the code that has these  Connections doing anything</p>
<blockquote>
<pre>/*setProgress("Exchanging APDUs with wallet");<a name="wp1000116"></a>
      for (int i = 0; i &lt; kWalletAPDUs.length; i++) {<a name="wp1000117"></a>
        byte[] apdu = kWalletAPDUs[i];<a name="wp1000118"></a>
        byte[] response = mWalletConnection.exchangeAPDU(apdu);<a name="wp1000119"></a>
        // Process response.<a name="wp1000120"></a>
      }<a name="wp1000121"></a>
      <a name="wp1000122"></a>
      setProgress("Closing wallet");<a name="wp1000123"></a>
      mWalletConnection.close();<a name="wp1000124"></a>
<a name="wp1000125"></a>
      setProgress("Exchanging APDUs with purse slot 1");<a name="wp1000126"></a>
      for (int i = 0; i &lt; kPurseAPDUs.length; i++) {<a name="wp1000127"></a>
        byte[] apdu = kPurseAPDUs[i];<a name="wp1000128"></a>
        byte[] response = mPurseConnection1.exchangeAPDU(apdu);<a name="wp1000129"></a>
        // Process response.<a name="wp1000130"></a>
      }<a name="wp1000131"></a>
      <a name="wp1000132"></a>
      setProgress("Closing purse slot 1");<a name="wp1000133"></a>
      mPurseConnection1.close();<a name="wp1000134"></a>
<a name="wp1000135"></a></pre>
</blockquote>
<p>And again the 2 try statements for closing the Connections need to be commented out</p>
<blockquote>
<pre>//try { mPurseConnection1.close(); } catch (Throwable t) {}<a name="wp1000142"></a>
//try { mWalletConnection.close(); } catch (Throwable t) {}<a name="wp1000143"></a></pre>
</blockquote>
<p>Now the code is fine for our purposes. As there is only connections on the one slot and we are simply trying to have programs where the programs communicate.</p>
<p>We are going to be using HelloWorld program that simply takes in bytes and returns them.</p>
<p>This can be found within the Java Card installation directories. All you need to do is open this in your preferred editor and change the package name to the same as your Java ME package name. Then save this to a new directory, for instance:</p>
<blockquote><p><strong>%USER%\newProg\</strong></p></blockquote>
<p>(%USER% being your home directory. It is often a system variable in Windows, %USERPROFILE% also used)</p>
<p>How to compile and run in a lot of detail is explained <a href="https://lavamunky.wordpress.com/2010/03/28/java-card-prog-compile/">here</a>. But for everyone else who doesn&#8217;t want too much detail, here is the much shorter version (comments :</p>
<p>So your HelloWorld.java program is in this file (above) and now you need to create a new folder in here with the same package name you have. For example using the package name &#8216;prototype&#8217; you would do</p>
<blockquote><p><strong>mkdir prototype</strong></p></blockquote>
<p>Now you need to compile the program like this</p>
<blockquote><p><strong>javac -g -d prototype -classpath “.;%JC_HOME%\lib\api.jar” HelloWorld.java</strong></p></blockquote>
<p>using the package prototype and program file HelloWorld.java. And now you need to convert the Java Card applet into a .cap file by doing</p>
<blockquote><p><strong>converter -applet 0×01:0×02:0×03:0×04:0×05:0×06:0×07:0×08:0×09:0×00:0×00 prototype.HelloWorld -classdir prototype -exportpath %JC_HOME%\api_export_files prototype 0×01:0×02:0×03:0×04:0×05:0×06:0×07:0×08:0×09:0×00 1.0</strong></p></blockquote>
<p>This has the unique ID for this applet (which is what the Java ME program connects to) which is why we changed target to 01.02.03.04.05.06.06.08.09.00.01 earlier.</p>
<p>And you have to put the -classdir parameter of where the .class file is (inside the prototype folder we created earlier). Then we use the say the export path (always the same) and state the package name, the package unique ID (I&#8217;ve just used the same as the Applet ID except leaving off the final byte 0&#215;01). And the Major Version.Minor Version (if you don&#8217;t understand just put 1.0 every time).</p>
<p>Now the scripts have to be generated from the .cap file which is what will go onto the Java card.</p>
<blockquote><p><strong>scriptgen -o HelloWorld.scr prototype\prototype\javacard\protoytpe.cap</strong></p></blockquote>
<p>if you look at your file system, it creates directories in a strange way so instead of your .cap file just being in prototype/javacard/prototype.cap it will have created another inside the folder you already created. But if you don&#8217;t create the folder before you cannot create the .cap file (thus the hacky process of creating a folder)</p>
<p>Now you will have a script called HelloWorld.scr. Open this in your preferred editor and you need to make some changes for this. First of all add a line to the top of the script and just put in:</p>
<blockquote><p><strong>powerup;</strong></p></blockquote>
<p>Now you need to add in a line of bytes which will always be the same:</p>
<blockquote><p><strong>0×00 0xA4 0×04 0×00 0×09 0xa0 0×00 0×00 0×00 0×62 0×03 0×01 0×08 0×01 0x7F;</strong></p></blockquote>
<p>Now you need to add lines which will create and select the Applet (I often put in comments to remind me):</p>
<blockquote><p>// create Applet</p>
<p><strong>0×80 0xB8 0×00 0×00 0x0d <em>0x0b 0×01 0×02 0×03 0×04 0×05 0×6 0×07 0×08 0×09 0×00 0×01 </em>0×00</strong><strong> </strong><strong>0x7F;</strong></p>
<p>// Select Applet</p>
<p><strong>0×00 0xa4 0×04 0×00 <em>0x0b 0×01 0×02 0×03 0×04 0×05 0×6 0×07 0×08 0×09 0×00 0×01</em></strong><strong> 0x7F;</strong></p></blockquote>
<p>Now you can see the 2 part in italic are exactly the same. This is also the Applet ID (AID). The 0x0b is the length of the AID in hexadecimal. And in the create applet command it also has an extra 0&#215;00 after the AID and before 0x7F. This means the length (before the AID in the create applet command) there is another byte 0x0d which is length here. Then you simply need to add at the end:</p>
<blockquote><p><strong>powerdown;</strong></p></blockquote>
<p>And open up a terminal window and type</p>
<blockquote><p><strong>start cref -o HelloWorld.eeprom</strong></p></blockquote>
<p>which will open a new terminal window and run the command, then in the first window type</p>
<blockquote><p><strong>apdutool HelloWorld.scr</strong></p></blockquote>
<p>and this will show a big print out. This is the debugging of everything, and all you have to look at is the last 2 returned bytes of each line (looking at the last 4 lines will suffice)</p>
<p>if SW1: 90 and SW2: 00 then it is fine, and has gone onto the card correctly and is ready to be run. Type</p>
<blockquote><p><strong>start cref -e -p 9025 -i HelloWorld.eeprom</strong></p></blockquote>
<p>And leave this running. Now go back to netbeans and run the program. Click through the emulator and it will work.</p>
<p>You can also look at the network monitor to see the bytes being sent back and forth.</p>
<p>The phone emulator screen should say something like this:</p>
<div id="attachment_125" class="wp-caption aligncenter" style="width: 277px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-18-59-05.png"><img class="size-full wp-image-125" title="Phone emulator program running" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-18-59-05.png?w=497" alt=""   /></a><p class="wp-caption-text">The output of the 2 programs communicating</p></div>
<p>And you can see the bytes sent in the APDU tab of the network monitor:</p>
<div id="attachment_126" class="wp-caption aligncenter" style="width: 507px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-19-01-15.png"><img class="size-full wp-image-126" title="Bytes sent between card and emulator" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-19-01-15.png?w=497&#038;h=275" alt="" width="497" height="275" /></a><p class="wp-caption-text">Bytes sent between card and emulator</p></div>
<p>As you can see it has the right target and it&#8217;s first establishing a connection to the card. And the different bytes being sent back and forth, where the arrow going left to right is phone to smart card and vice versa.</p>
<p>This is a good way to find out errors occurring in your own programs.</p>
<p>If you have any problems or another question, feel free to comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lavamunky.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lavamunky.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lavamunky.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=122&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lavamunky.wordpress.com/2010/05/31/communicating-between-a-phone-java-card-emulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">lavamunky</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-16-54-02.png" medium="image">
			<media:title type="html">Creating new Java ME project</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-17-00-42.png" medium="image">
			<media:title type="html">Creating a new MIDlet</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-18-59-05.png" medium="image">
			<media:title type="html">Phone emulator program running</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-31-at-19-01-15.png" medium="image">
			<media:title type="html">Bytes sent between card and emulator</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Java Card (Windows)</title>
		<link>http://lavamunky.wordpress.com/2010/05/24/installing-java-card-windows/</link>
		<comments>http://lavamunky.wordpress.com/2010/05/24/installing-java-card-windows/#comments</comments>
		<pubDate>Mon, 24 May 2010 22:09:52 +0000</pubDate>
		<dc:creator>lavamunky</dc:creator>
				<category><![CDATA[general security]]></category>
		<category><![CDATA[Java Card]]></category>
		<category><![CDATA[programming is fun!!!]]></category>
		<category><![CDATA[secure computing]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lavamunky.wordpress.com/?p=103</guid>
		<description><![CDATA[Originally there was going to be a video to show the process of actually installing Java Card along with everything else to get an application running but due to the fact that I couldn&#8217;t upload it to youtube (after major editing it was still 40 minutes long), I have decided to put it in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=103&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Originally there was going to be a video to show the process of actually installing Java Card along with everything else to get an application running but due to the fact that I couldn&#8217;t upload it to youtube (after major editing it was still 40 minutes long), I have decided to put it in a series of blog posts.</p>
<p>The first blog (this one) will be of physically installing Java Card and netbeans onto Windows. (There will probably also be another for Linux &#8211; not supported for Mac OS).</p>
<p>The second will be simply running a program to get the 2 bits of software communicating with each other in a program.</p>
<p>Just a note beforehand though, I am using Java Card 2.2.1, though the newest release is 3.0.2. This has a lot more features but couldn&#8217;t get it working for the purposes I needed (communicating with a J2ME phone application). I also tried using Java Card 2.2.2, but also due to the requirements I needed for my project I couldn&#8217;t use this. So all these posts will be using Java Card 2.2.1, and using newer versions may not work the same.</p>
<p>But onto the real installation:</p>
<p><strong>Step 1: Install Java SDK 1.3</strong></p>
<p>Now you may be asking &#8220;Why do I have to use such an old SDK like 1.3?&#8221; (Well if you&#8217;re not you should be).</p>
<p>This is because Java Card 2.2.1 and Sun&#8217;s Wireless Toolkit do not work with any newer version, otherwise they would have been used, since Java SDK 1.3 isn&#8217;t even supported anymore. (In fact I think 1.4 isn&#8217;t supported anymore, thus really showing its age).</p>
<p>Now you need to go to <a href="http://java.sun.com/products/archive/j2se/1.3.1_20/index.html">here</a> to download the old SDK.</p>
<div id="attachment_105" class="wp-caption aligncenter" style="width: 507px"><a href="http://lavamunky.files.wordpress.com/2010/05/j2se-1-3-dl-screenshot.png"><img class="size-full wp-image-105" title="J2SE 1.3 download" src="http://lavamunky.files.wordpress.com/2010/05/j2se-1-3-dl-screenshot.png?w=497&#038;h=115" alt="" width="497" height="115" /></a><p class="wp-caption-text">This is where you download Java SDK 1.3</p></div>
<p>Now simply click on &#8220;DOWNLOAD&#8221; beneath SDK to take you to another page where you can download the file.</p>
<p>Save the file to where ever you want and then you have to do a normal installation EXCEPT when you decide where to save the program, change it to a new folder where there are NO spaces in the entire directory.</p>
<p>So where it is usually saved to somewhere like C:\Program Files\j2sdk1.3\ you want it saved to a directory such as C:\jdk1.3\ or C:\Java\ as you can see here:</p>
<div id="attachment_106" class="wp-caption aligncenter" style="width: 429px"><a href="http://lavamunky.files.wordpress.com/2010/05/java-card-install-dest.png"><img class="size-full wp-image-106" title="Java SDK 1.3 install destination" src="http://lavamunky.files.wordpress.com/2010/05/java-card-install-dest.png?w=497" alt=""   /></a><p class="wp-caption-text">You need to save the SDK to a directory with no spaces</p></div>
<p>If yours has spaces, just go to browse then C:\ and save it there, or (preferably) create a new folder and save it in there, which in this instance is jdk1.3_20 this is for a reason that I will go into detail later.</p>
<p><strong>Step 2:</strong><strong> Install Java Card</strong></p>
<p>The Java Card development kit we want (2.2.1) can be found <a href="http://java.sun.com/javacard/downloads/index.jsp">here.</a> You need to to go to the bottom of the page and click on Java Card Development Kit 2.2.1</p>
<div id="attachment_107" class="wp-caption aligncenter" style="width: 506px"><a href="http://lavamunky.files.wordpress.com/2010/05/java-card-devkits.png"><img class="size-full wp-image-107" title="Java card development kits" src="http://lavamunky.files.wordpress.com/2010/05/java-card-devkits.png?w=497" alt=""   /></a><p class="wp-caption-text">We are using Java Card 2.2.1</p></div>
<p>From here you go to another page, choose Windows from the drop down box and download the .zip file.</p>
<p>Then extract this, again to a directory with no spaces in. And it&#8217;s probably best not to have it in the same folder as the Java, but something easy to locate, for example C:\JavaCard221\</p>
<p>In these files you will see a file called bin. This is the file that has all the batch files that Java Card uses.</p>
<p><a href="http://lavamunky.files.wordpress.com/2010/05/javacardbindirectory.png"><img class="aligncenter size-full wp-image-108" title="Java Card bin folder" src="http://lavamunky.files.wordpress.com/2010/05/javacardbindirectory.png?w=497" alt=""   /></a></p>
<p>Now you need to make the variables to be used by Java Card and the wireless toolkit, and you for general ease.</p>
<p>To do this go to Start -&gt; My Computer then as you can see here it will be on the left and click on &#8220;View System information&#8221; (in Windows XP home for Vista or 7 just type in &#8220;system information&#8221; or &#8220;system properties&#8221; without quotes into the start menu search box)</p>
<p><a href="http://lavamunky.files.wordpress.com/2010/05/my-computer-syst-info.png"><img class="aligncenter size-full wp-image-109" title="My Computer -&gt; System Information" src="http://lavamunky.files.wordpress.com/2010/05/my-computer-syst-info.png?w=497" alt=""   /></a></p>
<p>This will then take you to another screen. You need to click on the &#8220;advanced&#8221; tab at the top</p>
<div id="attachment_110" class="wp-caption aligncenter" style="width: 383px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-44-19.png"><img class="size-full wp-image-110" title="System properties" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-44-19.png?w=497" alt=""   /></a><p class="wp-caption-text">You need to click on the &quot;advanced&quot; tab</p></div>
<p>Then in the advanced tab you need to click the &#8220;environment variables&#8221; button. This will make this screen appear:</p>
<div id="attachment_112" class="wp-caption aligncenter" style="width: 355px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-48-11.png"><img class="size-full wp-image-112" title="Environment variables" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-48-11.png?w=497" alt=""   /></a><p class="wp-caption-text">Now to change the environment variables</p></div>
<p>Now you need to click the bottom &#8220;New&#8221; button of the 2 onscreen. Then create an environment variable with name JAVA_HOME (must to be capitals and with an underscore) and variable value C:\Java\jdk1.3 or where ever you installed Java SDK 1.3. Make sure to NOT put a \ at the end. Then click OK. Now you also need to make another variable, named JC_HOME (must be exact again) with variable value of the directory where you extracted the Java Card zip to.</p>
<p>You can check both these are here as they will be in the list of System Variables. Now you need to scroll down this list until you find a variable called Path. Click Edit.</p>
<p>If there is not a ; at the end of the value, then add one. Now you need to leave what is in the value as it is and add to the end of path</p>
<p>%JAVA_HOME%; %JAVA_HOME%\bin; %JC_HOME%; %JC_HOME%\bin;</p>
<p>then click OK. And click OK on the environment variables box, and OK on the system properties box.</p>
<p>To check this has worked, go to start -&gt; run and put in cmd and click OK</p>
<div id="attachment_113" class="wp-caption aligncenter" style="width: 319px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-02-16.png"><img class="size-full wp-image-113" title="Start -&gt; run cmd" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-02-16.png?w=497" alt=""   /></a><p class="wp-caption-text">Start -&gt; run cmd</p></div>
<p>This will then open a command prompt window. And check that the path variables are set by typing dir %JAVA_HOME% and hitting enter. It should show something like this:</p>
<p><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-05-122.png"><img class="aligncenter size-full wp-image-114" title="dir %JAVA_HOME%" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-05-122.png?w=497" alt=""   /></a></p>
<p>You can see that it says &#8220;Directory of &#8221; and then the folder you set the variable to. If it just appeared with something like &#8220;variable not found&#8221; or &#8220;unknown command&#8221; then close the command prompt window and go back to the section about environment variables and make sure they have all been done correctly. It&#8217;s also best to do dir %JC_HOME% as well to make sure there are no errors.</p>
<p>NOTE: If you just want to install the Java Card toolkit, you are now done. For all the rest that need to communicate with an emulator carry on to the next step.</p>
<p><strong>Step 3: Installing Sun&#8217;s Java Wireless Toolkit </strong></p>
<p>I was using the Java Wireless Toolkit 2.5.2 for CLDC, which can be downloaded from <a href="http://java.sun.com/products/sjwtoolkit/download.html">here</a>.</p>
<p>Just scroll down and there&#8217;s a link to download it, again choosing Windows from the drop down box and download the file. This can just be installed to a directory with no spaces and there are no variables that have to be created for this. The wireless toolkit has some handy utilities I used though they could just be used directly from netbeans, but either way the wireless toolkit has to be installed. So now onto&#8230;.</p>
<p><strong>Step 4: Installing netbeans </strong></p>
<p>The version you need for this is Netbeans 6.7.1, and a version that can work with Java ME. This is because the newer versions don&#8217;t work with versions of Java Card this old, but the wireless toolkit doesn&#8217;t work with newer versions of Java Card, so until the wireless toolkit is updated, you have to use all these old versions of everything else.</p>
<p>But back to the installing netbeans. The link is <a href="http://netbeans.org/downloads/6.7.1/index.html">here</a>. You need to choose a version that supports Java ME</p>
<div id="attachment_116" class="wp-caption aligncenter" style="width: 507px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-41-56.png"><img class="size-full wp-image-116" title="Netbeans 6.7.1 supported languages" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-41-56.png?w=497&#038;h=192" alt="" width="497" height="192" /></a><p class="wp-caption-text">You can see only the Java and All editions supports Java ME</p></div>
<p>Clearly only 2 versions, Java and All technologies bundles, support Java ME. So download one of these (best to just download All if you think you might need it again for C/C++ or something).</p>
<p>Then do a normal Windows install like any other program, netbeans can even be installed to the &#8216;Program Files&#8217; folder. Except you can do a customised installation if you don&#8217;t want to install things like the enterprise server bundles.</p>
<p>Once all this is installed you may have to go to new project and create a Java ME project to simply initialise J2ME on netbeans. But after this is done go to Tools (at the top) -&gt; Java Platforms and the Java Platform manager will appear and if Sun Java Wireless Toolkit isn&#8217;t in the J2ME folder, you need to click on &#8220;Add Platform&#8230;&#8221; at the bottom, then click on &#8220;Java ME MIDP Platform emulator&#8221; as Platform type</p>
<div id="attachment_117" class="wp-caption aligncenter" style="width: 507px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-51-31.png"><img class="size-full wp-image-117" title="Java Platform Type" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-51-31.png?w=497&#038;h=242" alt="" width="497" height="242" /></a><p class="wp-caption-text">Click the one second from the top</p></div>
<p>And then it will search for all Java ME platforms. When the directory for the wireless toolkit appears, make sure there is a tick next to it and click next and install.</p>
<p>Now you need to double click Sun Java Wireless toolkit in the left hand column of the Java Platform Manager and go to the Tools &amp; Extensions tab here and click on &#8220;Open Preferences&#8221;</p>
<div id="attachment_118" class="wp-caption aligncenter" style="width: 507px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-55-51.png"><img class="size-full wp-image-118" title="Tools &amp; extensions" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-55-51.png?w=497&#038;h=174" alt="" width="497" height="174" /></a><p class="wp-caption-text">Go to tools &amp; extensions then click open preferences</p></div>
<p>In Preferences you can choose which phone you want the emulator to look like. Then click Monitor in the left column and make sure &#8220;Enable Network Monitor&#8221; is checked as shown here:</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 355px"><a href="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-59-03.png"><img class="size-full wp-image-119" title="Preferences" src="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-59-03.png?w=497" alt=""   /></a><p class="wp-caption-text">Make sure you enable network monitoring</p></div>
<p>This will enable you to clearly see communication between the emulators to see for errors or just out of curiousity.</p>
<p>Now go to SATSA (on the left) and make sure slots 0 and 1 are 9025 and 9026 respectively.</p>
<p>And now everything is installed and ready to make a program (Next post) =D</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lavamunky.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lavamunky.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lavamunky.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=103&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lavamunky.wordpress.com/2010/05/24/installing-java-card-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">lavamunky</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/j2se-1-3-dl-screenshot.png" medium="image">
			<media:title type="html">J2SE 1.3 download</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/java-card-install-dest.png" medium="image">
			<media:title type="html">Java SDK 1.3 install destination</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/java-card-devkits.png" medium="image">
			<media:title type="html">Java card development kits</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/javacardbindirectory.png" medium="image">
			<media:title type="html">Java Card bin folder</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/my-computer-syst-info.png" medium="image">
			<media:title type="html">My Computer -&#62; System Information</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-44-19.png" medium="image">
			<media:title type="html">System properties</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-21-48-11.png" medium="image">
			<media:title type="html">Environment variables</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-02-16.png" medium="image">
			<media:title type="html">Start -&#62; run cmd</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-05-122.png" medium="image">
			<media:title type="html">dir %JAVA_HOME%</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-41-56.png" medium="image">
			<media:title type="html">Netbeans 6.7.1 supported languages</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-51-31.png" medium="image">
			<media:title type="html">Java Platform Type</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-55-51.png" medium="image">
			<media:title type="html">Tools &#38; extensions</media:title>
		</media:content>

		<media:content url="http://lavamunky.files.wordpress.com/2010/05/screen-shot-2010-05-24-at-22-59-03.png" medium="image">
			<media:title type="html">Preferences</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Card APDU format</title>
		<link>http://lavamunky.wordpress.com/2010/03/28/java-card-apdu-format/</link>
		<comments>http://lavamunky.wordpress.com/2010/03/28/java-card-apdu-format/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 22:38:23 +0000</pubDate>
		<dc:creator>lavamunky</dc:creator>
				<category><![CDATA[Java Card]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming is fun!!!]]></category>
		<category><![CDATA[Walkthrough]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[APDU]]></category>
		<category><![CDATA[APDU commands]]></category>
		<category><![CDATA[APDU format]]></category>
		<category><![CDATA[CLA]]></category>
		<category><![CDATA[INS]]></category>
		<category><![CDATA[Lc]]></category>
		<category><![CDATA[Le]]></category>
		<category><![CDATA[p1]]></category>
		<category><![CDATA[P2]]></category>

		<guid isPermaLink="false">http://lavamunky.wordpress.com/?p=96</guid>
		<description><![CDATA[My last post, about Java Card (the reason I&#8217;ve been so busy of late &#8211; spending 3 times as much work on my team project as most others, including many nights sleep lost) basically didn&#8217;t go over very well the whole format of the commands that you have to put into your script. This will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=96&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My last post, about Java Card (the reason I&#8217;ve been so busy of late &#8211; spending 3 times as much work on my team project as most others, including many nights sleep lost) basically didn&#8217;t go over very well the whole format of the commands that you have to put into your script.</p>
<p>This will be base knowledge you will need to know if you are going to be programming java Card and any program which may be interacting with some java card program.</p>
<p>(By the way, if you hadn&#8217;t already looked, APDU stands for Application Protocol Data Unit)</p>
<p>Basically the bytes are set up in the format:</p>
<p>CLA INS P1 P2 Lc Datafield Le</p>
<p>CLA: Class byte &#8211; this often refers to the actual application</p>
<p>INS: instruction byte &#8211; indicates the instruction code associated with the one in the java card program.</p>
<p>P1 &amp; P2 &#8211; parameters-  if needed for certain things, for instance with verification on a mobile phone, you can have a PIN and then a PUK if locked out. Having the same INS byte and a different parameter would make sense.</p>
<p>Lc- says how many bytes in the data field of the APDU command.</p>
<p>Le- the expected Lc of the response APDU command.</p>
<p>This is pretty easy stuff but you just have to remember it. But it will mean people who don&#8217;t know this will give you strange looks if you just tell them about it.</p>
<p>There is probably a lot you need to learn in a (more often than not) short space of time, and I know it sucks, but just get on with it.</p>
<p>I&#8217;m just trying to lend some help in this not too well documented programming language, and I personally had a lot of problems just setting up the environments with 2 postgraduates at hand for quite a while.</p>
<p>Hopefully I should be uploading a video soon of setting it up/running a quick program.</p>
<p>I&#8217;ve already made the video, but sound/text needs to be added, but it will be in depth, so will be around 20/30 mins long</p>
<p>Anyway, again, if you have any questions, just submit a comment.</p>
<p>Lavamunky</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lavamunky.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lavamunky.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lavamunky.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lavamunky.wordpress.com&amp;blog=5265552&amp;post=96&amp;subd=lavamunky&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lavamunky.wordpress.com/2010/03/28/java-card-apdu-format/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">lavamunky</media:title>
		</media:content>
	</item>
	</channel>
</rss>
