Using Keychain for storing archived object ?
Using Keychain for storing archived object ?
- Subject: Using Keychain for storing archived object ?
- From: "Kubernan @ 10191 Technologies" <email@hidden>
- Date: Fri, 26 Nov 2004 22:31:11 +0100
Hello,
My application creates an object that is the result of NSKeyedArchiver in NSData type.
Instead of saving this object in an unsafe external file (using [NSData writeToFile ...] )
i thought to use KeyChain as a secured container such as :
myObject -> archiver -> NSData -> store in keyChain
The object itself is small enough (4ko).
I tried some keyChain API - as a newbie - (such as SecKeychainItemCreateFromContent or SecKeychainAddGenericPassword...),
i can create a keyChain item that (seems) contains my NSData, i can retrieve the item and the data
but the NSKeyedUnarchiver operation on that data totally fails.
Can you tell me if storing NSData type via KeyChain is an available solution ?
If not, what will be the best solution for my need ?
Thx a lot for you help,
K.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden