Lines Matching refs:pkey
18 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
21 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts,
25 EVP_PKEY **pkey, STACK_OF(X509) *ocerts,
35 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() argument
41 if (pkey != NULL) in PKCS12_parse()
42 *pkey = NULL; in PKCS12_parse()
85 if (!parse_pk12(p12, pass, -1, pkey, ocerts)) { in PKCS12_parse()
96 if (pkey != NULL && *pkey != NULL in PKCS12_parse()
101 match = X509_check_private_key(x, *pkey); in PKCS12_parse()
122 if (pkey != NULL) { in PKCS12_parse()
123 EVP_PKEY_free(*pkey); in PKCS12_parse()
124 *pkey = NULL; in PKCS12_parse()
140 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() argument
162 if (!parse_bags(bags, pass, passlen, pkey, ocerts, in parse_pk12()
176 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bags() argument
182 pass, passlen, pkey, ocerts, in parse_bags()
191 EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bag() argument
208 if (pkey == NULL || *pkey != NULL) in parse_bag()
210 *pkey = EVP_PKCS82PKEY_ex(PKCS12_SAFEBAG_get0_p8inf(bag), in parse_bag()
212 if (*pkey == NULL) in parse_bag()
217 if (pkey == NULL || *pkey != NULL) in parse_bag()
222 *pkey = EVP_PKCS82PKEY_ex(p8, libctx, propq); in parse_bag()
224 if (!(*pkey)) in parse_bag()
261 return parse_bags(PKCS12_SAFEBAG_get0_safes(bag), pass, passlen, pkey, in parse_bag()