1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nn::boss::NsaDownloadAction</title>
51  </head>
52  <body>
53    <h1><CODE>nn::boss::NsaDownloadAction</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class NsaDownloadAction : public <a href="../../../nn/boss/TaskAction/Overview.html">nn::boss::TaskAction</a></pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>Class for representing NADL tasks. Use this to do such things as register NADL tasks. (* There are notes regarding use with SDK version 0.13.)</p><p>NADL tasks are tasks to download data via HTTP/HTTPS from a BOSS data server. You must register data to be downloaded by applications to a BOSS data server. Data registered to a BOSS data server is converted to the Nintendo archive (NS archive) proprietary format. NS archives can contain multiple data files, so register multiple files together to a BOSS server to have those files downloaded as a single task (such as application data, related notification data, and other files). The individual data files (NS data) included in an NS archive are all encrypted, signed, and hashed.<br /><br /> Downloaded data is unencrypted and verified by the BOSS library, and problem-free NS data is then passed on to the target applications. Applications that use NADL tasks to receive NS data must register BOSS storage (a memory region dedicated to BOSS data, created in the extended save data memory region). Applications can read the data delivered to BOSS storage via the BOSS library.<br /><br /> SDK 0.13 Notes<br />- When using NADL tasks with SDK 0.13, you must create a <CODE>boss</CODE> folder at the root of an SD Card. (Provisional measure until the file system fully supports BOSS storage. The <CODE>boss</CODE> daemon uses this folder as BOSS storage.)<br /> - With this provisional measure, the <CODE>boss</CODE> folder on the SD Card is used as shared BOSS storage for all applications.<br /> Consequently, when registering NADL tasks from multiple applications, you must use NS data serial IDs that are unique among all applications (in other words, make sure no NS data has duplicate serial IDs).<br /> (Otherwise, data with duplicate serial IDs is viewed as the same data, and the download data for one application might be overwritten with the download data for another application. Once the file system fully supports BOSS storage, serial IDs must only be unique to each specific application. Different applications can then use the same serial IDs for NS data without causing problems.)<br /></p><!-- write here --></div>
61    <a name="function" id="function">
62      <h2>Member Functions</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <td width="100">  </td>
67            <th>
68              <a href="../../../nn/boss/NsaDownloadAction/NsaDownloadAction.html"><CODE>NsaDownloadAction</CODE></a>
69            </th>
70            <td>Constructor.</td>
71          </tr>
72          <tr>
73            <td width="100"> <span class="virtual_style" title="virtual">V</span>
74            </td>
75            <th>
76              <a href="../../../nn/boss/NsaDownloadAction/~NsaDownloadAction.html"><CODE>~NsaDownloadAction</CODE></a>
77            </th>
78            <td>Destructor.</td>
79          </tr>
80          <tr>
81            <td width="100">  </td>
82            <th>
83              <a href="../../../nn/boss/NsaDownloadAction/Initialize.html"><CODE>Initialize</CODE></a>
84            </th>
85            <td>Configures NSA download settings.</td>
86          </tr>
87          <tr>
88            <td width="100"> <span class="virtual_style" title="virtual">V</span>
89            </td>
90            <th>
91              <a href="../../../nn/boss/NsaDownloadAction/SetProperty.html"><CODE>SetProperty</CODE></a>
92            </th>
93            <td>Sets a property value in a task. Can be used for the following properties.<br /> Identifier type <br /> <CODE>ACTION_URL char url[MAX_URL_LENGTH]</CODE> <br /> <CODE>ACTION_AP_INFO u8</CODE> <br /> <CODE>ACTION_HTTP_HEADER struct httpRequestHeader[MAX_HTTP_HEADER]</CODE> <br /> <CODE>ACTION_CLIENT_CERT u8</CODE> <br /> <CODE>ACTION_ROOT_CA u8</CODE> <br /></td>
94          </tr>
95          <tr>
96            <td width="100"> <span class="virtual_style" title="virtual">V</span>
97            </td>
98            <th>
99              <a href="../../../nn/boss/NsaDownloadAction/GetProperty.html"><CODE>GetProperty</CODE></a>
100            </th>
101            <td>Gets a property value from the class. Can be used for the following properties.<br /> Identifier type <br /> <CODE>ACTION_URL char url[MAX_URL_LENGTH]</CODE> <br /> <CODE>ACTION_AP_INFO u8</CODE> <br /> <CODE>ACTION_HTTP_HEADER struct httpRequestHeader[MAX_HTTP_HEADER]</CODE> <br /> <CODE>ACTION_CLIENT_CERT u8</CODE> <br /> <CODE>ACTION_ROOT_CA u8</CODE> <br /></td>
102          </tr> </table>
103      </div>
104    </a>
105    <h2>Class Hierarchy</h2>
106    <div class="section">
107      <p class="hierarchy"><a href="../../../nn/boss/TaskActionBase/Overview.html">nn::boss::TaskActionBase</a><br />  <a href="../../../nn/boss/TaskAction/Overview.html">nn::boss::TaskAction</a><br />    <b>nn::boss::NsaDownloadAction</b>
108      </p>
109    </div>
110    <h2>Revision History</h2>
111    <div class="section">
112      <dl class="history">
113        <dt>2010/09/16</dt>
114        <dd>Initial version.<br />
115        </dd>
116      </dl>
117    </div>
118  <hr><p>CONFIDENTIAL</p></body>
119</html>