<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: JC101-6C: Specifying the APDU&#8217;s</title>
	<atom:link href="http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/feed/" rel="self" type="application/rss+xml" />
	<link>http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/</link>
	<description>A weblog on Java Card, security, and other things personal</description>
	<lastBuildDate>Thu, 18 May 2017 07:26:32 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.32</generator>
	<item>
		<title>By: Eric VÃ©tillard</title>
		<link>http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3159</link>
		<dc:creator><![CDATA[Eric VÃ©tillard]]></dc:creator>
		<pubDate>Tue, 25 Mar 2008 14:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3159</guid>
		<description><![CDATA[Dammit! 10 years in the smart card industry, and I still can&#039;t write a TLV correctly ... I did fix it, though.]]></description>
		<content:encoded><![CDATA[<p>Dammit! 10 years in the smart card industry, and I still can&#8217;t write a TLV correctly &#8230; I did fix it, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yalcin Akdogan</title>
		<link>http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3158</link>
		<dc:creator><![CDATA[Yalcin Akdogan]]></dc:creator>
		<pubDate>Tue, 25 Mar 2008 11:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3158</guid>
		<description><![CDATA[Excellent tutorial. Thank you very much.

just one correction ! 
On TLV: length of F1 and F2 are changed.

F1 03 48 6F 6D 65 F2 04 62 6F 62 F3 04 70 61 73 73

correct TLV:
F1 04 48 6F 6D 65 F2 03 62 6F 62 F3 04 70 61 73 73

Best regards.]]></description>
		<content:encoded><![CDATA[<p>Excellent tutorial. Thank you very much.</p>
<p>just one correction !<br />
On TLV: length of F1 and F2 are changed.</p>
<p>F1 03 48 6F 6D 65 F2 04 62 6F 62 F3 04 70 61 73 73</p>
<p>correct TLV:<br />
F1 04 48 6F 6D 65 F2 03 62 6F 62 F3 04 70 61 73 73</p>
<p>Best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric VÃ©tillard</title>
		<link>http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3135</link>
		<dc:creator><![CDATA[Eric VÃ©tillard]]></dc:creator>
		<pubDate>Thu, 24 Jan 2008 21:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3135</guid>
		<description><![CDATA[At the ISO7816-4 layer, Lr is for me part of the response. Of course, depending on the protocol, it will be transmitted in various ways (like SW1 and SW2). This is also why I did not put it in gray (it does not have to be in the APDU buffer).

About security, don&#039;t worry, it will come later. I never said that this spec was the final one...

About design, I am trying to avoid getting in big smart card debates. I hesitated a while before writing this post, because it is not Java enough for me. Now, I would admit that it is a good idea to return information on SELECT, but this goes beyond what I want to do in this tutorial.

Finally, about status words, I am not sure what you mean. I have reused status words defined in the ISO7816-4 spec, on top of the T=0 protocol, and I don&#039;t see any conflict.]]></description>
		<content:encoded><![CDATA[<p>At the ISO7816-4 layer, Lr is for me part of the response. Of course, depending on the protocol, it will be transmitted in various ways (like SW1 and SW2). This is also why I did not put it in gray (it does not have to be in the APDU buffer).</p>
<p>About security, don&#8217;t worry, it will come later. I never said that this spec was the final one&#8230;</p>
<p>About design, I am trying to avoid getting in big smart card debates. I hesitated a while before writing this post, because it is not Java enough for me. Now, I would admit that it is a good idea to return information on SELECT, but this goes beyond what I want to do in this tutorial.</p>
<p>Finally, about status words, I am not sure what you mean. I have reused status words defined in the ISO7816-4 spec, on top of the T=0 protocol, and I don&#8217;t see any conflict.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lexdabear</title>
		<link>http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3131</link>
		<dc:creator><![CDATA[lexdabear]]></dc:creator>
		<pubDate>Wed, 23 Jan 2008 11:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://javacard.vetilles.com/2008/01/15/jc101-6c-specifying-the-apdus/#comment-3131</guid>
		<description><![CDATA[Good to see to see the process of a JC Applet interface definition from the beginning to the end.

Some remarks:
- I do not understand the reasoning behind Lr in the response. The application must set the offset and length of the APDU buffer in the APDU.sendBytes() anyway. Besides having always a data field  (to stay consistent: no data means Lr = 0) the data field length is reduced by one byte.
- You mention that this is purely functional, without security features, but .. I think it should always be forbidden to retrieve secret data like keys, or in this example the password itself.
- Do you think it&#039;s a good design that an applet provides information about it&#039;s capabilities in the response to the SELECT APDU? For example the file control information could include the commands supported and the methods behind it.
- I would add that the application developer has to be aware of status words which might conflict with the ones already defined in ISO 7816 or JCRE (e.g. T=0 protocol handling).]]></description>
		<content:encoded><![CDATA[<p>Good to see to see the process of a JC Applet interface definition from the beginning to the end.</p>
<p>Some remarks:<br />
&#8211; I do not understand the reasoning behind Lr in the response. The application must set the offset and length of the APDU buffer in the APDU.sendBytes() anyway. Besides having always a data field  (to stay consistent: no data means Lr = 0) the data field length is reduced by one byte.<br />
&#8211; You mention that this is purely functional, without security features, but .. I think it should always be forbidden to retrieve secret data like keys, or in this example the password itself.<br />
&#8211; Do you think it&#8217;s a good design that an applet provides information about it&#8217;s capabilities in the response to the SELECT APDU? For example the file control information could include the commands supported and the methods behind it.<br />
&#8211; I would add that the application developer has to be aware of status words which might conflict with the ones already defined in ISO 7816 or JCRE (e.g. T=0 protocol handling).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
