Lines Matching refs:keychain
92 keychain[1024], /* Keychain argument */ in cupsMakeServerCredentials() local
142 snprintf(keychain, sizeof(keychain), "k=%s", path); in cupsMakeServerCredentials()
146 argv[2] = keychain; in cupsMakeServerCredentials()
365 SecKeychainRef keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); in cupsSetServerCredentials() local
367 if (!keychain) in cupsSetServerCredentials()
392 tls_keychain = keychain; in cupsSetServerCredentials()
925 SecKeychainRef keychain = NULL,/* Keychain reference */ in httpLoadCredentials() local
945 keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); in httpLoadCredentials()
947 if (!keychain) in httpLoadCredentials()
978 const void *values[2] = { syschain, keychain }; in httpLoadCredentials()
983 list = CFArrayCreate(kCFAllocatorDefault, (const void **)&keychain, 1, &kCFTypeArrayCallBacks); in httpLoadCredentials()
1008 if (keychain) in httpLoadCredentials()
1009 CFRelease(keychain); in httpLoadCredentials()
1043 SecKeychainRef keychain = NULL;/* Keychain reference */ in httpSaveCredentials() local
1067 keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); in httpSaveCredentials()
1069 if (!keychain) in httpSaveCredentials()
1087 …if ((list = CFArrayCreate(kCFAllocatorDefault, (const void **)&keychain, 1, &kCFTypeArrayCallBacks… in httpSaveCredentials()
1103 if (keychain) in httpSaveCredentials()
1104 CFRelease(keychain); in httpSaveCredentials()
2036 SecKeychainRef keychain = NULL;/* Temporary keychain */ in http_cdsa_open_keychain() local
2070 err = SecKeychainCreate(path, _CUPS_CDSA_PASSLEN, _CUPS_CDSA_PASSWORD, FALSE, NULL, &keychain); in http_cdsa_open_keychain()
2078 err = SecKeychainOpen(path, &keychain); in http_cdsa_open_keychain()
2081 err = SecKeychainGetStatus(keychain, &status); in http_cdsa_open_keychain()
2084 err = SecKeychainUnlock(keychain, _CUPS_CDSA_PASSLEN, _CUPS_CDSA_PASSWORD, TRUE); in http_cdsa_open_keychain()
2102 if (keychain) in http_cdsa_open_keychain()
2104 CFRelease(keychain); in http_cdsa_open_keychain()
2105 keychain = NULL; in http_cdsa_open_keychain()
2113 return (keychain); in http_cdsa_open_keychain()
2124 SecKeychainRef keychain = NULL;/* Temporary keychain */ in http_cdsa_open_system_keychain() local
2137 err = SecKeychainOpen("/Library/Keychains/System.keychain", &keychain); in http_cdsa_open_system_keychain()
2140 err = SecKeychainGetStatus(keychain, &status); in http_cdsa_open_system_keychain()
2160 if (keychain) in http_cdsa_open_system_keychain()
2162 CFRelease(keychain); in http_cdsa_open_system_keychain()
2163 keychain = NULL; in http_cdsa_open_system_keychain()
2171 return (keychain); in http_cdsa_open_system_keychain()