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 | 432 cups_array_t *tcreds = NULL; /* Trusted credentials */ in httpCredentialsGetTrust() local 459 httpLoadCredentials(NULL, &tcreds, common_name); in httpCredentialsGetTrust() 461 if (tcreds) in httpCredentialsGetTrust() 467 httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); in httpCredentialsGetTrust() 486 else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) in httpCredentialsGetTrust() 506 else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) in httpCredentialsGetTrust() 518 httpFreeCredentials(tcreds); in httpCredentialsGetTrust() 531 if (!httpLoadCredentials(NULL, &tcreds, "site")) in httpCredentialsGetTrust() 533 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust() 549 …for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(cred… in httpCredentialsGetTrust() [all …]
|
D | tls-darwin.c | 603 cups_array_t *tcreds = NULL; /* Trusted credentials */ in httpCredentialsGetTrust() local 627 httpLoadCredentials(NULL, &tcreds, common_name); in httpCredentialsGetTrust() 629 if (tcreds) in httpCredentialsGetTrust() 635 httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); in httpCredentialsGetTrust() 654 else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) in httpCredentialsGetTrust() 674 else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) in httpCredentialsGetTrust() 686 httpFreeCredentials(tcreds); in httpCredentialsGetTrust() 699 if (!httpLoadCredentials(NULL, &tcreds, "site")) in httpCredentialsGetTrust() 701 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust() 717 …for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(cred… in httpCredentialsGetTrust() [all …]
|