Settings services: Difference between revisions

Line 26: Line 26:
| GetDeviceId_cmd+1 presumably? || GetDeviceCert (Returns the 0x240-byte DeviceCert)
| GetDeviceId_cmd+1 presumably? || GetDeviceCert (Returns the 0x240-byte DeviceCert)
|-
|-
| ? || GetTLSClientPrivk
| 16 || GetTLSClientPrivk
|-
|-
| GetTLSClientPrivk_cmd+1 presumably? || GetTLSClientCert
| 17 || GetTLSClientCert
|}
|}


Line 34: Line 34:


== GetTLSClientPrivk ==
== 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.
Takes a type-0x16 output buffer with fixed size 0x134.
 
Returns the encrypted TLS client-privk. Buf+0 is u32 size of the encrypted/plaintext data, +4 is the actual start of the encrypted data.


== GetTLSClientCert ==
== 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.
Takes a type-0x16 output buffer with fixed size 0x804.
 
Returns the plaintext TLS client-cert Buf+0 is the u32 size of the actual cert, +4 is the actual start of the cert.


= set:sys =
= set:sys =