d2i_CMS_ContentInfo.3ssl man page

d2i_CMS_ContentInfo, i2d_CMS_ContentInfo — CMS ContentInfo functions

Synopsis

#include <openssl/cms.h>
CMS_ContentInfo *d2i_CMS_ContentInfo(CMS_ContentInfo **a, unsigned char **pp, long length);
int i2d_CMS_ContentInfo(CMS_ContentInfo *a, unsigned char **pp);

Description

These functions decode and encode an CMS ContentInfo structure.

Otherwise they behave in a similar way to d2i_X509() and i2d_X509() described in the d2i_X509(3) manual page.

See Also

d2i_X509(3)

History

These functions were first added to OpenSSL 0.9.8

Info

2016-09-26 1.0.2j OpenSSL