Lines Matching refs:cert
37 #include <cert.h>
46 #include "util/cert.h"
75 char **cert, char **token_name_out)
236 if (cert_list_node->cert) {
237 DEBUG(SSSDBG_TRACE_ALL, "found cert[%s][%s]\n",
238 cert_list_node->cert->nickname,
239 cert_list_node->cert->subjectName);
241 DEBUG(SSSDBG_TRACE_ALL, "--- empty cert list node ---\n");
302 if (cert_list_node->cert) {
303 DEBUG(SSSDBG_TRACE_ALL, "found cert[%s][%s]\n",
304 cert_list_node->cert->nickname,
305 cert_list_node->cert->subjectName);
308 rv = CERT_VerifyCertificateNow(handle, cert_list_node->cert,
315 cert_list_node->cert->nickname,
316 cert_list_node->cert->subjectName, PR_GetError());
323 found_cert = cert_list_node->cert;
329 DEBUG(SSSDBG_TRACE_ALL, "--- empty cert list node ---\n");
347 *cert = NULL;
415 *cert = sss_base64_encode(mem_ctx, found_cert->derCert.data,
417 if (*cert == NULL) {
499 char *cert;
668 &cert, &token_name_out);
674 if (cert != NULL) {
676 fprintf(stdout, "%s\n", cert);