Lines Matching refs:cert_auth_info

41 struct cert_auth_info {
48 struct cert_auth_info *prev;
49 struct cert_auth_info *next;
52 const char *sss_cai_get_cert(struct cert_auth_info *i)
57 const char *sss_cai_get_token_name(struct cert_auth_info *i)
62 const char *sss_cai_get_module_name(struct cert_auth_info *i)
67 const char *sss_cai_get_key_id(struct cert_auth_info *i)
72 const char *sss_cai_get_label(struct cert_auth_info *i)
77 struct cert_auth_info *sss_cai_get_next(struct cert_auth_info *i)
82 struct ldb_result *sss_cai_get_cert_user_objs(struct cert_auth_info *i)
87 void sss_cai_set_cert_user_objs(struct cert_auth_info *i,
96 void sss_cai_check_users(struct cert_auth_info **list, size_t *_cert_count,
99 struct cert_auth_info *c;
100 struct cert_auth_info *tmp;
327 struct cert_auth_info **_cert_list)
333 struct cert_auth_info *cert_list = NULL;
334 struct cert_auth_info *cert_auth_info;
359 cert_auth_info = talloc_zero(tmp_ctx, struct cert_auth_info);
360 if (cert_auth_info == NULL) {
377 cert_auth_info->token_name = talloc_strndup(cert_auth_info, (char *)p,
379 if (cert_auth_info->token_name == NULL) {
385 cert_auth_info->token_name);
403 cert_auth_info->module_name = talloc_strndup(cert_auth_info, (char *)p,
405 if (cert_auth_info->module_name == NULL) {
411 cert_auth_info->module_name);
429 cert_auth_info->key_id = talloc_strndup(cert_auth_info, (char *)p,
431 if (cert_auth_info->key_id == NULL) {
436 DEBUG(SSSDBG_TRACE_ALL, "Found key id [%s].\n", cert_auth_info->key_id);
454 cert_auth_info->label = talloc_strndup(cert_auth_info, (char *) p,
456 if (cert_auth_info->label == NULL) {
461 DEBUG(SSSDBG_TRACE_ALL, "Found label [%s].\n", cert_auth_info->label);
478 cert_auth_info->cert = talloc_strndup(cert_auth_info, (char *)p,
480 if (cert_auth_info->cert == NULL) {
485 DEBUG(SSSDBG_TRACE_ALL, "Found cert [%s].\n", cert_auth_info->cert);
487 der = sss_base64_decode(tmp_ctx, cert_auth_info->cert, &der_size);
496 DLIST_ADD(cert_list, cert_auth_info);
500 cert_auth_info->cert);
501 talloc_free(cert_auth_info);
511 DLIST_FOR_EACH(cert_auth_info, cert_list) {
512 talloc_steal(mem_ctx, cert_auth_info);
532 struct cert_auth_info *cert_list;
831 struct cert_auth_info **cert_list)
833 struct cert_auth_info *tmp_cert_auth_info;
851 struct cert_auth_info *cert_info)
901 struct cert_auth_info *cert_info,
973 struct cert_auth_info *cert_info,