]> git.saurik.com Git - apple/security.git/blob - keychain/ckks/proto/generated_source/CKKSSerializedKey.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / ckks / proto / generated_source / CKKSSerializedKey.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from CKKSSerializedKey.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define CKKSSERIALIZEDKEY_FUNCTION extern "C" __attribute__((visibility("hidden")))
10 #else
11 #define CKKSSERIALIZEDKEY_FUNCTION extern __attribute__((visibility("hidden")))
12 #endif
13
14 __attribute__((visibility("hidden")))
15 @interface CKKSSerializedKey : PBCodable <NSCopying>
16 {
17 NSData *_key;
18 NSString *_keyclass;
19 NSString *_uuid;
20 NSString *_zoneName;
21 }
22
23
24 @property (nonatomic, retain) NSString *uuid;
25
26 @property (nonatomic, retain) NSString *zoneName;
27
28 @property (nonatomic, retain) NSString *keyclass;
29
30 @property (nonatomic, retain) NSData *key;
31
32 // Performs a shallow copy into other
33 - (void)copyTo:(CKKSSerializedKey *)other;
34
35 // Performs a deep merge from other into self
36 // If set in other, singular values in self are replaced in self
37 // Singular composite values are recursively merged
38 // Repeated values from other are appended to repeated values in self
39 - (void)mergeFrom:(CKKSSerializedKey *)other;
40
41 CKKSSERIALIZEDKEY_FUNCTION BOOL CKKSSerializedKeyReadFrom(__unsafe_unretained CKKSSerializedKey *self, __unsafe_unretained PBDataReader *reader);
42
43 @end
44