12345678910111213141516171819202122232425262728293031323334353637 |
- #import <Foundation/Foundation.h>
- @interface NCPushNotificationEncryption : NSObject
- @property (nonatomic, copy) NSData *ncPNPublicKey;
- @property (nonatomic, copy) NSData *ncPNPrivateKey;
- + (NCPushNotificationEncryption *)sharedInstance;
- - (BOOL)generatePushNotificationsKeyPair;
- - (NSString *)decryptPushNotification:(NSString *)message withDevicePrivateKey:(NSData *)privateKey;
- @end
|