Searched refs:accountName (Results 1 - 22 of 22) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/sec/Security/Tool/
H A Dadd_internet_password.c26 const char *securityDomain, const char *accountName, const char *path,
48 if (accountName) {
50 values[ix++] = CFStringCreateWithCStringNoCopy(NULL, accountName,
99 char *serverName = NULL, *securityDomain = NULL, *accountName = NULL, *path = NULL, *passwordData = NULL; local
126 accountName = optarg;
166 accountName, path, port, protocol,authenticationType, passwordData);
25 do_addinternetpassword(const char *keychainName, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, const void *passwordData) argument
H A Dkeychain_find.c210 const char *accountName, const char *path, UInt16 port,
231 if (accountName) {
233 values[ix++] = CFStringCreateWithCStringNoCopy(NULL, accountName,
289 char *serverName = NULL, *securityDomain = NULL, *accountName = NULL, *path = NULL; local
301 accountName = optarg;
340 accountName, path, port, protocol,authenticationType, get_password);
360 const char *serviceName, const char *accountName,
375 if (accountName) {
377 values[ix++] = CFStringCreateWithCStringNoCopy(NULL, accountName,
530 char *serviceName = NULL, *accountName local
208 do_keychain_find_or_delete_internet_password(Boolean do_delete, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, Boolean get_password) argument
359 do_keychain_find_or_delete_generic_password(Boolean do_delete, const char *serviceName, const char *accountName, Boolean get_password) argument
[all...]
/macosx-10.9.5/SecurityTool-55115/
H A Dkeychain_find.h45 const char *accountName);
56 const char *accountName,
H A Dkeychain_add.c56 const char *accountName,
67 itemRef = find_first_generic_password(keychainRef,itemCreator,itemType,kind,value,comment,label,serviceName,accountName);
121 if (accountName != NULL) {
123 attrs[attrList.count].length = strlen(accountName);
124 attrs[attrList.count].data = (void *)accountName;
170 const char *accountName,
181 result = do_update_generic_password(keychainName,itemCreator,itemType,kind,value,comment,label,serviceName,accountName,passwordData,access);
203 { kSecAccountItemAttr, accountName ? strlen(accountName) : 0, (char *)accountName },
48 do_update_generic_password(const char *keychainName, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *value, const char *comment, const char *label, const char *serviceName, const char *accountName, const void *passwordData, SecAccessRef access) argument
162 do_add_generic_password(const char *keychainName, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *value, const char *comment, const char *label, const char *serviceName, const char *accountName, const void *passwordData, SecAccessRef access, Boolean update) argument
246 do_update_internet_password(const char *keychainName, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *comment, const char *label, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, const void *passwordData, SecAccessRef access) argument
372 do_add_internet_password(const char *keychainName, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *comment, const char *label, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, const void *passwordData, SecAccessRef access, Boolean update) argument
535 char *serviceName = NULL, *passwordData = NULL, *accountName = NULL; local
691 char *serverName = NULL, *securityDomain = NULL, *accountName = NULL, *path = NULL, *passwordData = NULL; local
[all...]
H A Dkeychain_find.c64 const char *accountName)
79 Boolean primaryKey = (accountName && serviceName);
124 if (accountName != NULL) {
126 attrs[attrList.count].length = strlen(accountName);
127 attrs[attrList.count].data = (void*)accountName;
164 const char *accountName,
185 Boolean primaryKey = (accountName && securityDomain && serverName &&
231 if (accountName != NULL) {
233 attrs[attrList.count].length = strlen(accountName);
234 attrs[attrList.count].data = (void *)accountName;
56 find_first_generic_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *value, const char *comment, const char *label, const char *serviceName, const char *accountName) argument
156 find_first_internet_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *comment, const char *label, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType) argument
438 do_keychain_find_generic_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *value, const char *comment, const char *label, const char *serviceName, const char *accountName, Boolean get_password, Boolean password_stdout) argument
476 do_keychain_delete_generic_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *value, const char *comment, const char *label, const char *serviceName, const char *accountName) argument
521 do_keychain_find_internet_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *comment, const char *label, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, Boolean get_password, Boolean password_stdout) argument
564 do_keychain_delete_internet_password(CFTypeRef keychainOrArray, FourCharCode itemCreator, FourCharCode itemType, const char *kind, const char *comment, const char *label, const char *serverName, const char *securityDomain, const char *accountName, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType) argument
801 char *serverName = NULL, *securityDomain = NULL, *accountName = NULL, *path = NULL; local
904 char *serverName = NULL, *securityDomain = NULL, *accountName = NULL, *path = NULL; local
1020 char *serviceName = NULL, *accountName = NULL; local
1098 char *serviceName = NULL, *accountName = NULL; local
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecAccessPriv.h46 @param accountNameLength The length of the buffer pointed to by accountName.
47 @param accountName A pointer to a string containing the account name associated with this password.
52 @discussion The SecKeychainAddIToolsPassword function adds a new iTools password to the specified keychain with an ACL composed of a list of trusted applications. A required parameter to identify the password is the accountName, which is an application-defined string. The servicename will always be "iTools". SecKeychainAddIToolsPassword optionally returns a reference to the newly added item.
55 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName,
H A DSecKeychainAddIToolsPassword.cpp40 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName, argument
49 (const UInt8 *)accountName, accountNameLength, kCFStringEncodingUTF8, FALSE);
90 { kSecLabelItemAttr, accountNameLength, (char *)accountName }, // use the account name as the label for display purposes [3787371]
91 { kSecAccountItemAttr, accountNameLength, (char *)accountName },
H A DSecKeychain.h513 @param accountNameLength The length of the buffer pointed to by accountName.
514 @param accountName A pointer to a string containing the account name associated with this password.
524 @discussion The SecKeychainAddInternetPassword function adds a new Internet server password to the specified keychain. Required parameters to identify the password are serverName and accountName (you cannot pass NULL for both parameters). In addition, some protocols may require an optional securityDomain when authentication is requested. SecKeychainAddInternetPassword optionally returns a reference to the newly added item.
526 OSStatus SecKeychainAddInternetPassword(SecKeychainRef keychain, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
536 @param accountNameLength The length of the buffer pointed to by accountName.
537 @param accountName A pointer to a string containing the account name.
549 OSStatus SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
557 @param accountNameLength The length of the buffer pointed to by accountName.
558 @param accountName A pointer to a string containing the account name associated with this password.
563 @discussion The SecKeychainAddGenericPassword function adds a new generic password to the default keychain. Required parameters to identify the password are serviceName and accountName, whic
[all...]
H A DSecKeychain.cpp486 SecKeychainAddInternetPassword(SecKeychainRef keychainRef, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
502 if (accountName && accountNameLength)
504 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
544 SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
565 if (accountName && accountNameLength)
568 CssmData (const_cast<char*>(accountName), accountNameLength));
617 SecKeychainAddGenericPassword(SecKeychainRef keychainRef, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
634 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
643 if (accountName && accountNameLength)
645 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLengt
672 SecKeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecAccessPriv.h46 @param accountNameLength The length of the buffer pointed to by accountName.
47 @param accountName A pointer to a string containing the account name associated with this password.
52 @discussion The SecKeychainAddIToolsPassword function adds a new iTools password to the specified keychain with an ACL composed of a list of trusted applications. A required parameter to identify the password is the accountName, which is an application-defined string. The servicename will always be "iTools". SecKeychainAddIToolsPassword optionally returns a reference to the newly added item.
55 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName,
H A DSecKeychainAddIToolsPassword.cpp40 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName, argument
49 (const UInt8 *)accountName, accountNameLength, kCFStringEncodingUTF8, FALSE);
90 { kSecLabelItemAttr, accountNameLength, (char *)accountName }, // use the account name as the label for display purposes [3787371]
91 { kSecAccountItemAttr, accountNameLength, (char *)accountName },
H A DSecKeychain.h513 @param accountNameLength The length of the buffer pointed to by accountName.
514 @param accountName A pointer to a string containing the account name associated with this password.
524 @discussion The SecKeychainAddInternetPassword function adds a new Internet server password to the specified keychain. Required parameters to identify the password are serverName and accountName (you cannot pass NULL for both parameters). In addition, some protocols may require an optional securityDomain when authentication is requested. SecKeychainAddInternetPassword optionally returns a reference to the newly added item.
526 OSStatus SecKeychainAddInternetPassword(SecKeychainRef keychain, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
536 @param accountNameLength The length of the buffer pointed to by accountName.
537 @param accountName A pointer to a string containing the account name.
549 OSStatus SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
557 @param accountNameLength The length of the buffer pointed to by accountName.
558 @param accountName A pointer to a string containing the account name associated with this password.
563 @discussion The SecKeychainAddGenericPassword function adds a new generic password to the default keychain. Required parameters to identify the password are serviceName and accountName, whic
[all...]
H A DSecKeychain.cpp486 SecKeychainAddInternetPassword(SecKeychainRef keychainRef, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
502 if (accountName && accountNameLength)
504 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
544 SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
565 if (accountName && accountNameLength)
568 CssmData (const_cast<char*>(accountName), accountNameLength));
617 SecKeychainAddGenericPassword(SecKeychainRef keychainRef, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
634 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
643 if (accountName && accountNameLength)
645 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLengt
672 SecKeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecAccessPriv.h46 @param accountNameLength The length of the buffer pointed to by accountName.
47 @param accountName A pointer to a string containing the account name associated with this password.
52 @discussion The SecKeychainAddIToolsPassword function adds a new iTools password to the specified keychain with an ACL composed of a list of trusted applications. A required parameter to identify the password is the accountName, which is an application-defined string. The servicename will always be "iTools". SecKeychainAddIToolsPassword optionally returns a reference to the newly added item.
55 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName,
H A DSecKeychainAddIToolsPassword.cpp40 OSStatus SecKeychainAddIToolsPassword(SecKeychainRef keychain, UInt32 accountNameLength, const char *accountName, argument
49 (const UInt8 *)accountName, accountNameLength, kCFStringEncodingUTF8, FALSE);
90 { kSecLabelItemAttr, accountNameLength, (char *)accountName }, // use the account name as the label for display purposes [3787371]
91 { kSecAccountItemAttr, accountNameLength, (char *)accountName },
H A DSecKeychain.h513 @param accountNameLength The length of the buffer pointed to by accountName.
514 @param accountName A pointer to a string containing the account name associated with this password.
524 @discussion The SecKeychainAddInternetPassword function adds a new Internet server password to the specified keychain. Required parameters to identify the password are serverName and accountName (you cannot pass NULL for both parameters). In addition, some protocols may require an optional securityDomain when authentication is requested. SecKeychainAddInternetPassword optionally returns a reference to the newly added item.
526 OSStatus SecKeychainAddInternetPassword(SecKeychainRef keychain, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef);
536 @param accountNameLength The length of the buffer pointed to by accountName.
537 @param accountName A pointer to a string containing the account name.
549 OSStatus SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef);
557 @param accountNameLength The length of the buffer pointed to by accountName.
558 @param accountName A pointer to a string containing the account name associated with this password.
563 @discussion The SecKeychainAddGenericPassword function adds a new generic password to the default keychain. Required parameters to identify the password are serviceName and accountName, whic
[all...]
H A DSecKeychain.cpp486 SecKeychainAddInternetPassword(SecKeychainRef keychainRef, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
502 if (accountName && accountNameLength)
504 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
544 SecKeychainFindInternetPassword(CFTypeRef keychainOrArray, UInt32 serverNameLength, const char *serverName, UInt32 securityDomainLength, const char *securityDomain, UInt32 accountNameLength, const char *accountName, UInt32 pathLength, const char *path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
565 if (accountName && accountNameLength)
568 CssmData (const_cast<char*>(accountName), accountNameLength));
617 SecKeychainAddGenericPassword(SecKeychainRef keychainRef, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef *itemRef) argument
634 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLength);
643 if (accountName && accountNameLength)
645 CssmData account(const_cast<void *>(reinterpret_cast<const void *>(accountName)), accountNameLengt
672 SecKeychainFindGenericPassword(CFTypeRef keychainOrArray, UInt32 serviceNameLength, const char *serviceName, UInt32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef) argument
[all...]
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/
H A DEncodedSourceID.c105 const char *accountName = NULL; local
110 accountName = getlogin();
112 if ( (accountName==NULL) || (strlen(accountName)<=0) ) {
119 snprintf(idBuffer, idBufferLen, "%s:%s", accountName, addressString);
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/PreferencePane/
H A Dddnswriteconfig.m292 UInt32 accountNameLength, const char *accountName, UInt32 passwordLength, const void *passwordData)
304 { kSecAccountItemAttr, accountNameLength, (char *)accountName },
/macosx-10.9.5/bind9-45.100/bind9/bin/win32/BINDInstall/
H A DBINDInstallDlg.cpp724 char accountName[MAX_PATH]; local
729 memset(accountName, 0, nameLen);
741 (LPBYTE)accountName, &nameLen) != ERROR_SUCCESS)
748 else if (!strcmp(accountName, LOCAL_SERVICE)) {
756 Tmp = accountName;
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dtls_o.c196 CFStringRef accountName = CFStringCreateWithSubstring(NULL, keychainCFName, CFRangeMake(foundRange.location + 1, CFStringGetLength(keychainCFName) - foundRange.location)); local
207 if(accountName)
209 int length = CFStringGetLength(accountName);
211 CFStringGetCString(accountName, account_name, length +1, kCFStringEncodingUTF8);
/macosx-10.9.5/KerberosHelper-148/Source/
H A DKerberosHelper.c758 CFStringRef accountName = NULL; local
772 accountName = hCtx->realm;
774 accountName = hCtx->realm;
777 if (NULL != accountName) {
778 CFDictionarySetValue (outInfo, kKRBKeychainAccountNameKey, accountName);

Completed in 132 milliseconds