pEpObjCAdapterFramework/PEPConstants.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 966 38b7edcbbaf9
child 1396 dd79b44a1352
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
dz@850
     1
//
dz@850
     2
//  PEPConstants.h
dz@850
     3
//  PEPObjCAdapterFramework
dz@850
     4
//
dz@850
     5
//  Created by Dirk Zimmermann on 01.03.19.
dz@850
     6
//  Copyright © 2019 p≡p. All rights reserved.
dz@850
     7
//
dz@850
     8
dz@850
     9
#import <Foundation/Foundation.h>
dz@850
    10
dz@850
    11
#pragma mark - Constants
dz@850
    12
dz@850
    13
/** The name of the user */
dz@850
    14
extern NSString *const _Nonnull kPepUsername;
dz@850
    15
dz@850
    16
/** Email address of the contact */
dz@850
    17
extern NSString *const _Nonnull kPepAddress;
dz@850
    18
dz@850
    19
/**
dz@850
    20
 A user ID, used by pEp to map multiple identities to a single user.
dz@850
    21
 This should be a stable ID.
dz@850
    22
 pEp identities set up with mySelf() get a special user ID.
dz@850
    23
 */
dz@850
    24
extern NSString *const _Nonnull kPepUserID;
dz@850
    25
dz@850
    26
/**
dz@850
    27
 Dict key for value isOwn/me.
dz@850
    28
 isOwn indicates the identity is representing me.
dz@850
    29
 */
dz@850
    30
extern NSString *const _Nonnull kPepIsOwn;
dz@850
    31
dz@850
    32
/** The fingerprint for the key for this contact. */
dz@850
    33
extern NSString *const _Nonnull kPepFingerprint;
dz@850
    34
dz@850
    35
/** In an email, the identity this email is from */
dz@850
    36
extern NSString *const _Nonnull kPepFrom;
dz@850
    37
dz@850
    38
/** In an email, the `NSArray` of to recipients */
dz@850
    39
extern NSString *const _Nonnull kPepTo;
dz@850
    40
dz@850
    41
/** In an email, the `NSArray` of CC recipients */
dz@850
    42
extern NSString *const _Nonnull kPepCC;
dz@850
    43
dz@850
    44
/** In an email, the `NSArray` of BCC recipients */
dz@850
    45
extern NSString *const _Nonnull kPepBCC;
dz@850
    46
dz@850
    47
/** The subject of an email */
dz@850
    48
extern NSString *const _Nonnull kPepShortMessage;
dz@850
    49
dz@850
    50
/** The text message of an email */
dz@850
    51
extern NSString *const _Nonnull kPepLongMessage;
dz@850
    52
dz@850
    53
/** HTML message part, if any */
dz@850
    54
extern NSString *const _Nonnull kPepLongMessageFormatted;
dz@850
    55
dz@850
    56
/** NSNumber denoting a boolean. True if that message is supposed to be sent. */
dz@850
    57
extern NSString *const _Nonnull kPepOutgoing;
dz@850
    58
dz@850
    59
/** Sent date of the message (NSDate) */
dz@850
    60
extern NSString *const _Nonnull kPepSent;
dz@850
    61
dz@850
    62
/** Received date of the message (NSDate) */
dz@850
    63
extern NSString *const _Nonnull kPepReceived;
dz@850
    64
dz@850
    65
/** The message ID */
dz@850
    66
extern NSString *const _Nonnull kPepID;
dz@850
    67
dz@850
    68
extern NSString *const _Nonnull kPepReceivedBy;
dz@850
    69
extern NSString *const _Nonnull kPepReplyTo;
dz@850
    70
extern NSString *const _Nonnull kPepInReplyTo;
dz@850
    71
extern NSString *const _Nonnull kPepReferences;
dz@850
    72
extern NSString *const _Nonnull kPepKeywords;
dz@850
    73
extern NSString *const _Nonnull kPepOptFields;
dz@850
    74
dz@850
    75
/** NSArray of attachment dicts */
dz@850
    76
extern NSString *const _Nonnull kPepAttachments;
dz@850
    77
dz@850
    78
/** The pEp internal communication type */
dz@850
    79
extern NSString *const _Nonnull kPepCommType;
dz@850
    80
dz@850
    81
/** The raw message created by pEp (NSData) */
dz@850
    82
extern NSString *const _Nonnull kPepRawMessage;
dz@850
    83
dz@850
    84
/** NSError parameters will use this domain */
dz@850
    85
extern NSString *const _Nonnull PEPSessionErrorDomain;
dz@850
    86
dz@850
    87
/** Optional field "X-pEp-Version" */
dz@850
    88
extern NSString *const _Nonnull kXpEpVersion;
dz@850
    89
dz@850
    90
/** Optional field "X-EncStatus" */
dz@850
    91
extern NSString *const _Nonnull kXEncStatus;
dz@850
    92
dz@850
    93
/** Optional field "X-KeyList" */
dz@850
    94
extern NSString *const _Nonnull kXKeylist;
dz@850
    95
dz@850
    96
/** Key for the boolean flag that denotes own identities */
dz@850
    97
extern NSString *const _Nonnull kPepIsOwnIdentity;
dz@966
    98
dz@966
    99
/** The key of the header for certain sync messages, "pEp-auto-consume". */
dz@966
   100
extern NSString *const _Nonnull kPepHeaderAutoConsume;
dz@966
   101
dz@966
   102
/** The positive value of the header for "pEp-auto-consume". */
dz@966
   103
extern NSString *const _Nonnull kPepValueAutoConsumeYes;