darling-cocotron/Security/SecKeychain.h

33 lines
881 B
C
Raw Normal View History

2010-03-04 20:49:42 +00:00
//
// SecKeychain.h
// Security
//
// Created by Christopher Lloyd on 2/12/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Security/Security.h>
@class SecKeychainCursor;
@interface SecKeychain : NSObject {
NSArray *_registryPath;
2010-03-04 20:49:42 +00:00
}
+ (SecKeychain *) defaultUserKeychain;
2010-03-04 20:49:42 +00:00
- (NSString *) createGUID;
2010-03-04 20:49:42 +00:00
- (SecKeychainCursor *) createCursorForItemClass: (SecItemClass) itemClass;
2010-03-04 20:49:42 +00:00
2020-05-12 18:51:39 +00:00
- (SecKeychainItemRef) createNextItemAtCursor: (SecKeychainCursor *) cursor
attributeList:
(const SecKeychainAttributeList *)
attributeList;
2010-03-04 20:49:42 +00:00
- (void) addKeychainItem: (SecKeychainItemRef) item;
- (void) removeKeychainItem: (SecKeychainItemRef) item;
- (void) modifyKeychainItem: (SecKeychainItemRef) item;
2010-03-04 20:49:42 +00:00
@end