Mobile API Reference  MicroStrategy 2019
SecurityPolicyManager.h
Go to the documentation of this file.
1 //
2 // SecurityPolicyManager.h
3 // MicroStrategyMobile
4 //
5 // Created by Charania, Amirali on 11/12/12.
6 // Copyright (c) 2012 MicroStrategy Inc. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "Enums.h"
11 
12 @class SecurityPolicy;
13 
15 
16 - (void)authorizationSuccess;
17 - (void)authorizationFailure;
19 
20 @end
21 
22 @protocol SecurityPolicyManager <NSObject>
23 
24 - (void)initialize;
25 - (void)initializeWithSecurityPolicy:(SecurityPolicy*)securityPolicy;
26 - (void)authorize;
27 - (void)setSecurityPolicyManagerDelegate:(id<SecurityPolicyManagerDelegate>)delegate;
28 - (BOOL)fileNeedsOnlySoftwareEncryption:(NSString*)fileName;
29 - (EncryptionMode)encryptionMode;
30 - (SecurityPolicy*)securityPolicy;
31 - (BOOL)shouldHideScreenContentsOnBackground;
32 - (BOOL)shouldUnauthorizeOnBackground;
33 - (BOOL)shouldBeAauthorized;
34 - (BOOL)isMappedFileSupported;
35 - (BOOL)webViewShouldLoadDataUsingURL;
36 - (void)clearKey;
37 - (void)clearKeyChain;
38 - (void)deleteKey;
39 - (void)changePassword;
40 - (BOOL)isConfidenfidentialProjectSupported;
41 - (NSOutputStream*)newOutputStreamToFileAtPath:(NSString*)filePath append:(BOOL)append;
42 - (NSInputStream*)newInputStreamWithFileAtPath:(NSString*)filePath;
43 - (BOOL)shouldThrowExceptionIfAccessedBeforeAuhtorization;
44 - (BOOL)shouldUnauthorizeOnDeviceLock;
45 - (BOOL)shouldHideCoverScreen;
46 - (BOOL)shouldPresentMailComposerFromTopModalView;
47 - (void) clearViewController;
48 @end
49 
signed char BOOL
Definition: PDCwtypes.h:101
Definition: SecurityPolicyManager.h:14
enum _EncryptionMode EncryptionMode