Added 'tizen certificate' command in Command Line Interface.
authorJihoon Song <jihoon.song@samsung.com>
Fri, 18 Sep 2015 07:24:32 +0000 (16:24 +0900)
committerJihoon Song <jihoon.song@samsung.com>
Wed, 30 Sep 2015 04:39:21 +0000 (13:39 +0900)
Change-Id: Ic0cea2964abdae31efee50ad34e0bc9b873e8c8f
Signed-off-by: Jihoon Song <jihoon.song@samsung.com>
org.tizen.devtools/html/native_tools/command_line_interface_n.htm
org.tizen.devtools/html/web_tools/command_line_interface_w.htm

index 38278f3..a2c2268 100644 (file)
@@ -38,6 +38,7 @@ export PATH=$PATH:$&lt;TIZEN_SDK_HOME&gt;/tools/ide/bin
 <li><a href="#tizen_create">Creating a project</a></li>
 <li><a href="#tizen_build">Building the project</a></li>
 <li><a href="#tizen_clean">Cleaning the project</a></li>
+<li><a href="#mw_certificate">Generating a Tizen certificate</a></li>
 <li><a href="#tizen_package">Packaging the project</a></li>
 <li><a href="#tizen_install">Installing the package</a></li>
 <li><a href="#tizen_uninstall">Uninstalling the package</a></li>
@@ -249,6 +250,62 @@ $ tizen clean -- /home/workspace/basic
 </pre></li></ul>
 </td>
         </tr>
+
+<!-- cert start -->
+   <tr id="tizen_certificate">
+     <td><!-- Command --><span style="font-family: Courier New,Courier,monospace">tizen certificate</span> </td>
+     <td><!-- Options --><pre class="prettyprint">tizen certificate [-a | --alias &ltAlias name&gt] [-p | --password &ltPassword&gt] [-c | --country &ltCountry Name&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-s | --state &ltState&gt] [-ct | --city &ltCity&gt] [-o | --organization &ltOrganization&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-u | --unit &ltOrganization Unit&gt] [-n | --name &ltYour Name&gt] [-e | --email &ltEmail&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-f | --filename &ltFilename&gt] [--]</pre>
+<ul>
+  <li><span style="font-family: Courier New,Courier,monospace;">-a, --alias</span>:<p><font color=red>Required</font>. Specifies an alias name of the certficiate.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-p, --password</span>:<p><font color=red>Required</font>. Specifies the key password of the user account.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-c, --country</span>:<p>Specifies user's country code which consists of two letters.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-s, --state</span>:<p>Specifies user's state.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-ct, --city</span>:<p>Specifies user's city.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-o, --organization</span>:<p>Specifies user's organization.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-u, --unit</span>:<p>Specifies user's organization unit.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-n, --name</span>:<p>Specifies user's name.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-e, --email</span>:<p>Specifies user's email.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-f, --filename</span>:<p>Specifies the filename without a file extension. A certificate file is created with the file name.</p><p>If you skip this option, '<span style="font-family: Courier New,Courier,monospace;">author</span>', the default of the file name, is used on creating the certificate file.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">--</span>:<p>Specifies the output directory path.</p><p>If you skip this option, '<span style="font-family: Courier New,Courier,monospace;">&ltSDK Data&gt/keystore/author/</span>', the default of the output directory path, is used on saving the certificate file.</p></li>
+</ul>
+     </td>
+     <td><!-- Description -->
+<p>Generates a Tizen certificate for your app.</p>
+<p>If you want to upload your app to the Tizen store or install the app to a Tizen device, you must generate your Tizen certificate.</p>
+     </td>
+     <td><!-- Example -->
+       <ul>
+         <li><p>Generates a certificate:</p>
+<pre class="prettyprint">
+$ tizen certificate -a MyTizen -p 1234 -c KR -s Seoul -ct Gangnamgu -o Tizen -u Development -n "Gildong Hong" -e gildonghong@example.org -f mycert
+Generating a certificate with
+  File name = mycert
+  Container Password = ****
+  Alias = MyTizen
+  Key Password = ****
+  Country = KR
+  State = Seoul
+  City = Gangnamgu
+  Name = Gildong Hong
+  Organization = Tizen
+  Organization Unit = Develop
+  E-mail = gildonghong@example.org
+'mycert' has been generated in '~/tizen-sdk-data/keystore/author'.
+
+$ ls ~/tizen-sdk-data/keystore/author
+mycert.p12
+</pre>
+<p>Or for Windows:</p>
+<pre class="prettyprint">&gt; tizen.bat certificate -a MyTizen -p 1234 -c KR -s Seoul -ct Gangnamgu -o Tizen -u Development -n "Gildong Hong" -e gildonghong@example.org -f mycert</pre>
+         </li>
+       </ul>
+     </td>
+   </tr>
+<!-- cert end -->
+
     <tr id="tizen_package"> 
      <td><span style="font-family: Courier New,Courier,monospace">tizen package</span> </td> 
      <td> 
index 255c3a0..7742165 100644 (file)
@@ -40,6 +40,7 @@ export PATH=$PATH:$&lt;TIZEN_SDK_HOME&gt;/tools/ide/bin
 <li><a href="#mw_create">Creating a project</a></li>
 <li><a href="#mw_build">Building the project</a></li>
 <li><a href="#mw_clean">Cleaning the project</a></li>
+<li><a href="#mw_certificate">Generating a Tizen certificate</a></li>
 <li><a href="#mw_package">Packaging the project</a></li>
 <li><a href="#mw_install">Installing the package</a></li>
 <li><a href="#mw_uninstall">Uninstalling the package</a></li>
@@ -244,6 +245,62 @@ $ tizen clean -- /home/workspace/basic
 </ul>
 </td>
         </tr>   
+
+<!-- cert start -->
+   <tr id="mw_certificate">
+     <td><!-- Command --><span style="font-family: Courier New,Courier,monospace">tizen certificate</span> </td>
+     <td><!-- Options --><pre class="prettyprint">tizen certificate [-a | --alias &ltAlias name&gt] [-p | --password &ltPassword&gt] [-c | --country &ltCountry Name&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-s | --state &ltState&gt] [-ct | --city &ltCity&gt] [-o | --organization &ltOrganization&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-u | --unit &ltOrganization Unit&gt] [-n | --name &ltYour Name&gt] [-e | --email &ltEmail&gt]
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-f | --filename &ltFilename&gt] [--]</pre>
+<ul>
+  <li><span style="font-family: Courier New,Courier,monospace;">-a, --alias</span>:<p><font color=red>Required</font>. Specifies an alias name of the certficiate.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-p, --password</span>:<p><font color=red>Required</font>. Specifies the key password of the user account.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-c, --country</span>:<p>Specifies user's country code which consists of two letters.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-s, --state</span>:<p>Specifies user's state.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-ct, --city</span>:<p>Specifies user's city.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-o, --organization</span>:<p>Specifies user's organization.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-u, --unit</span>:<p>Specifies user's organization unit.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-n, --name</span>:<p>Specifies user's name.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-e, --email</span>:<p>Specifies user's email.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">-f, --filename</span>:<p>Specifies the filename without a file extension. A certificate file is created with the file name.</p><p>If you skip this option, '<span style="font-family: Courier New,Courier,monospace;">author</span>', the default of the file name, is used on creating the certificate file.</p></li>
+  <li><span style="font-family: Courier New,Courier,monospace;">--</span>:<p>Specifies the output directory path.</p><p>If you skip this option, '<span style="font-family: Courier New,Courier,monospace;">&ltSDK Data&gt/keystore/author/</span>', the default of the output directory path, is used on saving the certificate file.</p></li>
+</ul>
+     </td>
+     <td><!-- Description -->
+<p>Generates a Tizen certificate for your app.</p>
+<p>If you want to upload your app to the Tizen store or install the app to a Tizen device, you must generate your Tizen certificate.</p>
+     </td>
+     <td><!-- Example -->
+       <ul>
+         <li><p>Generates a certificate:</p>
+<pre class="prettyprint">
+$ tizen certificate -a MyTizen -p 1234 -c KR -s Seoul -ct Gangnamgu -o Tizen -u Development -n "Gildong Hong" -e gildonghong@example.org -f mycert
+Generating a certificate with
+  File name = mycert
+  Container Password = ****
+  Alias = MyTizen
+  Key Password = ****
+  Country = KR
+  State = Seoul
+  City = Gangnamgu
+  Name = Gildong Hong
+  Organization = Tizen
+  Organization Unit = Develop
+  E-mail = gildonghong@example.org
+'mycert' has been generated in '~/tizen-sdk-data/keystore/author'.
+
+$ ls ~/tizen-sdk-data/keystore/author
+mycert.p12
+</pre>
+<p>Or for Windows:</p>
+<pre class="prettyprint">&gt; tizen.bat certificate -a MyTizen -p 1234 -c KR -s Seoul -ct Gangnamgu -o Tizen -u Development -n "Gildong Hong" -e gildonghong@example.org -f mycert</pre>
+         </li>
+       </ul>
+     </td>
+   </tr>
+<!-- cert end -->
+
     <tr id="mw_package"> 
      <td><span style="font-family: Courier New,Courier,monospace">tizen package</span> </td> 
      <td>