Home
last modified time | relevance | path

Searched refs:p7i (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/crypto/pkcs7/
Dpk7_lib.c303 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, in PKCS7_SIGNER_INFO_set() argument
309 if (!ASN1_INTEGER_set(p7i->version, 1)) in PKCS7_SIGNER_INFO_set()
311 if (!X509_NAME_set(&p7i->issuer_and_serial->issuer, in PKCS7_SIGNER_INFO_set()
319 ASN1_INTEGER_free(p7i->issuer_and_serial->serial); in PKCS7_SIGNER_INFO_set()
320 if (!(p7i->issuer_and_serial->serial = in PKCS7_SIGNER_INFO_set()
326 p7i->pkey = pkey; in PKCS7_SIGNER_INFO_set()
330 X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_type(dgst)), in PKCS7_SIGNER_INFO_set()
334 ret = pkey->ameth->pkey_ctrl(pkey, ASN1_PKEY_CTRL_PKCS7_SIGN, 0, p7i); in PKCS7_SIGNER_INFO_set()
462 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509) in PKCS7_RECIP_INFO_set() argument
466 if (!ASN1_INTEGER_set(p7i->version, 0)) in PKCS7_RECIP_INFO_set()
[all …]
/third_party/openssl/include/openssl/
Dpkcs7.h240 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
243 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
267 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);