Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is the signature value encoded? #27

Open
dslsmy opened this issue Oct 2, 2023 · 0 comments
Open

How is the signature value encoded? #27

dslsmy opened this issue Oct 2, 2023 · 0 comments

Comments

@dslsmy
Copy link

dslsmy commented Oct 2, 2023

The signature value e.g., ut4t+t+vs8ibsc4zncmvk6huidj0fmbfdlm48hawqjy2rmmvhjqn6unxywn/ofpekotvqwtd6zkun1kaeg/4yql4fpvefzofgqf6yti4av5b6kp96gg60g7xsb2ojjxzdzo7c4mxa7g8yxbdmfnjj5us5i0ayj7gsbtxzwd4new= output by ZCertificate is different from that e.g., ba:de:13:f9:3f:af:4b:c2:01:48:2e:33:9c:23:15:93:a1:d4:21:d8:f4:14:c0:5f:0e:53:38:f2:16:96:a8:9c:b6:ae:69:af:1c:94:27:ea:e3:71:63:03:7f:38:53:de:28:e4:ef:ab:04:dd:eb:39:2e:9f:59:1a:12:0f:f8:61:09:78:16:95:44:7f:3a:05:81:01:7a:ca:d2:38:69:5e:41:e8:aa:7d:ea:01:ba:d2:0e:d7:49:bd:8e:8e:35:d9:77:3a:3b:0b:89:97:03:b8:3c:c9:70:43:99:f9:c9:8f:95:2c:e6:2d:1a:60:9e:c6:b1:b4:d7:cf:07:78:35:ec output by OpenSSL.

The signature values output by ZCertificate looks like base64. However, the base64-encoded ba:de:13:f9:3f:af:4b:c2:01:48:2e:33:9c:23:15:93:a1:d4:21:d8:f4:14:c0:5f:0e:53:38:f2:16:96:a8:9c:b6:ae:69:af:1c:94:27:ea:e3:71:63:03:7f:38:53:de:28:e4:ef:ab:04:dd:eb:39:2e:9f:59:1a:12:0f:f8:61:09:78:16:95:44:7f:3a:05:81:01:7a:ca:d2:38:69:5e:41:e8:aa:7d:ea:01:ba:d2:0e:d7:49:bd:8e:8e:35:d9:77:3a:3b:0b:89:97:03:b8:3c:c9:70:43:99:f9:c9:8f:95:2c:e6:2d:1a:60:9e:c6:b1:b4:d7:cf:07:78:35:ec is MTMxMjIyODE1NjIwNjE5NDUwMTUyNjY2OTQ4MjU3MDU5MTIxOTUwOTA3ODI5OTUzNTE5MjQ0NTM5ODg2NDgwMzc4NDcwMDYyMDEwMDk2NjQ3NTc1NTUzNTM0NjEyNDYxNDE1OTI3ODA3MTgyODIzNTA1Njg4MTA5NjE5MDg1MjU1Njg3MzczMDAzMDk5NTEyMjUwNTgzNzY1Njc2ODkyMjkyMTA5MTk1MjgxNjM2NDU3OTMyMjcyNjU5Nzk0NjA3Mzk4NTEzNjY0MDA5NTkxNDkyMzQxNzk2OTM1MzU0MDkxNjc3NjU0NDI5NjYyODc4NTgyMzE3MjAyMzMwNjMwODk1MDA5MDkxMTYyNzM2NDM3NjMzMDk1NzI0MTMxNzE2MDc1ODE1MTQ5MjY5NDE5NTcwNjY4.

I wonder how the signature value is encoded from ba:de:13:f9:3f:af:4b:c2:01:48:2e:33:9c:23:15:93:a1:d4:21:d8:f4:14:c0:5f:0e:53:38:f2:16:96:a8:9c:b6:ae:69:af:1c:94:27:ea:e3:71:63:03:7f:38:53:de:28:e4:ef:ab:04:dd:eb:39:2e:9f:59:1a:12:0f:f8:61:09:78:16:95:44:7f:3a:05:81:01:7a:ca:d2:38:69:5e:41:e8:aa:7d:ea:01:ba:d2:0e:d7:49:bd:8e:8e:35:d9:77:3a:3b:0b:89:97:03:b8:3c:c9:70:43:99:f9:c9:8f:95:2c:e6:2d:1a:60:9e:c6:b1:b4:d7:cf:07:78:35:ec to ut4t+t+vs8ibsc4zncmvk6huidj0fmbfdlm48hawqjy2rmmvhjqn6unxywn/ofpekotvqwtd6zkun1kaeg/4yql4fpvefzofgqf6yti4av5b6kp96gg60g7xsb2ojjxzdzo7c4mxa7g8yxbdmfnjj5us5i0ayj7gsbtxzwd4new=. Could you explain it? TKS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant