5 // Created by Christopher Lloyd on 2/12/10.
6 // Copyright 2010 __MyCompanyName__. All rights reserved.
9 #import <Foundation/Foundation.h>
10 #import <Security/Security.h>
12 @interface SecKeychainItem
: NSObject
{
13 SecItemClass _itemClass
;
14 SecKeychainAttributeList
*_attributeList
;
18 SecKeychainRef _keychain
;
22 - initWithItemClass
:(SecItemClass
)itemClass attributeList
:(SecKeychainAttributeList
*)attributeList length
:(UInt32
)length bytes
:(const void *)bytes
;
24 - (SecItemClass
)itemClass
;
25 - (SecKeychainAttributeList
*)attributeList
;
30 - (SecKeychainRef
)keychain
;
31 - (SecAccessRef
)access
;
33 - (void)setGUID
:(NSString
*)value
;
34 - (void)setKeychain
:(SecKeychainRef
)keychain
;
35 - (void)setAccess
:(SecAccessRef
)access
;
37 - (BOOL
)isMatchToAttributeList
:(const SecKeychainAttributeList
*)other
;
39 - (void)modifyAttributeList
:(const SecKeychainAttributeList
*)attributeList length
:(UInt32
)length bytes
:(const void *)bytes
;
41 - (void)copyAttributeInfo
:(SecKeychainAttributeInfo
*)info itemClass
:(SecItemClass
*)itemClass attributeList
:(SecKeychainAttributeList
**)attributeList length
:(UInt32
*)length bytes
:(void **)bytes
;