forked from strik3/openhaystack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppleAccountData.h
53 lines (42 loc) · 1.79 KB
/
AppleAccountData.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// 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