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<title>SetClientCert</title>
8  </head>
9  <body>
10<h1><CODE>nn::http::Connection::SetClientCert</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/Result/Overview.html">nn::Result</a> SetClientCert(
15     const u8 * pCertData,
16     size_t certDataSize,
17     const u8 * pPrivateKeyData,
18     size_t privateKeyDataSize
19);
20<a href="../../../nn/Result/Overview.html">nn::Result</a> SetClientCert(
21     <a href="../../../nn/http/InternalClientCertId.html">InternalClientCertId</a> inClientCertName
22);
23<a href="../../../nn/Result/Overview.html">nn::Result</a> SetClientCert(
24     <a href="../../../nn/http/ClientCert/Overview.html">ClientCert</a> & clientCert
25);
26</pre>
27    </div>
28<h2>List of Overloaded Member Functions</h2>
29    <div class="section">
30      <table class="members">
31        <tr>
32          <td>
33<a href="./SetClientCert(0).html"><CODE>SetClientCert(const u8 *, size_t, const u8 *, size_t)</CODE> </a>
34          </td>
35<td>Sets a client certificate based on certificate and private key data.</td>
36        </tr>
37        <tr>
38          <td>
39<a href="./SetClientCert(1).html"><CODE>SetClientCert(InternalClientCertId)</CODE> </a>
40          </td>
41<td>Sets device internal client certificate.</td>
42        </tr>
43        <tr>
44          <td>
45<a href="./SetClientCert(2).html"><CODE>SetClientCert(ClientCert &)</CODE> </a>
46          </td>
47<td>Sets the client certificate using a <CODE>ClientCert</CODE> instance. (Use this to reuse the same client certificate with multiple HTTPS communication sessions. ) Do not release the configured certificate during HTTPS communication with the communication targets.</td>
48        </tr> </table>
49    </div>
50<h2>Description of <CODE>SetClientCert(const u8 *, size_t, const u8 *, size_t)</CODE></h2>
51    <div class="section">
52<p>Sets a client certificate based on certificate and private key data.</p>
53    </div>
54<h2>Description of <CODE>SetClientCert(InternalClientCertId)</CODE></h2>
55    <div class="section">
56<p>Sets device internal client certificate.</p>
57    </div>
58<h2>Description of <CODE>SetClientCert(ClientCert &)</CODE></h2>
59    <div class="section">
60<p>Sets the client certificate using a <CODE>ClientCert</CODE> instance. (Use this to reuse the same client certificate with multiple HTTPS communication sessions. ) Do not release the configured certificate during HTTPS communication with the communication targets.</p>
61    </div>
62  <hr><p>CONFIDENTIAL</p></body>
63</html>
64