Lines Matching refs:cert
27 * Parse and decrypt a PKCS#12 structure returning user key, user cert and
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,
41 if (cert != NULL)
42 *cert = NULL;
76 if ((cert != NULL || ca != NULL)
91 /* Split the certs in ocerts over *cert and *ca as far as requested */
94 && cert != NULL && *cert == NULL) {
101 *cert = x;
123 if (cert != NULL) {
124 X509_free(*cert);
125 *cert = NULL;