nn::http::ClientCert::Initialize Member Function

Syntax

nn::Result Initialize(
     InternalClientCertId inClientCertName
);

Arguments

Name Description
in inClientCertName The target device's built-in client certificate. (The SSL library's nn::ssl::InternalClientCert value.)

Return Values

Returns the function's execution result. Returns a Result listed below.
Value Description
ResultSuccess Process was successful.
nn::ssl::ResultProtocolFailedErr Error indicating failure to register a certificate. The function returns this value in cases such as when the total number of certificates registered by the SSL library has reached the maximum allowed by the system. Unregistering a locally registered certificate or trying again later (provided another module unregisters a certificate in the meantime) may succeed.
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).

Description

Registers a device's internal client certificate and initializes the client certificate.


CONFIDENTIAL