Lines Matching refs:p7
18 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in i2d_PKCS7_bio_stream() argument
20 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags, in i2d_PKCS7_bio_stream()
24 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in PEM_write_bio_PKCS7_stream() argument
26 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *)p7, in, flags, in PEM_write_bio_PKCS7_stream()
30 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7() argument
33 int ctype_nid = OBJ_obj2nid(p7->type); in SMIME_write_PKCS7()
34 const PKCS7_CTX *ctx = ossl_pkcs7_get0_ctx(p7); in SMIME_write_PKCS7()
37 if (p7->d.sign == NULL) in SMIME_write_PKCS7()
39 mdalgs = p7->d.sign->md_algs; in SMIME_write_PKCS7()
46 return SMIME_write_ASN1_ex(bio, (ASN1_VALUE *)p7, data, flags, ctype_nid, in SMIME_write_PKCS7()
52 PKCS7 *SMIME_read_PKCS7_ex(BIO *bio, BIO **bcont, PKCS7 **p7) in SMIME_read_PKCS7_ex() argument
58 if (p7 != NULL && *p7 != NULL) { in SMIME_read_PKCS7_ex()
59 libctx = (*p7)->ctx.libctx; in SMIME_read_PKCS7_ex()
60 propq = (*p7)->ctx.propq; in SMIME_read_PKCS7_ex()
64 (ASN1_VALUE **)p7, libctx, propq); in SMIME_read_PKCS7_ex()