Line 56: |
Line 56: |
| |- | | |- |
| | 0x0 | | | 0x0 |
− | | RSA_4096 ? | + | | RSA_4096 |
| |- | | |- |
| | 0x1 | | | 0x1 |
Line 62: |
Line 62: |
| |- | | |- |
| | 0x2 | | | 0x2 |
− | | Elliptic Curve ? | + | | Elliptic Curve |
| |} | | |} |
| === RSA === | | === RSA === |
− | This contains the Public Key(i.e. Modulus & Public Exponent). For RSA-2048 public keys, this section is as follows: | + | This contains the Public Key(i.e. Modulus & Public Exponent) |
| | | |
| + | ==== 4096 Bit ==== |
| + | {| class="wikitable" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x200 |
| + | | Modulus |
| + | |- |
| + | | 0x200 |
| + | | 0x4 |
| + | | Public Exponent |
| + | |- |
| + | | 0x204 |
| + | | 0x34 |
| + | | Padding |
| + | |} |
| + | |
| + | ==== 2048 Bit ==== |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
Line 83: |
Line 104: |
| | 0x104 | | | 0x104 |
| | 0x34 | | | 0x34 |
| + | | Padding |
| + | |} |
| + | |
| + | === ECC === |
| + | This contains the ECC public key, and is as follows: |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x3C |
| + | | Public Key |
| + | |- |
| + | | 0x3C |
| + | | 0x3C |
| | Padding | | | Padding |
| |} | | |} |