Keychain services API and dealing with Keychains other than the default

Hello,
So I've been doing some C work with the Keychain services API. But I can't figure out how to set the Keychain for a function to something other than the default, which is set by passing NULL.
For example,
status = SecKeychainAddGenericPassword (
*NULL, // default keychain*
10, // length of service name
"SurfWriter", // service name
10, // length of account name
"MyUserAcct", // account name
passwordLength, // length of password
password, // pointer to password data
NULL // the item reference
This function is defined here:
http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainAddGenericPassword
and the data type for the Keychain is here:
http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//appleref/doc/cref/SecKeychainRef
But neither helps me at all for being able to edit a keychain that isn't the default Keychain.
I appreciate any help, thanks.
Message was edited by: Smerky

http://developer.apple.com/documentation/Security/Reference/keychainservices/Ref erence/reference.html#//apple_ref/c/func/SecKeychainOpen

Similar Messages

  • When I create a stickie note, I can not save any font size other than the default.  How do I save a stickie with a larger or different font?

    How do I save a stickie note with a different font size other than the default?  When I create a note and save it using a larger font, it reopens with the default.

    Unlikely, I'm afraid.
    The LMS has no control over the playbar that pauses or plays the Captivate content.
    In a Multi SCORM package, the LMS also may be showing a TOC in the SCORM player with links to launch the lesson modules.  This TOC is in addition to the TOC inside the Captivate project file which gives access to sections of the module by jumping to slides that begin those sections.  But the LMS doesn't usually give you any control over the look and feel or functionality of that TOC either. 
    If your client is adamant that they want complete control over these areas, then your best option may be NOT to build this course with Captivate but build it from the ground up with another tool.  E.g. Flash, or Dreamweaver.  Either way, that will add a lot more time and expense to the project.  But if the client has the budget and is unwilling to budge on their requirement, then that's what I would be telling them to do.

  • Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    Can the voiceover utility on the 6th gen Nano be accessed with headphones other than the Apple earphones?

    No I have tried and they don't also my iPod touch 2nd generation doesn't work with voice control unless it has apple earbuds plugged in. I guess apple doesn't want 3rd party brads interfering with their company. Thanks please like

  • Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error, so you can load Firefox again.

    Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error. I have Windows XP (Media Center Edition) and all updates (Firefox, Adobe PDF, Microsoft, virus protection, etc) are installed. This has only been a problem since Firefox 4, and isn't a problem in Internet Explorer.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • Configuring a Communication Channel for an AE other than the default IS

    Configuring a Communication Channel for an Adapter Engine other than the default engine.
    See:  help.sap.com for Communication Channel http://help.sap.com/saphelp_nw04/helpdata/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm
    It states under 'Adapter Configuration', that you can specify the Adapter Engine you want to use in the Adapter Engine dropdown box.
    I have activated the XI components on my ERP system using transaction SICF, but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    Maybe some background would be helpful:  This is for a scenario that will send a file from an external system to one of the ERP systems in our landscape.  BUT, the system admins have decided to revoke our FTP accounts (because they have their reasons), so I need to create a File Adapter that will drop the file on the file system of that ERP system, due to visibility I want to use the integrated Adapter Engine that comes with the ERP system, but need to know how/what I'm missing in setting up this scenario.

    Hi Anesh,
    >>>>but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    in order to use some other adapter engine you
    have to install it first by dafault only one
    (central) adapter engine is used and it is all
    most clients need
    if you'd like to use some other adapter engine
    (decentralized for example) have a look at thid guide:
    <b>Configuring a Local Adapter Engine to Work with a Central Instance</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/03fd85cc-0201-0010-8ca4-a32a119a582d
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Deploying Crystal Reports 2008 on a website other than the default website

    Hi,
    We have an ASP.NET 2003 web application using CR 2008 as reporting tool.
    To deploy the application, we are using the CR 2008 mergemodules.
    If the application is installed into the default website, this works fine, but if another website is selected, the mergemodule still installs CR 2008 to the default website.
    To overcome this problem, the crystalreportviewers12 virtual directory has to be created in the selected website.
    But if the application is installed directly into the website, and not into a virtual directory of the website, problems occur, like images not showing up.
    I would like to know if there exists documentation regarding deployment into websites, other than the default website and what configurations have to be done to make it work.
    Best regards,
    Ângelo Vilela

    See the following articles;
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
    Also, the developer help files contain more info:
    https://boc.sdn.sap.com/developer/library
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • [svn:bz-trunk] 17772: Update the url in the tests to use a relative path instead of the default localhost : 8400 so that the tests can pass on appservers other than the default Tomcat .

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

  • I want to install Photoshop and Lightroom to another drive (F) other than the default (C).

    I have changed the default location in Creative Cloud Desktop settings from the default (C) to the one I require (F) but this instruction is ignored and both programmes are installed to the default location.
    I am doing this as I have limited space on my SSD (C) drive after installing the OS so I am trying to install programmes to another SSDD.

    LR will always install on the root drive. It doesn't obey this setting. PS should install on a different drive. Run the cleaner tool and try again.
    http://www.adobe.com/support/contact/cscleanertool.html
    Mylenium

  • How do I get Distiller to render other than the default page size

    I have double ad I laid out in Illustrator and I need to make a PDF with the Bleed/Trim/Color bars/ETC. In the past I could print to postscript file and run it through distiller, but after distilling, only an 8x11 is created.  I've gone into the edit settings and created another preset that has the default page size set to the size I need it, but it seems counterproductive and not what I'm used to.  Is there something that I'm missing?
    Note: When generating the PS file I've tried selecting both my printer ppd and the device independent option.

    Working in Mac Illustrator CC. Acrobat XI
    I go to Print with these settings:
    Drag the postScript File onto Distiller (Tried various preset settings)
    And I get this – an 8.5 x 11 portion:
    I've also tried printing with my printer PPD:

  • Since the last update, you have open your websites and they used to show a pic or website marker at the beginning of each website so you knew what it was, not its just a blank letter and its says something other than the website being viewed, annoying. So

    Please fix the missing website detail pics in the tab bar.
    == This happened ==
    Every time Firefox opened
    == Last update a few days ago

    mikeporter wrote:
    I'm sorry I'm not aware of any "cumbersome" subpanels - unless of course you don't know what you're doing. There is this wonderful invention called a "subVI" that can be used to organize and simplify your code, or are they too "cumbersome" as well? You should really learn a bit about what you are pontificating over before you start running off at the mouth.
    Mike...
    I didn't want to step on your toes. No need to get personal.
    Subpanels make some additional code necessary that hasn't got to do anything with the actual program. And I AM using subIVs as I wrote in my first post, which is exactly the root of the problem.
    Nevertheless I now solved it in a way that comes close to what I wanted. I don't know if some of you meant your suggestions to be understood that way (at least I didn't ). The subVIs will now "insert" themselves (via invoke node) into a subpanel on the main vi, which they are given a reference of at call. This adds minimal aditional code, especially on the main VI which I want to keep as clean as possible. By clustering the panel reference into the parameters the subVIs are already given (not used in the example I attached below), there isn't even a change on the terminals of the subVIs.
    I got to check now if this works well with event structures within the subVIs or if it can create the same problems like multiple event structures within a single VI.
    So no global variables anymore and no writing values by property node. I don't know if this just wasn't possible in previous Labview versions I had a try at that (I guess it was 8.6 and/or 2009) or I just didn't come up with the idea back then.
    And if the text wasn't that helpful, here are two screens:
    Parent VI:
    SubVI:
    Attachments:
    main.png ‏2 KB
    subvi.png ‏5 KB

  • When saving downloads is there a way to instruct Firefox to save the download to a different folder other than the default?

    I downloaded a printer driver to Firefox's default downloads. I started the exe file and a window opened so I could install the driver. I selected run, and the window closed and nothing happened. I finally had to use MS IE in order to save the file to a different folder. I was then able to decompress the file and install it. Is there an option in Firefox to override the default downloads folder with a folder of my choosing? Running Win 7 Home Prem 64 bit, FF 5.0.1.

    This is the same issue that has plagued me for years. I always thought that this was a Flash plugin issue, but it does occur on HTML5 as well. A friend of mine verified that this does not occur in Linux, but only on Windows. It would be great to have this fixed, as it's honestly the only thing that's making me use Chrome all the time, as I don't want to have multiple browsers open.

  • How can I create a new skin (other than the default skins) for my Captivate Project?

    Hi everyone,
    I am working on a project where my client wants me to create a player skin which is completely different from the default themes that captivate has already. The design which client has shared with me contains in this way:
    1. TOC - should be truncated and can be expanded by pressing "+" button against the Navigation Text. Its like opening and closing the menu bar using + and - buttons
    2. Playback controls required by him are also not in the default skins.
    I dont know, if there is any way to customize the skins to this level inside captivate.
    Please help me out.
    Thanks & Regards
    Vikas Sharma

    Unlikely, I'm afraid.
    The LMS has no control over the playbar that pauses or plays the Captivate content.
    In a Multi SCORM package, the LMS also may be showing a TOC in the SCORM player with links to launch the lesson modules.  This TOC is in addition to the TOC inside the Captivate project file which gives access to sections of the module by jumping to slides that begin those sections.  But the LMS doesn't usually give you any control over the look and feel or functionality of that TOC either. 
    If your client is adamant that they want complete control over these areas, then your best option may be NOT to build this course with Captivate but build it from the ground up with another tool.  E.g. Flash, or Dreamweaver.  Either way, that will add a lot more time and expense to the project.  But if the client has the budget and is unwilling to budge on their requirement, then that's what I would be telling them to do.

  • How do I use field names other than the default ones in Contacts?

    The iPhone doesn't like certain types of phone field names!
    When you create a new contact with the Mac Address Book, you can choose mobile, iPhone, home, work, main, home fax, work fax, pager, and other. If, for example, your source data has a contact with a "main" phone number, that number doesn't sync at all.
    The data ONLY moves from my Mac to my iPhone IF I use the default field names.
    Why does Apple let us have a Custom name if this data will not sync?

    Ziatron wrote:
    Why does Apple let us have a Custom name if this data will not sync?
    Because they DO sync. You have some other problem.

  • How do I get a drop down menu to auto default to option selected a value other than the default written in the javascript?

    I use web based software where I have to select from a drop down menu a particular option. However, I only ever use 1 option. Sometimes as much as 100 times a day. Is there anyway to get Firefox to auto select the same option every time? I don't have access to the source code so I cant change <option selected="selected" value="">.

    A possibility would be a Greasemonkey script to do this automatically or a JavaScript bookmarklet to do it manually.
    You would need to remove the selected="selected" from the currently selected option and set that attribute for the wanted option.
    You can test the bookmarklet here:
    *https://developer.mozilla.org/en/HTML/Element/select
    <pre><nowiki>javascript:(function(){var d=document,s=d.getElementsByTagName('SELECT')[0],o=s.getElementsByTagName('OPTION'),S='selected',v='value1',i;for(i=0;O=o[i];i++){if(O.value==v){O.setAttribute(S,S);O.selected=true}else{O.removeAttribute(S);O.selected=false;}}})();</nowiki></pre>
    If there are more 'selects' then you need to adjust the element number [0] and you also need to adjust the value of the wanted option.

  • Create a Contact on an address book other than the default one

    Hello everyone,
    I am using a professional address book and calendar on exchange provided by my company. I am also using my iCloud account to manage my personal address book and calendar. I have set up my iphone 4S to display both address book and calendar, this works well, same for the sync mechanism.
    When I create an event on my iPhone using the standard calendar app, I can simply indicate whether it is a personal or professional event.
    When I create a contact using the standard contact app, there is no way to indicate wheter it's personnal or professional. The contact is created on the default address book that I setup in the settings. The only way I found is to hide all categories except the personal one and then create the contact. It is then created not on the default address book but on the only one displayed. It is rather awkward and that does not solve all problems : I have some contacts already created by mistake on my professional address book that I want to move to the personnal one. I found absolutely no way of doing that. The same thing for calendar events is straightforward: open the event for modification, simple toogle the appropriate field from Pro to Personal and you're done.
    Does anyone have a hint for this ?
    Thanks,
    Cyril

    Hi sumella, <br>
    I think you should try an Add-on like one of these:
    <br>
    [https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/ Tab Mix Plus]
    <br>
    [https://addons.mozilla.org/en-US/firefox/addon/new-tab-button-on-tab-bar/ New Tab Button on tab bar]

Maybe you are looking for