SetRootCa

nn::boss::TaskActionBase::SetRootCa Member Function

Syntax

nn::Result SetRootCa(
     u32 inCaCertId
);

Parameters

Name Description
in inCaCertId Built-in CA certificate ID.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Set successfully.
ResultInvalidMaxRootCa The number of root CAs exceeds the maximum that can be set.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Sets a built-in root certificate for use.

It can be used alongside a private root certificate. You do not normally need to use this function to set a certificate unless you are using a data upload task.
(The BOSS library automatically sets the required root certificate.)
Contact Nintendo if you are using a data upload task and you want to use a special built-in root certificate.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL