Objective-CclassHealthKit
HKHealthWrapEncryptor
@interface HKHealthWrapEncryptor : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 29
- ivar
unsigned int _algorithm;+0x18 - ivar
NSMutableData *_buffer;+0x220 - ivar
struct __SecCertificate *_certificate;+0x10 - ivar
BOOL _compressionEnabled;+0x240 - ivar
struct _CCCryptor *_cryptor;+0x28 - ivar
unsigned long long _encryptedBytesCount;+0x248 - ivar
HKHealthWrapCodableMessageHeader *_header;+0x238 - ivar
unsigned int _hmacAlgorithm;+0x30 - ivar
struct { unsigned int[96] ctx; } _hmacContext;+0x34 - ivar
unsigned int _keySize;+0x20 - ivar
unsigned int _options;+0x1c - ivar
NSOutputStream *_outputStream;+0x8 - ivar
struct CC_SHA256state_st { unsigned int[2] count; unsigned int[8] hash; unsigned int[16] wbuf; } _sha256Context;+0x1b4 - ivar
NSUUID *_studyUUID;+0x228 - ivar
NSUUID *_uuid;+0x230 - method
- (void).cxx_destruct; - method
- (BOOL)_appendEncryptedBytes:(const char *)arg0 length:(unsigned long long)arg1 error:(id *)arg2; - method
- (struct __SecKey { struct __CFRuntimeBase { unsigned long long x0; _Atomic unsigned long long x1; } x0; struct __SecKeyDescriptor * x1; void * x2; } *)_copyAndVerifyPublicKeyFromCertificate:(struct __SecCertificate *)arg0 error:(id *)arg1; - method
- (id)_encryptData:(id)arg0 withCertificate:(struct __SecCertificate *)arg1 error:(id *)arg2; - method
- (BOOL)_finalizeCryptorWithError:(id *)arg0; - method
- (BOOL)_startCryptorWithError:(id *)arg0; - method
- (BOOL)_updateCryptorWithData:(id)arg0 error:(id *)arg1; - method
- (BOOL)_updateHeaderWithKey:(id)arg0 iv:(id)arg1 hmacKey:(id)arg2 error:(id *)arg3; - method
- (BOOL)_writeStream:(const char *)arg0 length:(unsigned long long)arg1 hash:(BOOL)arg2 error:(id *)arg3; - method
- (BOOL)appendData:(id)arg0 error:(id *)arg1; - method
- (void)dealloc; - method
- (BOOL)finalizeWithError:(id *)arg0; - method
- (id)initWithOutputStream:(id)arg0 certificate:(struct __SecCertificate *)arg1 algorithm:(unsigned int)arg2 options:(unsigned int)arg3 keySize:(unsigned int)arg4 uuid:(id)arg5 studyUUID:(id)arg6 compressionEnabled:(BOOL)arg7; - method
- (BOOL)startWithError:(id *)arg0;
Header
@interface HKHealthWrapEncryptor : NSObject { NSOutputStream *_outputStream; struct __SecCertificate *_certificate; unsigned int _algorithm; unsigned int _options; unsigned int _keySize; struct _CCCryptor *_cryptor; unsigned int _hmacAlgorithm; struct { unsigned int ctx[96]; } _hmacContext; struct CC_SHA256state_st _sha256Context; NSMutableData *_buffer; NSUUID *_studyUUID; NSUUID *_uuid; HKHealthWrapCodableMessageHeader *_header; BOOL _compressionEnabled; unsigned long long _encryptedBytesCount; } - (BOOL)startWithError:(id *)error; - (BOOL)finalizeWithError:(id *)error; - (void).cxx_destruct; - (void)dealloc; - (BOOL)_writeStream:(const char *)_writeStream length:(unsigned long long)length hash:(BOOL)hash error:(id *)error; - (BOOL)_appendEncryptedBytes:(const char *)_appendEncryptedBytes length:(unsigned long long)length error:(id *)error; - (struct __SecKey { struct __CFRuntimeBase { unsigned long long x0; _Atomic unsigned long long x1; } x0; struct __SecKeyDescriptor * x1; void * x2; } *)_copyAndVerifyPublicKeyFromCertificate:(struct __SecCertificate *)certificate error:(id *)error; - (id)_encryptData:(id)_encryptData withCertificate:(struct __SecCertificate *)withCertificate error:(id *)error; - (BOOL)_finalizeCryptorWithError:(id *)error; - (BOOL)_startCryptorWithError:(id *)error; - (BOOL)_updateCryptorWithData:(id)data error:(id *)error; - (BOOL)_updateHeaderWithKey:(id)key iv:(id)iv hmacKey:(id)hmacKey error:(id *)error; - (BOOL)appendData:(id)appendData error:(id *)error; - (id)initWithOutputStream:(id)outputStream certificate:(struct __SecCertificate *)certificate algorithm:(unsigned int)algorithm options:(unsigned int)options keySize:(unsigned int)keySize uuid:(id)uuid studyUUID:(id)studyUUID compressionEnabled:(BOOL)compressionEnabled; @end