Programmatic way to get x509 to be signed digest
Kenneth Goldman <kgoldman-r/[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <DM4PR15MB5518BA6E1929E775B9258432F2DD2@DM4PR15MB5518.namprd15.prod.outlook.com> |
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
smime.p7s
(application/pkcs7-signature, 5.3 KB) - not displayed