Lines Matching refs:cms
18 int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) in CMS_stream() argument
21 pos = CMS_get0_content(cms); in CMS_stream()
36 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio() argument
39 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms == NULL ? NULL : *cms); in d2i_CMS_bio()
41 ci = ASN1_item_d2i_bio_ex(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms, in d2i_CMS_bio()
49 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio() argument
51 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms); in i2d_CMS_bio()
56 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) in IMPLEMENT_PEM_rw()
58 return BIO_new_NDEF(out, (ASN1_VALUE *)cms, in IMPLEMENT_PEM_rw()
64 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream() argument
66 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, in i2d_CMS_bio_stream()
70 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, in PEM_write_bio_CMS_stream() argument
73 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)cms, in, flags, in PEM_write_bio_CMS_stream()
77 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS() argument
80 int ctype_nid = OBJ_obj2nid(cms->contentType); in SMIME_write_CMS()
81 int econt_nid = OBJ_obj2nid(CMS_get0_eContentType(cms)); in SMIME_write_CMS()
82 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms); in SMIME_write_CMS()
85 mdalgs = cms->d.signedData->digestAlgorithms; in SMIME_write_CMS()
89 return SMIME_write_ASN1_ex(bio, (ASN1_VALUE *)cms, data, flags, ctype_nid, in SMIME_write_CMS()
97 CMS_ContentInfo **cms) in SMIME_read_CMS_ex() argument
100 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(cms == NULL ? NULL : *cms); in SMIME_read_CMS_ex()
104 (ASN1_VALUE **)cms, in SMIME_read_CMS_ex()