Programmatic way to get x509 to be signed digest
Kenneth Goldman
kgoldman at us.ibm.com
Wed Jul 3 19:59:54 UTC 2024
I have an X509 object with the usual public components filled in (subject
validity issuer algorithm public key), I want to serialize the data to be
hashed and signed.
Is i2d_X509() the proper way?
It doesn't seem to work. I sign and add the signature to the x509 object,
but it doesn't verify. I wonder if i2d_x509 is adding some extra content at
the end where the signature should be.
--
Work 1-914-945-2415
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240703/81256630/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5383 bytes
Desc: not available
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240703/81256630/attachment.p7s>
More information about the openssl-users
mailing list