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