Lines Matching refs:cms
60 #include <openssl/cms.h>
230 CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
240 cms->d.encryptedData = (CMS_EncryptedData *)ASN1_item_new(&CMS_EncryptedData_it);
241 if (!cms->d.encryptedData) {
245 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted);
246 cms->d.encryptedData->version = 0;
247 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) {
251 ec = cms->d.encryptedData->encryptedContentInfo;
258 cms_EncryptedData_init_bio(CMS_ContentInfo *cms)
260 CMS_EncryptedData *enc = cms->d.encryptedData;