<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    First of all, this is a first cut so I am not going to be overly
    critical of little details as things will change and start to take
    form as we go on.<br>
    <br>
    My comments are on some overall things:<br>
    * I see most everything are sticking to what we planned, that is,
    close to the old tps.  That's good.  it helps make things move
    faster.<br>
    * Nothing you (Jack) need to do now, but it's a reminder for Endi
    per our agreement on irc, you are to move your stuff under the
    directories we agreed upon.  Once Jack checks in his stuff, the tps
    directory is getting really messy, and your stuff have names that
    are misleading<br>
    <br>
    Anyway, great Job on the first cut TPS rewrite.  My feeling is as
    long as it doesn't mess up anything ( not much additional Eclipse
    warnings unless absolutely necessary, etc.), it compiles and does
    what you claimed to do, its fine.<br>
    <br>
    Jack just gave me a quick demo too.  ACK.<br>
    <br>
    Christina<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/26/2014 07:22 PM, John Magne
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1453808642.19836059.1393471325694.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">First cut at Java TPS Buffer class and APDU classes.

1. Also simple framework for working with APDU commands.
2. Implemented a few APDU commands in TPS_Processor class.
3. Can now attempt a format operation with TPS client.
   The code can perform a few apdu's talking to the client
   and return a success "EndOp" apdu to terminate the conversation.
4. APDU are being encoded/decoded properly to appease tpsclient.

More info.

1. Patch is large but most of it consists of many similar apdu and msg classes.
2. APDU and msg classes are now bare bones and may need more work. Will address when class is needed.
3. A test tpsclient script call it (format.tst) to test this out is as follows:

op=var_set name=ra_host value=localhost
op=var_set name=ra_port value=8080
op=var_set name=ra_uri value=/tps/tps
op=token_set cuid=40906145C76224192D2B msn=0120304 app_ver=6FBBC105 key_info=0101 major_ver=1 minor_ver=1
op=token_set auth_key=404142434445464748494a4b4c4d4e4f
op=token_set mac_key=404142434445464748494a4b4c4d4e4f
op=token_set kek_key=404142434445464748494a4b4c4d4e4f
op=ra_format uid=jmagne pwd=redhat new_pin=rehat num_threads=1
op=exit

4: Execute as follows:

tpsclient < format.tst
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>