IOSAD-93 header for encrypt_message_and_add_priv_key()
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 16 May 2018 15:40:34 +0200
changeset 607885f4829bff0
parent 606 a0a4854da6ce
child 608 e637354d3b7f
IOSAD-93 header for encrypt_message_and_add_priv_key()
pEpObjCAdapter/PEPSessionProtocol.h
     1.1 --- a/pEpObjCAdapter/PEPSessionProtocol.h	Wed May 16 08:38:22 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSessionProtocol.h	Wed May 16 15:40:34 2018 +0200
     1.3 @@ -88,6 +88,22 @@
     1.4                                    status:(PEP_STATUS * _Nullable)status
     1.5                                     error:(NSError * _Nullable * _Nullable)error;
     1.6  
     1.7 +/** Encrypt a message dict to the given recipient FPR, attaching the private key */
     1.8 +- (PEPDict * _Nullable)encryptMessageDict:(PEPDict * _Nonnull)messageDict
     1.9 +                                    toFpr:(NSString * _Nonnull)toFpr
    1.10 +                                encFormat:(PEP_enc_format)encFormat
    1.11 +                                    flags:(PEP_decrypt_flags)flags
    1.12 +                                   status:(PEP_STATUS * _Nullable)status
    1.13 +                                    error:(NSError * _Nullable * _Nullable)error __deprecated;
    1.14 +
    1.15 +/** Encrypt a message dict to the given recipient FPR, attaching the private key */
    1.16 +- (PEPMessage * _Nullable)encryptMessage:(PEPMessage * _Nonnull)message
    1.17 +                                   toFpr:(NSString * _Nonnull)toFpr
    1.18 +                               encFormat:(PEP_enc_format)encFormat
    1.19 +                                   flags:(PEP_decrypt_flags)flags
    1.20 +                                  status:(PEP_STATUS * _Nullable)status
    1.21 +                                   error:(NSError * _Nullable * _Nullable)error;
    1.22 +
    1.23  /** Determine the status color of a message to be sent */
    1.24  - (NSNumber * _Nullable)outgoingRatingForMessage:(PEPMessage * _Nonnull)message
    1.25                                             error:(NSError * _Nullable * _Nullable)error;