<p>To define the header file and privileges required to use the key manager:</p>
<ol>
-<li><p>To use the Key Manager privileged API, declare the <span style="font-family: Courier New,Courier,monospace;">http://tizen.org/privilege/keymanager</span> privilege in the <span style="font-family: Courier New,Courier,monospace;"><package name>.xml</span> file of the application package.</p></li>
+<li><p>To use the Key Manager privileged API, declare the <span style="font-family: Courier New,Courier,monospace;">http://tizen.org/privilege/keymanager</span> privilege in the <span style="font-family: Courier New,Courier,monospace;"><tizen-manifest.xml></span> file of the application package.</p></li>
<li><p>To use the functions and data types of the Key Manager API (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__KEY__MANAGER__MODULE.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__KEY__MANAGER__MODULE.html">wearable</a> applications), include the <span style="font-family: Courier New,Courier,monospace"><ckmc/ckmc-manager.h></span> header file in your application:</p>
<pre class="prettyprint">
#include <ckmc/ckmc-manager.h>
int ret = CKMC_ERROR_NONE;
ckmc_cert_s *pcert;
-const char *file_name = "/tmp/ckmc_test_cert.pem";
+const char *file_name = "<defined_media_storage_directory>/ckmc_test_cert.pem"; // defined_media_storage_directory can be obtained through storgae_get_directory() api
ret = ckmc_load_cert_from_file(file_name, &pcert);
if (CKMC_ERROR_NONE != ret)
ckmc_key_s *private_key = NULL;
ckmc_cert_s *cert = NULL;
ckmc_cert_list_s *ca_cert_list = NULL;
-const char *p12file = "/tmp/ckmc_p12_test.p12";
+const char *p12file = "<defined_media_storage_directory>/ckmc_p12_test.p12"; // defined_media_storage_directory can be obtained through storgae_get_directory() api
const char *password = "password"; // PKCS#12 file can be protected by a password
ret = ckmc_load_from_pkcs12_file(p12file, password, &private_key, &cert, &ca_cert_list);
</script>
</body>
- </html>
\ No newline at end of file
+ </html>