SecEscrowPendingRecord.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECESCROWPENDINGRECORD_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define SECESCROWPENDINGRECORD_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface SecEscrowPendingRecord : PBCodable <NSCopying>
{
uint64_t _lastCloudServicesTriggerTime;
uint64_t _lastEscrowAttemptTime;
uint64_t _triggerRequestTime;
uint64_t _uploadRetries;
NSString *_altDSID;
NSData *_serializedPrerecord;
NSString *_uuid;
BOOL _certCached;
BOOL _uploadCompleted;
struct {
int lastCloudServicesTriggerTime:1;
int lastEscrowAttemptTime:1;
int triggerRequestTime:1;
int uploadRetries:1;
int certCached:1;
int uploadCompleted:1;
} _has;
}
@property (nonatomic, readonly) BOOL hasUuid;
@property (nonatomic, retain) NSString *uuid;
@property (nonatomic) BOOL hasCertCached;
@property (nonatomic) BOOL certCached;
@property (nonatomic, readonly) BOOL hasSerializedPrerecord;
@property (nonatomic, retain) NSData *serializedPrerecord;
@property (nonatomic) BOOL hasLastCloudServicesTriggerTime;
@property (nonatomic) uint64_t lastCloudServicesTriggerTime;
@property (nonatomic) BOOL hasLastEscrowAttemptTime;
@property (nonatomic) uint64_t lastEscrowAttemptTime;
@property (nonatomic) BOOL hasUploadCompleted;
@property (nonatomic) BOOL uploadCompleted;
@property (nonatomic) BOOL hasUploadRetries;
@property (nonatomic) uint64_t uploadRetries;
@property (nonatomic, readonly) BOOL hasAltDSID;
@property (nonatomic, retain) NSString *altDSID;
@property (nonatomic) BOOL hasTriggerRequestTime;
@property (nonatomic) uint64_t triggerRequestTime;
- (void)copyTo:(SecEscrowPendingRecord *)other;
- (void)mergeFrom:(SecEscrowPendingRecord *)other;
SECESCROWPENDINGRECORD_FUNCTION BOOL SecEscrowPendingRecordReadFrom(__unsafe_unretained SecEscrowPendingRecord *self, __unsafe_unretained PBDataReader *reader);
@end