pEpObjCAdapter/PEPObjCAdapter+Internal.h
author buff <andreas@pep-project.org>
Fri, 03 Jul 2020 16:23:14 +0200
changeset 1633 7e933c495942
parent 1583 1fda316207ed
permissions -rw-r--r--
merge IOSAD-172
     1 //
     2 //  PEPIOSAdapter+Internal.h
     3 //  pEpiOSAdapter
     4 //
     5 //  Created by Edouard Tisserant on 11/11/15.
     6 //  Copyright © 2015 p≡p. All rights reserved.
     7 //
     8 
     9 #ifndef PEPIOSAdapter_Internal_h
    10 #define PEPIOSAdapter_Internal_h
    11 
    12 #import "PEPQueue.h"
    13 #import "PEPInternalSession.h"
    14 
    15 NS_ASSUME_NONNULL_BEGIN
    16 
    17 @interface PEPObjCAdapter ()
    18 
    19 /**
    20  unecryptedSubjectEnabled value to use for all sessions created.
    21 
    22  @return Whether or not mail subjects should be encrypted
    23  */
    24 + (BOOL)unEncryptedSubjectEnabled;
    25 
    26 /**
    27  @note That global value is used for all new sessions
    28  @return The current status of passive mode (enabled or not)
    29  */
    30 + (BOOL)passiveModeEnabled;
    31 
    32 /// The passphrase to be used for new own keys, can be `nil`.
    33 + (NSString * _Nullable)passphraseForNewKeys;
    34 
    35 @end
    36 
    37 NS_ASSUME_NONNULL_END
    38 
    39 #endif /* PEPIOSAdapter_Internal_h */