]> git.saurik.com Git - apple/security.git/blob - certificates/ota_cert_tool/ios_ota_cert_tool/PSIOSCertToolApp.h
Security-57031.30.12.tar.gz
[apple/security.git] / certificates / ota_cert_tool / ios_ota_cert_tool / PSIOSCertToolApp.h
1 //
2 // PSIOSCertToolApp.h
3 // ios_ota_cert_tool
4 //
5 // Created by James Murphy on 12/11/12.
6 // Copyright (c) 2012 James Murphy. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @interface PSIOSCertToolApp : NSObject
12 {
13 @private
14 NSString* _app_name;
15 NSString* _root_directory;
16 NSString* _revoked_directory;
17 NSString* _distrusted_directory;
18 NSString* _certs_directory;
19 NSString* _ev_plist_path;
20 NSString* _info_plist_path;
21 NSString* _top_level_directory;
22 NSString* _outputDir;
23
24 NSArray* _roots;
25 NSArray* _revoked;
26 NSArray* _distrusted;
27 NSArray* _certs;
28
29 NSArray* _plist_name_array;
30
31 }
32
33 @property (readonly) NSString* app_name;
34 @property (readonly) NSString* root_directory;
35 @property (readonly) NSString* revoked_directory;
36 @property (readonly) NSString* distrusted_directory;
37 @property (readonly) NSString* certs_directory;
38 @property (readonly) NSString* ev_plist_path;
39 @property (readonly) NSString* info_plist_path;
40 @property (readonly) NSString* top_level_directory;
41 @property (readonly) NSString* output_directory;
42
43 - (id)init:(int)argc withArguments:(const char**)argv;
44
45 - (BOOL)processCertificates;
46
47 - (BOOL)outputPlistsToDirectory;
48
49 - (BOOL)validate;
50
51 @end