Pasteboard-backed UDID store for the Applilink SDK.
More...
#include <ApplilinkPasteBoard.h>
|
| BOOL | nonPasteBoardUdidFlag |
| | Whether the current UDID was resolved from the old-service pasteboard rather than the current one.
|
Pasteboard-backed UDID store for the Applilink SDK.
◆ convertToData:serviceName:storageIndex:
| - (nullable NSDictionary *) convertToData: |
|
(nullable NSDictionary *) | record |
| serviceName: |
|
(nullable NSString *) | serviceName |
| storageIndex: |
|
(int) | storageIndex |
Builds the caller-facing record dictionary from a decoded record.
- Parameters
-
| record | The decoded record dictionary. |
| serviceName | The pasteboard service name whose hash keys the value cipher. |
| storageIndex | The storage slot index recorded in the result. |
- Returns
- A mutable record carrying the decrypted value and the storage index.
- Ghidra address:
- 0x2682e0
◆ debugLog
Logs the stored pasteboard UDID values across every current-service slot.
- Ghidra address:
- 0x2686a4
◆ deleteWithStorageIndex:error:
| - (BOOL) deleteWithStorageIndex: |
|
(int) | storageIndex |
| error: |
|
(NSError *_Nullable *_Nullable) | error |
Deletes the current-service pasteboard slot at a storage index.
- Parameters
-
| storageIndex | The storage slot index. |
| error | Set to a localised error on failure. |
- Returns
YES on success.
- Ghidra address:
- 0x267dec
◆ getServiceName
| - (NSString *) getServiceName |
|
|
|
The pasteboard service name for advertising UDIDs.
- Returns
- The advertising service name.
- Ghidra address:
- 0x268524
- Ghidra address:
- 0x268524
◆ getServiceNameOld
| - (NSString *) getServiceNameOld |
|
|
|
The pasteboard service name for old-server UDIDs.
- Returns
- The old service name.
- Ghidra address:
- 0x2685e4
- Ghidra address:
- 0x2685e4
◆ storageData
| - (NSDictionary *) storageData |
|
|
|
The stored current-UDID pasteboard record.
- Returns
- The stored record, or nil.
- Ghidra address:
- 0x26700c
- Ghidra address:
- 0x26700c
◆ storageDataOld
| - (NSDictionary *) storageDataOld |
|
|
|
The stored old-service UDID pasteboard record.
- Returns
- The stored record, or nil.
- Ghidra address:
- 0x267208
- Ghidra address:
- 0x267208
◆ storageDataWithServiceName:storageIndex:error:
| - (nullable NSDictionary *) storageDataWithServiceName: |
|
(nullable NSString *) | serviceName |
| storageIndex: |
|
(int) | storageIndex |
| error: |
|
(NSError *_Nullable *_Nullable) | error |
The pasteboard record for a service name and storage index.
- Parameters
-
| serviceName | The pasteboard service name. |
| storageIndex | The storage slot index. |
| error | Set to a localised error when the slot is empty or invalid. |
- Returns
- The stored record, or nil.
- Ghidra address:
- 0x2673a4
◆ validate:error:
| + (BOOL) validate: |
|
(nullable NSDictionary *) | dict |
| error: |
|
(NSError *_Nullable *_Nullable) | error |
Validates a decoded pasteboard record dictionary.
- Parameters
-
| dict | The un-archived record. |
| error | Set to a localised error describing the first invalid field. |
- Returns
YES when the record has a value, entry date, last-access date, and a positive version.
- Ghidra address:
- 0x267ff4
◆ writeStorageData:error:
| - (nullable NSDictionary *) writeStorageData: |
|
(nullable NSString *) | udid |
| error: |
|
(NSError *_Nullable *_Nullable) | error |
Writes a UDID into the first empty current-service pasteboard slot.
- Parameters
-
| udid | The UDID to store. |
| error | Set to a localised error on failure. |
- Returns
- The stored record, or nil on failure.
- Ghidra address:
- 0x2677d0
◆ writeStorageData:storageIndex:error:
| - (nullable NSDictionary *) writeStorageData: |
|
(nullable NSString *) | udid |
| storageIndex: |
|
(int) | storageIndex |
| error: |
|
(NSError *_Nullable *_Nullable) | error |
Writes a UDID into a current-service pasteboard slot at a storage index.
- Parameters
-
| udid | The UDID to store. |
| storageIndex | The storage slot index. |
| error | Set to a localised error on failure. |
- Returns
- The stored record, or nil on failure.
- Ghidra address:
- 0x267a20
◆ nonPasteBoardUdidFlag
| - (BOOL) nonPasteBoardUdidFlag |
|
readwritenonatomicassign |
Whether the current UDID was resolved from the old-service pasteboard rather than the current one.
Set when storageData exhausts every current-service slot and falls back to storageDataOld , and cleared once a current-service slot answers.
- Ghidra address:
- 0x2688b0 (getter), 0x2688c0 (setter)
The documentation for this class was generated from the following files: