Certificates: Difference between revisions
No edit summary |
Unknown parameter has use on CTCert Certificates |
||
(One intermediate revision by one other user not shown) | |||
Line 32: | Line 32: | ||
| 0x88 + X | | 0x88 + X | ||
| 0x4 | | 0x4 | ||
| | | Expiration time as UNIX Timestamp, used at least for [[CTCert]] | ||
|- | |- | ||
| 0x8C + X | | 0x8C + X | ||
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) | 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 | ||
|} | |} |