Lines Matching refs:pkey
18 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
21 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
24 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
29 * should point to a valid STACK structure. pkey and/or cert may be NULL;
33 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
39 if (pkey != NULL)
40 *pkey = NULL;
82 if (!parse_pk12(p12, pass, -1, pkey, ocerts)) {
93 if (pkey != NULL && *pkey != NULL
98 match = X509_check_private_key(x, *pkey);
119 if (pkey != NULL) {
120 EVP_PKEY_free(*pkey);
121 *pkey = NULL;
135 /* pkey and/or ocerts may be NULL */
137 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
159 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) {
170 /* pkey and/or ocerts may be NULL */
172 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
177 pass, passlen, pkey, ocerts))
183 /* pkey and/or ocerts may be NULL */
185 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
201 if (pkey == NULL || *pkey != NULL)
203 *pkey = EVP_PKCS82PKEY(PKCS12_SAFEBAG_get0_p8inf(bag));
204 if (*pkey == NULL)
209 if (pkey == NULL || *pkey != NULL)
213 *pkey = EVP_PKCS82PKEY(p8);
215 if (!(*pkey))
252 return parse_bags(PKCS12_SAFEBAG_get0_safes(bag), pass, passlen, pkey,