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