Changes

Jump to navigation Jump to search
1,022 bytes added ,  14:53, 8 September 2017
no edit summary
| 12 || GetBatteryLot
|-
| 14 || GetDeviceCertECC[[#GetDeviceCert]]
|-
| 15 || GetETicketCertRSA[[#GetETicketCert]]
|-
| 16 || [[#GetSslKey]]
|-
| 17 || [[#GetSslCert]]
|-
| 18 || GetGamecardKey[[#GetGameCardKey]]
|-
| 19 || GetGamecardCert[[#GetGameCardCert]]
|-
| 20 || GetDeviceKeyECC[[#GetDeviceKey]]
|-
| 21 || GetETicketKeyRSA[[#GetETicketKey]]
|-
| 22 || GetSpeakerCalibrationValues
Used for accessing data calibrated at the factory.
== GetDeviceCertECC GetDeviceCert ==
Takes a type-0x16 output buffer with fixed size 0x180.
Returns the DeviceCertdevice certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.
== GetETicketCertRSA GetETicketCert ==
Takes a type-0x16 output buffer with fixed size 0x240.
Same as GetDeviceCertECC, except this returns more data and Returns the data starts differing at offset 0x108 compared to GetDeviceCertETicket certificate (RSA signed).
== GetSslKey ==
Takes a type-0x16 output buffer with fixed size 0x134.
Returns a container-structure for the encrypted TLS client-privkextended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. Decrypting this fails unless an unknown size >0x134 If the extended key is passed not programmed then it falls back to this setcal cmd?the normal SSL key (0x110 bytes).
Used by SSL-sysmodule, see [[SSL_services|here]].
Takes a type-0x16 output buffer with fixed size 0x804.
Returns a [[Settings_services#setcal_Container_Structure|container-structure for ]] with the plaintext TLS client-certSSL certificate.
Used by SSL-sysmodule, see [[SSL_services|here]].
== GetGameCardKey ==Takes a type-0x16 output buffer with fixed size 0x134. Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes). == GetGameCardCert ==Takes a type-0x16 output buffer with fixed size 0x404. Returns a [[Settings_services#setcal_Container_Structure|container]] with the GameCard certificate. == GetDeviceKey ==Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes). == GetETicketKey ==Takes a type-0x16 output buffer with fixed size 0x244. Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes). == setcal Container Structure ===
{| class="wikitable" border="1"
|-
| Actual data starts here.
|}
 
This container is used for returning data with variable sizes.
= set:sys =
! Cmd || Name
|-
| 3 || [[#GetSystemVersion]]
|-
| 37 || QuerySetting
|-
| 38 || [[#ReadSetting]]
|-
| 56 || [[Flash_Filesystem#PRODINFOF|GetWirelessCertification]]
|-
| 62 || [[#GetDebugMode]]
|-
| 68 || [[#GetSerialNumber]]
|}

Navigation menu