Exetools  

Go Back   Exetools > General > Source Code

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-31-2019, 05:31
debugasm debugasm is offline
Friend
 
Join Date: Oct 2017
Posts: 14
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 11
Thanks Rcvd at 35 Times in 8 Posts
debugasm Reputation: 1
Lightbulb Raw interpretation of x.509 ...

Hi,

after some research I managed to interpret a x.509 certificate manually.

30 82 01 0a ; SEQUENCE (0x010A bytes: 266 bytes)
| 02 82 01 01 ; INTEGER (0x0101 bytes: 257 bytes)
| | 00 ; leading zero because high-bit, but number is positive
| | E0 0B CE C1 D1 8E EA 0D B7 EB C8 F3 C4 58 24
| | B6 2E D7 B8 06 6F 74 0D DE 4C 0F 6F E9 A8 7F 9B D4 35 78 BF FB C4 07 C9
| | 79 FD ED 3A 6F 71 0D 7E A6 CD F2 F3 E4 BC 3F A5 63 A0 D7 05 3F EF 7A DC
| | A1 83 32 71 E7 0E E9 B1 35 7D B4 CF C8 51 9C 92 63 B8 C0 F5 78 68 87 74
| | BE 3F C6 5B E4 7A 5C 2C 47 70 89 1C C7 65 CE C1 55 CE C1 B5 CC FB F3 69
| | BA 7F 39 07 2F 76 0E 5E E6 1C BC CA 39 78 83 9C C0 1B C9 F9 D7 DD 3A F7
| | 73 0D DE E3 1A BC CF F3 E2 03 F4 FF 8D 79 DA 86 9E 17 9F F0 BC F8 8C E7
| | C5 CF 3A 13 3F EF 4C 1C DC C6 7D 7F 81 5E 7B B9 4D 39 B8 FB 6D CA C1 79
| | B7 29 07 0F BF 4D 39 B8 F4 36 E5 E0 F2 DB 38 47 7D 48 F7 3B D7 E0 39 AE
| | C1 75 B7 69 1D F1 42 E6 FD E4 67 B5 5F 79 5E BC 00 0D 92 C0 DA F3 E2 B5
| | 9E 17 6F 70 26 DE EE B9 F0 CE DB 38 E6 7C 47 DB C7 39 F8 88 73 F0 69 E7
| | 96
| 02 03 ; INTEGER (3 bytes)
| 01 00 01

giving the public key modulus and exponent:

modulus = 0xE00BCEC1D18EEA0DB7EBC8F3C45824...69E796
exponent = 65537

debugasm
Reply With Quote
The Following User Says Thank You to debugasm For This Useful Post:
Indigo (07-19-2019)
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 14:00.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )