Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KeychainStore, more fun with Runtime, for the archives




On Jan 9, 2006, at 10:45 AM, Michael Hall wrote:


On Jan 9, 2006, at 10:10 AM, Scott Kovatch wrote:



KeyStore ks = KeyStore.getInstance("KeychainStore","Apple");
String path = rtexec(new String[] { "Security","default- keychain" });

This step is unnecessary, as the KeychainStore is just a representation of the current user's default keychain. In fact, the stream argument is ignored altogether. Remember that the keychain can consist of one or more keychain files. That's what you see when you open Keychain Access, or when you use 'security list-keychains'.

Confirmed, null for the FileInputStream on the load method invocation does work. Specifying a different keychain with the FileInputStream parameter does not work to change the keystore.


Having said that, I suppose there's a benefit in having one keystore represent one keychain file. File an enhancement request and I'll look into it.

Bug ID# 4402955

Mike Hall        mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >KeychainStore, more fun with Runtime, for the archives (From: Michael Hall <email@hidden>)
 >Re: KeychainStore, more fun with Runtime, for the archives (From: Scott Kovatch <email@hidden>)
 >Re: KeychainStore, more fun with Runtime, for the archives (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.