Lines Matching refs:pkey
66 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
72 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
76 * or it should point to a valid STACK structure. pkey and cert can be
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
93 if(pkey)
94 *pkey = NULL;
127 if (!parse_pk12 (p12, pass, -1, pkey, ocerts))
135 if (pkey && *pkey && cert && !*cert)
137 if (X509_check_private_key(x, *pkey))
165 if (pkey && *pkey)
166 EVP_PKEY_free(*pkey);
180 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
200 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) {
213 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
218 pass, passlen, pkey, ocerts))
225 EVP_PKEY **pkey, STACK_OF(X509) *ocerts)
242 if (!pkey || *pkey)
244 if (!(*pkey = EVP_PKCS82PKEY(bag->value.keybag)))
249 if (!pkey || *pkey)
253 *pkey = EVP_PKCS82PKEY(p8);
255 if (!(*pkey)) return 0;
293 pkey, ocerts);