Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / Security / SecKeychain.h
blobbbc91c3e43e657ad0781bb2054f6a3cfa21c9242
1 //
2 // SecKeychain.h
3 // Security
4 //
5 // Created by Christopher Lloyd on 2/12/10.
6 // Copyright 2010 __MyCompanyName__. All rights reserved.
7 //
8 #import <Foundation/Foundation.h>
9 #import <Security/Security.h>
11 @class SecKeychainCursor;
13 @interface SecKeychain : NSObject {
14 NSArray *_registryPath;
17 + (SecKeychain *)defaultUserKeychain;
19 - (NSString *)createGUID;
21 - (SecKeychainCursor *)createCursorForItemClass:(SecItemClass)itemClass;
23 - (SecKeychainItemRef)createNextItemAtCursor:(SecKeychainCursor *)cursor attributeList:(const SecKeychainAttributeList *)attributeList;
25 - (void)addKeychainItem:(SecKeychainItemRef)item;
26 - (void)removeKeychainItem:(SecKeychainItemRef)item;
27 - (void)modifyKeychainItem:(SecKeychainItemRef)item;
29 @end