Lines Matching defs:cms
1 /* crypto/cms/cms_dd.c */
59 #include <openssl/cms.h>
64 /* CMS DigestedData Utilities */
68 CMS_ContentInfo *cms;
70 cms = CMS_ContentInfo_new();
71 if (!cms)
79 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest);
80 cms->d.digestedData = dd;
87 return cms;
91 if (cms)
92 CMS_ContentInfo_free(cms);
97 BIO *cms_DigestedData_init_bio(CMS_ContentInfo *cms)
100 dd = cms->d.digestedData;
104 int cms_DigestedData_do_final(CMS_ContentInfo *cms, BIO *chain, int verify)
113 dd = cms->d.digestedData;