nn::http::Connection::SetClientCert Member Functionnn::Result SetClientCert( InternalClientCertId inClientCertName );
| Name | Description | |
|---|---|---|
| in | inClientCertName | The target device's built-in client certificate. (The SSL library's nn::ssl::InternalClientCert value.) |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultCertExistErr |
Error indicating that another client certificate has already been configured using this function. To configure a different client certificate, first call the Finalize function, and then call Initialize again. |
ResultInvalidParamErr |
Error indicating an invalid parameter. Specify valid values for all parameters and call this function again. |
ResultNotConnectedErr |
Error indicating that no target URL was assigned to the Connection object. No action is performed because the Connection object has not been initialized by a successful call of Initialize. |
ResultNotInitializedErr |
Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize. |
| A value other than the above. | Unexpected error (See http_Result.h for details). |
Sets a device built-in client certificate.
CONFIDENTIAL