IOSAD-172 Define PEPAdapterError IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Sat, 27 Jun 2020 10:34:41 +0200
branchIOSAD-172
changeset 14902ce9100eb123
parent 1489 0af981323e09
child 1491 89f4f17f60b9
IOSAD-172 Define PEPAdapterError
pEpObjCAdapterFramework/PEPSessionProtocol.h
     1.1 --- a/pEpObjCAdapterFramework/PEPSessionProtocol.h	Sat Jun 27 10:31:35 2020 +0200
     1.2 +++ b/pEpObjCAdapterFramework/PEPSessionProtocol.h	Sat Jun 27 10:34:41 2020 +0200
     1.3 @@ -21,6 +21,13 @@
     1.4  /// Domain for errors indicated by the pEp adapter itself.
     1.5  static NSString * _Nonnull PEPObjCAdapterErrorDomain;
     1.6  
     1.7 +/// Possible errors from adapter without involvement from the engine.
     1.8 +typedef NS_CLOSED_ENUM(int, PEPAdapterError) {
     1.9 +    /// Passwords are limited in size, and this error indicates a password that contains
    1.10 +    /// too many codepoints.
    1.11 +    PEPAdapterErrorPassphraseTooLong = 0
    1.12 +};
    1.13 +
    1.14  @protocol PEPSessionProtocol <NSObject>
    1.15  
    1.16  /** Decrypt a message */