Lines Matching refs:cms
65 CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) in CMS_stream() argument
69 if ((pos = CMS_get0_content(cms)) == NULL) in CMS_stream()
88 d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio() argument
90 return ASN1_item_d2i_bio(&CMS_ContentInfo_it, bp, cms); in d2i_CMS_bio()
95 i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio() argument
97 return ASN1_item_i2d_bio(&CMS_ContentInfo_it, bp, cms); in i2d_CMS_bio()
135 BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) in BIO_new_CMS() argument
137 return BIO_new_NDEF(out, (ASN1_VALUE *)cms, &CMS_ContentInfo_it); in BIO_new_CMS()
144 i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream() argument
146 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, in i2d_CMS_bio_stream()
152 PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in PEM_write_bio_CMS_stream() argument
154 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)cms, in, flags, in PEM_write_bio_CMS_stream()
160 SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS() argument
163 int ctype_nid = OBJ_obj2nid(cms->contentType); in SMIME_write_CMS()
164 int econt_nid = OBJ_obj2nid(CMS_get0_eContentType(cms)); in SMIME_write_CMS()
167 mdalgs = cms->d.signedData->digestAlgorithms; in SMIME_write_CMS()
169 return SMIME_write_ASN1(bio, (ASN1_VALUE *)cms, data, flags, ctype_nid, in SMIME_write_CMS()