[openssl-users] efficient way to encrypt, then sign?
Richard Welty
rwelty at nwtime.org
Sat Jul 4 08:54:26 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
what is the lowest overhead method for encrypting using
CMS_encrypt then signing using CMS_sign? it seems like
using BIO_new_mem_buf ought to do but i don't see a method
for getting the length of the CMS_ContentInfo object to
feed to the BIO creation method.
thanks,
richard
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJVl59CAAoJEBg+LdNh/YEcnB8QAJgj2JeIyigGBGxUqrdCHf0Q
O02+ToK3afT0VMuvjcvtTbDRxwBO0VxRBjpUGjJvBoHRsUBCEs/EPKB4hUhQ2VE3
8M8xPZT/xIWiUInSKcCzep+B226siD0oQhfrMSlTW5jZL2zzCe+TwJxKYG9vaY+V
+YNSz22XWZvHF07gir04S413XNVm6qcEyLnl6cMRbdLHHuLOkI2NbqyWbqQ0976R
iHpVtFpNbyJVCcn/tWLEFV0/FcuTkm8ytCYTn4sgIN5AJ/SwKRWUMz/AoIA8LJDB
amVnKzpzc+/G8PctUXZmCbYUB4xRQmxS/gAYf/+XbHdsZInvOSiq9pbcLcPZ+jHa
/Gkp6SYf44NpmEjt25trMlBXoY+gQzGpfeCj1E60/shEMkyoe40SPA5rCJc4JCg4
P1Nbt4Yu++Zfn64EUwrUo7m9GJ9R0R0l75Pekqjy3zMjh+9WCm1caMtcXDwC6udw
aL4tKqSGxTFySd/U6gkWryIuamPDg676ATy0wMp+slBWa+NprB7UbscBUJIxdzfn
Sv2uZb7ldnVsMb69Foo6MmwFgsuuECdQDgq5PlLHcWDXQjA7onSDJADpucorpzR3
sOdCY2FbaQQrJsl1hZykoJ9rzrFcIABGotWXgcVqGPAUC08iX/V1haYdX0HMULfD
xJ6y2otpS3YSXCaHXnRM
=iqLe
-----END PGP SIGNATURE-----
More information about the openssl-users
mailing list