ACKED online by edewata and cfu.
Pushed to master.
----- Original Message -----
 From: "John Magne" <jmagne(a)redhat.com>
 To: "pki-devel" <pki-devel(a)redhat.com>
 Sent: Wednesday, April 30, 2014 12:50:01 PM
 Subject: <pki-devel><PATCH> 0011-Support-for-Applet-Upgrade-and-Format.patch
 
 Support for Applet Upgrade and Format.
 
 Tickets: #875, #895
     
     The following changes have been done:
     
     1. Applet Upgrade for real token. The applet is written and an instance
     of applet created.
     2. 95% of the format operation done. This includes proper status update
     progreass bar
     for esc and writing the phone home url to the token. Once this operation
     is complete,
     the token can be entered into esc and esc will be able to phone home and
     point to TPS
     for further operations such as enrollment and pin reset when they are
     implemented.
     3. The phoneHome xml file changed slightly to prevent esc from reading
     exttraneous line
     feeds when phoning home.
     4. The CS.cfg has been changed to correctly reflect the phone home url we
     want to write to
     the token.
     
     The following to be done to fully finish format, later tickets.
     
     1.Updating the tokendb with tne newly formatted token. Future ticket.
     2.Revoking tokens current certificates, if any. Future ticket.
     3.Symmetric Key changeover. Future ticket.