]> git.saurik.com Git - apple/security.git/blob - OSX/sec/securityd/SecDbKeychainV7-protobufs/SecDbKeychainSerializedSecretData.h
Security-58286.270.3.0.1.tar.gz
[apple/security.git] / OSX / sec / securityd / SecDbKeychainV7-protobufs / SecDbKeychainSerializedSecretData.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from foo.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION extern "C"
10 #else
11 #define SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION extern
12 #endif
13
14 @interface SecDbKeychainSerializedSecretData : PBCodable <NSCopying>
15 {
16 NSData *_ciphertext;
17 NSString *_tamperCheck;
18 NSData *_wrappedKey;
19 }
20
21
22 @property (nonatomic, retain) NSData *ciphertext;
23
24 @property (nonatomic, retain) NSData *wrappedKey;
25
26 @property (nonatomic, retain) NSString *tamperCheck;
27
28 // Performs a shallow copy into other
29 - (void)copyTo:(SecDbKeychainSerializedSecretData *)other;
30
31 // Performs a deep merge from other into self
32 // If set in other, singular values in self are replaced in self
33 // Singular composite values are recursively merged
34 // Repeated values from other are appended to repeated values in self
35 - (void)mergeFrom:(SecDbKeychainSerializedSecretData *)other;
36
37 SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION BOOL SecDbKeychainSerializedSecretDataReadFrom(__unsafe_unretained SecDbKeychainSerializedSecretData *self, __unsafe_unretained PBDataReader *reader);
38
39 @end
40