#define NWC24_DL_ROOTCA_ID_NINTENDO_0 (0)
#define NWC24_DL_ROOTCA_ID_NINTENDO_1 (1)
#include <revolution/nwc24.h>
NWC24Err NWC24SetDlRootCA( NWC24DlTask* taskPublic, u8 rootCaId );
Sets ID of trusted Root CA when executing download task. The Root CA is used to validate the server certificate when an https connection is made.(This Root CA is not utilized when the http:// URL is specified by NWC24SetDlUrl.)
The default value is NWC24_DL_ROOTCA_ID_NINTENDO_0. Only change this value under special circumstances.
taskPublic |
Pointer to the download task. |
rootCaId |
ID of the RootCA. |
NWC24_OK: Ended normally.
NWC24_ERR_LIB_NOT_OPENED: The library has not been opened.
NWC24_ERR_INVALID_VALUE: The value of either taskPublic or rootCaId is invalid.
2007/09/20 Added text about the value that is set.
2007/07/25 Initial version.
CONFIDENTIAL