CMS_get1_crls

Return a newly allocated stack of CRLs embedded in a CMS ContentInfo.

Synopsis

Declared in <openssl/cms.h>

stack_st_X509_CRL*
CMS_get1_crls(CMS_ContentInfo* cms);

Return Value

New STACK_OF(X509_CRL) with up-referenced CRLs, or NULL if none / on error.

Parameters

NameDescription
cmsCMS structure that may contain certificates/CRLs (typically SignedData).