Searched refs:tcreds (Results 1 – 3 of 3) sorted by relevance
/external/libcups/cups/ |
D | testcreds.c | 39 *tcreds; /* Credentials from trust store */ in main() local 109 if (!httpLoadCredentials(NULL, &tcreds, hostname)) in main() 111 httpCredentialsString(tcreds, tinfo, sizeof(tinfo)); in main() 113 printf(" Certificate Count: %d\n", cupsArrayCount(tcreds)); in main() 114 printf(" Expiration: %s\n", httpGetDateString(httpCredentialsGetExpiration(tcreds))); in main() 115 printf(" IsValidName: %d\n", httpCredentialsAreValidForName(tcreds, hostname)); in main() 118 httpFreeCredentials(tcreds); in main()
|
D | tls-gnutls.c | 434 cups_array_t *tcreds = NULL; /* Trusted credentials */ in httpCredentialsGetTrust() local 461 httpLoadCredentials(NULL, &tcreds, common_name); in httpCredentialsGetTrust() 463 if (tcreds) in httpCredentialsGetTrust() 469 httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); in httpCredentialsGetTrust() 488 else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) in httpCredentialsGetTrust() 508 else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) in httpCredentialsGetTrust() 520 httpFreeCredentials(tcreds); in httpCredentialsGetTrust() 533 if (!httpLoadCredentials(NULL, &tcreds, "site")) in httpCredentialsGetTrust() 535 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust() 551 …for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(cred… in httpCredentialsGetTrust() [all …]
|
D | tls-darwin.c | 605 cups_array_t *tcreds = NULL; /* Trusted credentials */ in httpCredentialsGetTrust() local 629 httpLoadCredentials(NULL, &tcreds, common_name); in httpCredentialsGetTrust() 631 if (tcreds) in httpCredentialsGetTrust() 637 httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); in httpCredentialsGetTrust() 656 else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) in httpCredentialsGetTrust() 676 else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) in httpCredentialsGetTrust() 688 httpFreeCredentials(tcreds); in httpCredentialsGetTrust() 701 if (!httpLoadCredentials(NULL, &tcreds, "site")) in httpCredentialsGetTrust() 703 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust() 719 …for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(cred… in httpCredentialsGetTrust() [all …]
|