FROM : Kubernan @ 10191 Technologies
DATE : Fri Nov 26 22:31:11 2004
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.
DATE : Fri Nov 26 22:31:11 2004
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.
| Related mails | Author | Date |
|---|---|---|
| Kubernan @ 10191 T… | Nov 26, 22:31 | |
| Darkshadow | Nov 27, 02:28 | |
| Marc Liyanage | Nov 28, 21:29 |






Cocoa mail archive

