]> git.saurik.com Git - apple/security.git/blob - keychain/securityd/SecDbKeychainV7-protobufs/generated_source/SecDbKeychainSerializedMetadataKey.h
Security-59754.41.1.tar.gz
[apple/security.git] / keychain / securityd / SecDbKeychainV7-protobufs / generated_source / SecDbKeychainSerializedMetadataKey.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from SecDbKeychainSerializedMetadataKey.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern "C"
10 #else
11 #define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern
12 #endif
13
14 @interface SecDbKeychainSerializedMetadataKey : PBCodable <NSCopying>
15 {
16 int32_t _actualKeyclass;
17 NSData *_akswrappedkey;
18 NSData *_backupwrappedkey;
19 NSData *_baguuid;
20 int32_t _keyclass;
21 struct {
22 int actualKeyclass:1;
23 int keyclass:1;
24 } _has;
25 }
26
27
28 @property (nonatomic) BOOL hasKeyclass;
29 @property (nonatomic) int32_t keyclass;
30
31 @property (nonatomic) BOOL hasActualKeyclass;
32 @property (nonatomic) int32_t actualKeyclass;
33
34 @property (nonatomic, readonly) BOOL hasBaguuid;
35 @property (nonatomic, retain) NSData *baguuid;
36
37 @property (nonatomic, readonly) BOOL hasAkswrappedkey;
38 @property (nonatomic, retain) NSData *akswrappedkey;
39
40 @property (nonatomic, readonly) BOOL hasBackupwrappedkey;
41 @property (nonatomic, retain) NSData *backupwrappedkey;
42
43 // Performs a shallow copy into other
44 - (void)copyTo:(SecDbKeychainSerializedMetadataKey *)other;
45
46 // Performs a deep merge from other into self
47 // If set in other, singular values in self are replaced in self
48 // Singular composite values are recursively merged
49 // Repeated values from other are appended to repeated values in self
50 - (void)mergeFrom:(SecDbKeychainSerializedMetadataKey *)other;
51
52 SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION BOOL SecDbKeychainSerializedMetadataKeyReadFrom(__unsafe_unretained SecDbKeychainSerializedMetadataKey *self, __unsafe_unretained PBDataReader *reader);
53
54 @end
55