Line 13:
Line 13:
| 0x000
| 0x000
| 4
| 4
−
| Signature type
+
| Signature type (always 0x10001 for RSA-2048 w/ SHA-1)
|-
|-
| 0x004
| 0x004
Line 157:
Line 157:
| 0x124
| 0x124
| 4
| 4
−
| Tag
+
| Public Key Type
|-
|-
| 0x128
| 0x128
Line 163:
Line 163:
| Name
| Name
|-
|-
−
| 0x168
+
| 0x12C
+
| 4
+
| Date
+
|-
+
| 0x16C
|
|
−
| Key
+
| Public Key
|}
|}
Line 243:
Line 247:
u8 sig[256]; // 256 for RSA_2048, 512 for RSA_4096
u8 sig[256]; // 256 for RSA_2048, 512 for RSA_4096
u8 issuer[32];
u8 issuer[32];
−
u32 tag; // identifies what is being signed
+
u32 key_type; // the type of public key
u8 name[64]; // name of thing being signed
u8 name[64]; // name of thing being signed
u8 key[...];
u8 key[...];