[openssl-users] CMS questions

Richard Welty rwelty at averillpark.net
Tue Feb 24 14:30:14 UTC 2015

On 2/24/15 9:21 AM, Dr. Stephen Henson wrote:
> Typically you'd write the signed content to a memory BIO and then decrypt
> that. Precisely how you decrypt the enveloped data depends on the format. It
> might be in MIME format in which case you'd pass it through the MIME parser.
> Alternatively it could be enveloped data content type in which case you'd
> decode it as BER form.
> There are shortcuts you can make if, for example, you know the signed content
> is not detached and in BER form.
it will not be detached, and will be in BER form. shortcuts (as long as
in a documented API) are welcome as this is in a path that should be fast.


rwelty at averillpark.net
 Averill Park Networking - GIS & IT Consulting
 OpenStreetMap - PostgreSQL - Linux
 Java - Web Applications - Search

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: OpenPGP digital signature
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150224/88ea9422/attachment.sig>

More information about the openssl-users mailing list