mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-08-20 12:06:17 +00:00
Architectural changes discussed with @schmittner: Moving the FindMyController out of the environment and using the AccessoryController as the main entry point, also for downloading reports The AccessoryController is now passed as an Environment Object again
54 lines
1.8 KiB
Objective-C
54 lines
1.8 KiB
Objective-C
//
|
||
// AppleAccountData.h
|
||
// AltSign
|
||
//
|
||
// Created by Riley Testut on 11/13/19.
|
||
// Copyright © 2019 Riley Testut. All rights reserved.
|
||
//
|
||
// OpenHaystack – Tracking personal Bluetooth devices via Apple's Find My network
|
||
//
|
||
// Copyright © 2021 Secure Mobile Networking Lab (SEEMOO)
|
||
// Copyright © 2021 The Open Wireless Link Project
|
||
//
|
||
// SPDX-License-Identifier: AGPL-3.0-only
|
||
//
|
||
|
||
#import "ALTAnisetteData.h"
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface AppleAccountData : NSObject <NSCopying, NSSecureCoding>
|
||
|
||
@property(nonatomic, copy) NSString *machineID;
|
||
@property(nonatomic, copy) NSString *oneTimePassword;
|
||
@property(nonatomic, copy) NSString *localUserID;
|
||
@property(nonatomic) unsigned long long routingInfo;
|
||
|
||
@property(nonatomic, copy) NSString *deviceUniqueIdentifier;
|
||
@property(nonatomic, copy) NSString *deviceSerialNumber;
|
||
@property(nonatomic, copy) NSString *deviceDescription;
|
||
|
||
@property(nonatomic, copy) NSDate *date;
|
||
@property(nonatomic, copy) NSLocale *locale;
|
||
@property(nonatomic, copy) NSTimeZone *timeZone;
|
||
|
||
@property(nonatomic, copy) NSData * _Nullable searchPartyToken;
|
||
|
||
- (instancetype)initWithMachineID:(NSString *)machineID
|
||
oneTimePassword:(NSString *)oneTimePassword
|
||
localUserID:(NSString *)localUserID
|
||
routingInfo:(unsigned long long)routingInfo
|
||
deviceUniqueIdentifier:(NSString *)deviceUniqueIdentifier
|
||
deviceSerialNumber:(NSString *)deviceSerialNumber
|
||
deviceDescription:(NSString *)deviceDescription
|
||
date:(NSDate *)date
|
||
locale:(NSLocale *)locale
|
||
timeZone:(NSTimeZone *)timeZone;
|
||
|
||
- (instancetype)initFromALTAnissetteData:(ALTAnisetteData *)altAnisetteData;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|