Settings services: Difference between revisions

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 27: Line 27:
| GetDeviceId_cmd+1 presumably? || GetDeviceCert (Returns the 0x240-byte DeviceCert)
| GetDeviceId_cmd+1 presumably? || GetDeviceCert (Returns the 0x240-byte DeviceCert)
|-
|-
| ? || GetTLSClientPrivk (Returns the encrypted TLS client-privk, outbuf_size = 0x134)
| ? || GetTLSClientPrivk
|-
|-
| GetTLSClientPrivk_cmd+1 presumably? || GetTLSClientCert (Returns the plaintext TLS client-cert, outbuf_size = 0x804)
| GetTLSClientPrivk_cmd+1 presumably? || GetTLSClientCert
|}
|}


Used for accessing data calibrated at the factory.
Used for accessing data calibrated at the factory.
== GetTLSClientPrivk ==
.Returns the encrypted TLS client-privk, outbuf_size = 0x134. Buf+0 is u32 size of the encrypted/plaintext data, +4 is the actual start of the encrypted data.
== GetTLSClientCert ==
Returns the plaintext TLS client-cert, outbuf_size = 0x804. Buf+0 is the u32 size of the actual cert, +4 is the actual start of the cert.


= set:sys =
= set:sys =

Revision as of 21:54, 26 June 2017

set

Cmd Name
0 GetLanguageCode
1 SetLanguageCode
3
4

set:fd

set:cal

Cmd Name
? GetDeviceId (Returns the 64bit DeviceId)
GetDeviceId_cmd+1 presumably? GetDeviceCert (Returns the 0x240-byte DeviceCert)
? GetTLSClientPrivk
GetTLSClientPrivk_cmd+1 presumably? GetTLSClientCert

Used for accessing data calibrated at the factory.

GetTLSClientPrivk

.Returns the encrypted TLS client-privk, outbuf_size = 0x134. Buf+0 is u32 size of the encrypted/plaintext data, +4 is the actual start of the encrypted data.

GetTLSClientCert

Returns the plaintext TLS client-cert, outbuf_size = 0x804. Buf+0 is the u32 size of the actual cert, +4 is the actual start of the cert.

set:sys