nn::http::CertStore::RegisterCert Member Function

Syntax

nn::Result RegisterCert(
     InternalCaCertId inCaCertName,
     CertId * pCertIdCourier = NULL
);

Arguments

Name Description
in inCaCertName The target device's built-in CA certificate. (The SSL library's nn::ssl::InternalCaCert value.)
out pCertIdCourier Used when unregistering a specific individual certificate by its ID (using the UnRegisterCert function). If this argument is not needed (such as when there is no need to unregister individual certificates; releasing a CertStore object unregisters all of its certificates at once), this can be left unspecified.

Return Values

Returns the result of the operation.

Description

Registers internal device CA certificates. Call this function multiple times to register multiple certificates.


CONFIDENTIAL