1 // This file was automatically generated by protocompiler
3 // Compiled from OTAuthenticatedCiphertext.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define OTAUTHENTICATEDCIPHERTEXT_FUNCTION extern "C" __attribute__((visibility("hidden")))
11 #define OTAUTHENTICATEDCIPHERTEXT_FUNCTION extern __attribute__((visibility("hidden")))
14 __attribute__((visibility("hidden")))
15 @interface OTAuthenticatedCiphertext
: PBCodable
<NSCopying
>
17 NSData
*_authenticationCode
;
19 NSData
*_initializationVector
;
23 @
property (nonatomic
, retain
) NSData
*ciphertext
;
25 @
property (nonatomic
, retain
) NSData
*authenticationCode
;
27 @
property (nonatomic
, retain
) NSData
*initializationVector
;
29 // Performs a shallow copy into other
30 - (void)copyTo
:(OTAuthenticatedCiphertext
*)other
;
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
;
38 OTAUTHENTICATEDCIPHERTEXT_FUNCTION BOOL
OTAuthenticatedCiphertextReadFrom(__unsafe_unretained OTAuthenticatedCiphertext
*self
, __unsafe_unretained PBDataReader
*reader
);