CMS_SignedData_init

Initialize cms as an empty CMS SignedData (for example for certificates-only).

Synopsis

Declared in <openssl/cms.h>

int
CMS_SignedData_init(CMS_ContentInfo* cms);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cmsContentInfo that receives a SignedData structure if not already present.