Overview
Certificates contain cryptography information for verifying Signatures. These certificates are also signed.
Each certificate follows the following format:
| Description
|
| Signature Data
|
| Certificate Info
|
| Key Data
|
Signature Data
| Offset
|
Size
|
Description
|
| 0x0
|
0x4
|
Signature Type
|
| 0x4
|
Depends on Signature Type
|
Signature
|
| From end of Signature
|
0x3C
|
Padding
|
Signature Type
| Value
|
Signature Method
|
| 0x00010000
|
RSA-4098 SHA1
|
| 0x00010001
|
RSA-2048 SHA1
|
| 0x00010003
|
RSA-4098 SHA256
|
| 0x00010004
|
RSA-2048 SHA256
|
Certificate Info
| Offset
|
Size
|
Description
|
| 0x0
|
0x40
|
Issuer
|
| 0x40
|
0x4
|
Tag?
|
| 0x44
|
0x40
|
Name
|
| 0x84
|
0x4
|
Unknown
|
Key Data
RSA
This contains the Public Key(i.e. Modulus & Public Exponent). For RSA-2048 public keys, this section is as follows:
| Offset
|
Size
|
Description
|
| 0x0
|
0x100
|
Modulus
|
| 0x100
|
0x4
|
Public Exponent
|
| 0x104
|
0x34
|
Padding
|