CKKSSerializedKey.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define CKKSSERIALIZEDKEY_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define CKKSSERIALIZEDKEY_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface CKKSSerializedKey : PBCodable <NSCopying>
{
NSData *_key;
NSString *_keyclass;
NSString *_uuid;
NSString *_zoneName;
}
@property (nonatomic, retain) NSString *uuid;
@property (nonatomic, retain) NSString *zoneName;
@property (nonatomic, retain) NSString *keyclass;
@property (nonatomic, retain) NSData *key;
- (void)copyTo:(CKKSSerializedKey *)other;
- (void)mergeFrom:(CKKSSerializedKey *)other;
CKKSSERIALIZEDKEY_FUNCTION BOOL CKKSSerializedKeyReadFrom(__unsafe_unretained CKKSSerializedKey *self, __unsafe_unretained PBDataReader *reader);
@end