@procivis/react-native-one-core 1.33398.0 → 1.41710.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -26
- package/android/build.gradle +27 -3
- package/android/build.gradle_opensource +121 -0
- package/android/libs/core-reactnative-compatible-2025.0305.1.aar +0 -0
- package/android/src/main/AndroidManifest.xml +5 -2
- package/android/src/main/java/ch/procivis/one/core/Deserialize.kt +5 -5
- package/android/src/main/java/ch/procivis/one/core/DeserializeSpecific.kt +3 -2
- package/android/src/main/java/ch/procivis/one/core/ProcivisOneCoreModule.kt +99 -12
- package/android/src/main/java/ch/procivis/one/core/ProcivisOneCorePackage.kt +3 -4
- package/android/src/main/java/ch/procivis/one/core/SerializeSpecific.kt +6 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadRunner.kt +123 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt +23 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadViewManager.kt_opensource +20 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/PinPadWrapper.kt +396 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/RegistrationManager.kt +59 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/TokenManager.kt +48 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt +256 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt_opensource +51 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/Util.kt +74 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityRequest.kt +9 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/CreateIdentityResponse.kt +9 -0
- package/android/src/main/java/ch/procivis/one/core/ubiqu/dataformats/RegisterRSEResponse.kt +10 -0
- package/core-sdk.json +6 -6
- package/dist/index.d.ts +7 -0
- package/dist/index.js +10 -4
- package/dist/src/cache.d.ts +0 -4
- package/dist/src/cache.js +0 -5
- package/dist/src/config.d.ts +11 -3
- package/dist/src/core.d.ts +8 -4
- package/dist/src/core.js +67 -0
- package/dist/src/credential.d.ts +1 -0
- package/dist/src/credentialSchema.d.ts +5 -2
- package/dist/src/credentialSchema.js +2 -0
- package/dist/src/history.d.ts +19 -4
- package/dist/src/history.js +10 -1
- package/dist/src/organisation.d.ts +8 -0
- package/dist/src/organisation.js +1 -0
- package/dist/src/proof.d.ts +19 -4
- package/dist/src/proof.js +13 -5
- package/dist/src/trust.d.ts +1 -1
- package/dist/src/ubiqu.d.ts +49 -0
- package/dist/src/ubiqu.js +69 -0
- package/ios/Deserialize.swift +57 -19
- package/ios/EventEmitter.swift +79 -0
- package/ios/ProcivisOneCoreModule.m +30 -4
- package/ios/ProcivisOneCoreModule.swift +141 -14
- package/ios/ProcivisRNOneCore.xcodeproj/project.pbxproj +28 -26
- package/ios/RSEKeyStorage.swift +587 -0
- package/ios/RSEKeyStorage.swift_opensource +49 -0
- package/ios/RSEPinPad.swift +74 -0
- package/ios/RSEPinPad.swift_opensource +21 -0
- package/ios/RSEPinPadManager.m +19 -0
- package/ios/Serialize.swift +40 -20
- package/ios/UBQKit.xcframework/Info.plist +44 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Assets.car +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFCompatibilityMacros.h +37 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFHTTPSessionManager.h +304 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +216 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFNetworking.h +41 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +16 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFSecurityPolicy.h +156 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLRequestSerialization.h +479 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLResponseSerialization.h +310 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/AFURLSessionManager.h +501 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/CardRequestProtocol.h +72 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Constants.h +222 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DeviceBindProtocol.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/DomainSecurityModule.h +43 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ErrorDomains.h +68 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/FreeAssetProtocol.h +40 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/GDataXMLNode.h +214 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSDictionary+Utilities.h +23 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSFileManager+Utilities.h +20 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSString+Utilities.h +23 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/NSURL+Utilities.h +12 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ProtocolBase.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/ResetPinProtocol.h +45 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/Settings.h +120 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequest.h +58 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +37 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +34 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +28 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +35 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +31 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +34 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit-Swift.h +761 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQKit.h +56 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Headers/UBQPacket.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Info.plist +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.abi.json +89006 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.private.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/Modules/module.modulemap +11 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/UBQKit +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/_CodeSignature/CodeResources +597 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/certs +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/checksums +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/pinning_pub +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/static +0 -0
- package/ios/UBQKit.xcframework/ios-arm64/UBQKit.framework/stream +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Assets.car +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFCompatibilityMacros.h +37 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFHTTPSessionManager.h +304 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworkReachabilityManager.h +216 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFNetworking.h +41 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFPlainTextRequestSerializer.h +16 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFSecurityPolicy.h +156 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLRequestSerialization.h +479 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLResponseSerialization.h +310 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/AFURLSessionManager.h +501 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/CardRequestProtocol.h +72 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Constants.h +222 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DeviceBindProtocol.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/DomainSecurityModule.h +43 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ErrorDomains.h +68 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/FreeAssetProtocol.h +40 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/GDataXMLNode.h +214 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSDictionary+Utilities.h +23 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSFileManager+Utilities.h +20 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSString+Utilities.h +23 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/NSURL+Utilities.h +12 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ProtocolBase.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/ResetPinProtocol.h +45 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/Settings.h +120 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequest.h +58 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBaseProcessor.h +37 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestBindProcessor.h +34 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestNullProcessor.h +28 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestResetPinProcessor.h +35 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUnlockProcessor.h +31 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQCardRequestUseProcessor.h +34 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit-Swift.h +1522 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQKit.h +56 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Headers/UBQPacket.h +38 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Info.plist +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.abi.json +89006 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.abi.json +89006 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/UBQKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1099 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/Modules/module.modulemap +11 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/UBQKit +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/_CodeSignature/CodeResources +652 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/certs +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/checksums +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/pinning_pub +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/static +0 -0
- package/ios/UBQKit.xcframework/ios-arm64_x86_64-simulator/UBQKit.framework/stream +0 -0
- package/ios/Util.swift +1 -0
- package/package.json +5 -4
- package/react-native-one-core.podspec +4 -5
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
4
|
+
#ifndef UBQKIT_SWIFT_H
|
|
5
|
+
#define UBQKIT_SWIFT_H
|
|
6
|
+
#pragma clang diagnostic push
|
|
7
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
+
|
|
9
|
+
#if !defined(__has_include)
|
|
10
|
+
# define __has_include(x) 0
|
|
11
|
+
#endif
|
|
12
|
+
#if !defined(__has_attribute)
|
|
13
|
+
# define __has_attribute(x) 0
|
|
14
|
+
#endif
|
|
15
|
+
#if !defined(__has_feature)
|
|
16
|
+
# define __has_feature(x) 0
|
|
17
|
+
#endif
|
|
18
|
+
#if !defined(__has_warning)
|
|
19
|
+
# define __has_warning(x) 0
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
+
# include <swift/objc-prologue.h>
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
28
|
+
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
39
|
+
#include <stdint.h>
|
|
40
|
+
#include <stddef.h>
|
|
41
|
+
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
+
# include <ptrauth.h>
|
|
49
|
+
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
59
|
+
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
+
# define SWIFT_TYPEDEFS 1
|
|
65
|
+
# if __has_include(<uchar.h>)
|
|
66
|
+
# include <uchar.h>
|
|
67
|
+
# elif !defined(__cplusplus)
|
|
68
|
+
typedef uint_least16_t char16_t;
|
|
69
|
+
typedef uint_least32_t char32_t;
|
|
70
|
+
# endif
|
|
71
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
72
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
73
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
74
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
75
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
76
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
77
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
78
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
79
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
80
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
81
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
82
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
83
|
+
#endif
|
|
84
|
+
|
|
85
|
+
#if !defined(SWIFT_PASTE)
|
|
86
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
87
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
88
|
+
#endif
|
|
89
|
+
#if !defined(SWIFT_METATYPE)
|
|
90
|
+
# define SWIFT_METATYPE(X) Class
|
|
91
|
+
#endif
|
|
92
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
93
|
+
# if __has_feature(objc_class_property)
|
|
94
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
95
|
+
# else
|
|
96
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
97
|
+
# endif
|
|
98
|
+
#endif
|
|
99
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
100
|
+
# if __has_attribute(objc_runtime_name)
|
|
101
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
102
|
+
# else
|
|
103
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
104
|
+
# endif
|
|
105
|
+
#endif
|
|
106
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
107
|
+
# if __has_attribute(swift_name)
|
|
108
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
109
|
+
# else
|
|
110
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
111
|
+
# endif
|
|
112
|
+
#endif
|
|
113
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
114
|
+
# if __has_attribute(objc_method_family)
|
|
115
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
116
|
+
# else
|
|
117
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
118
|
+
# endif
|
|
119
|
+
#endif
|
|
120
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
121
|
+
# if __has_attribute(noescape)
|
|
122
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
123
|
+
# else
|
|
124
|
+
# define SWIFT_NOESCAPE
|
|
125
|
+
# endif
|
|
126
|
+
#endif
|
|
127
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
128
|
+
# if __has_attribute(ns_consumed)
|
|
129
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
130
|
+
# else
|
|
131
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
132
|
+
# endif
|
|
133
|
+
#endif
|
|
134
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
135
|
+
# if __has_attribute(warn_unused_result)
|
|
136
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
137
|
+
# else
|
|
138
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
139
|
+
# endif
|
|
140
|
+
#endif
|
|
141
|
+
#if !defined(SWIFT_NORETURN)
|
|
142
|
+
# if __has_attribute(noreturn)
|
|
143
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
144
|
+
# else
|
|
145
|
+
# define SWIFT_NORETURN
|
|
146
|
+
# endif
|
|
147
|
+
#endif
|
|
148
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
149
|
+
# define SWIFT_CLASS_EXTRA
|
|
150
|
+
#endif
|
|
151
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
152
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
153
|
+
#endif
|
|
154
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
155
|
+
# define SWIFT_ENUM_EXTRA
|
|
156
|
+
#endif
|
|
157
|
+
#if !defined(SWIFT_CLASS)
|
|
158
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
159
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
160
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
161
|
+
# else
|
|
162
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
163
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
+
# endif
|
|
165
|
+
#endif
|
|
166
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
167
|
+
# if __has_attribute(objc_class_stub)
|
|
168
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
169
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
170
|
+
# else
|
|
171
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
172
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
173
|
+
# endif
|
|
174
|
+
#endif
|
|
175
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
176
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
177
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
+
#endif
|
|
179
|
+
#if !defined(SWIFT_EXTENSION)
|
|
180
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
181
|
+
#endif
|
|
182
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
183
|
+
# if __has_attribute(objc_designated_initializer)
|
|
184
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
185
|
+
# else
|
|
186
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
187
|
+
# endif
|
|
188
|
+
#endif
|
|
189
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
190
|
+
# if __has_attribute(enum_extensibility)
|
|
191
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
192
|
+
# else
|
|
193
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
194
|
+
# endif
|
|
195
|
+
#endif
|
|
196
|
+
#if !defined(SWIFT_ENUM)
|
|
197
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
198
|
+
# if __has_feature(generalized_swift_name)
|
|
199
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
200
|
+
# else
|
|
201
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
202
|
+
# endif
|
|
203
|
+
#endif
|
|
204
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
205
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
206
|
+
#endif
|
|
207
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
208
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
209
|
+
#endif
|
|
210
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
211
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
212
|
+
#endif
|
|
213
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
214
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
215
|
+
#endif
|
|
216
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
217
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
218
|
+
#endif
|
|
219
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
220
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
221
|
+
#endif
|
|
222
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
223
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
224
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
225
|
+
# else
|
|
226
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
227
|
+
# endif
|
|
228
|
+
#endif
|
|
229
|
+
#if defined(__OBJC__)
|
|
230
|
+
#if !defined(IBSegueAction)
|
|
231
|
+
# define IBSegueAction
|
|
232
|
+
#endif
|
|
233
|
+
#endif
|
|
234
|
+
#if !defined(SWIFT_EXTERN)
|
|
235
|
+
# if defined(__cplusplus)
|
|
236
|
+
# define SWIFT_EXTERN extern "C"
|
|
237
|
+
# else
|
|
238
|
+
# define SWIFT_EXTERN extern
|
|
239
|
+
# endif
|
|
240
|
+
#endif
|
|
241
|
+
#if !defined(SWIFT_CALL)
|
|
242
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
243
|
+
#endif
|
|
244
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
245
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
246
|
+
#endif
|
|
247
|
+
#if !defined(SWIFT_CONTEXT)
|
|
248
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
249
|
+
#endif
|
|
250
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
251
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
252
|
+
#endif
|
|
253
|
+
#if defined(__cplusplus)
|
|
254
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
255
|
+
#else
|
|
256
|
+
# define SWIFT_NOEXCEPT
|
|
257
|
+
#endif
|
|
258
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
259
|
+
# if __has_attribute(always_inline)
|
|
260
|
+
# if __has_attribute(nodebug)
|
|
261
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
262
|
+
# else
|
|
263
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
264
|
+
# endif
|
|
265
|
+
# else
|
|
266
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
267
|
+
# endif
|
|
268
|
+
#endif
|
|
269
|
+
#if defined(_WIN32)
|
|
270
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
271
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
272
|
+
#endif
|
|
273
|
+
#else
|
|
274
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
275
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
276
|
+
#endif
|
|
277
|
+
#endif
|
|
278
|
+
#if defined(__OBJC__)
|
|
279
|
+
#if __has_feature(objc_modules)
|
|
280
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
281
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
282
|
+
#endif
|
|
283
|
+
@import CoreFoundation;
|
|
284
|
+
@import Dispatch;
|
|
285
|
+
@import Foundation;
|
|
286
|
+
@import ObjectiveC;
|
|
287
|
+
@import Security;
|
|
288
|
+
@import UIKit;
|
|
289
|
+
#endif
|
|
290
|
+
|
|
291
|
+
#endif
|
|
292
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
293
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
294
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
295
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
296
|
+
#endif
|
|
297
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
298
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
299
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
300
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
301
|
+
|
|
302
|
+
#if __has_attribute(external_source_symbol)
|
|
303
|
+
# pragma push_macro("any")
|
|
304
|
+
# undef any
|
|
305
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="UBQKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
306
|
+
# pragma pop_macro("any")
|
|
307
|
+
#endif
|
|
308
|
+
|
|
309
|
+
#if defined(__OBJC__)
|
|
310
|
+
@class NSData;
|
|
311
|
+
|
|
312
|
+
SWIFT_CLASS("_TtC6UBQKit6AESCBC")
|
|
313
|
+
@interface AESCBC : NSObject
|
|
314
|
+
+ (NSData * _Nullable)encrypt:(NSData * _Nonnull)data using:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
315
|
+
+ (NSData * _Nullable)decrypt:(NSData * _Nonnull)data using:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
316
|
+
+ (NSData * _Nullable)encryptNoPadding:(NSData * _Nonnull)data key:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
317
|
+
+ (NSData * _Nullable)decryptNoPadding:(NSData * _Nonnull)data key:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
318
|
+
+ (NSData * _Nullable)decryptNoPaddingNoIV:(NSData * _Nonnull)data key:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
319
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
320
|
+
@end
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
SWIFT_CLASS("_TtC6UBQKit10AESKeyWrap")
|
|
324
|
+
@interface AESKeyWrap : NSObject
|
|
325
|
+
+ (NSData * _Nullable)wrapWithKey:(NSData * _Nonnull)key using:(NSData * _Nonnull)wrapperKey SWIFT_WARN_UNUSED_RESULT;
|
|
326
|
+
+ (NSData * _Nullable)unwrapWithWrappedKey:(NSData * _Nonnull)wrappedKey using:(NSData * _Nonnull)wrapperKey SWIFT_WARN_UNUSED_RESULT;
|
|
327
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
328
|
+
@end
|
|
329
|
+
|
|
330
|
+
@class NSString;
|
|
331
|
+
|
|
332
|
+
SWIFT_CLASS("_TtC6UBQKit18ApplicationMessage")
|
|
333
|
+
@interface ApplicationMessage : NSObject
|
|
334
|
+
@property (nonatomic, readonly) NSUInteger command;
|
|
335
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable payload;
|
|
336
|
+
@property (nonatomic, readonly, copy) NSData * _Nullable wrappedVerificationKey;
|
|
337
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
338
|
+
/// Initialize a UBQ command with payload.
|
|
339
|
+
/// \param command The UBQ command.
|
|
340
|
+
///
|
|
341
|
+
/// \param payload The payload to send, represented as hex string.
|
|
342
|
+
///
|
|
343
|
+
/// \param wrappedVerificationKey The wrapped verification key.
|
|
344
|
+
///
|
|
345
|
+
- (nonnull instancetype)initWithCommand:(NSUInteger)command payload:(NSString * _Nullable)payload wrappedVerificationKey:(NSData * _Nullable)wrappedVerificationKey OBJC_DESIGNATED_INITIALIZER;
|
|
346
|
+
- (nonnull instancetype)initWithCommand:(NSUInteger)command payload:(NSString * _Nullable)payload;
|
|
347
|
+
- (nonnull instancetype)initWithCommand:(NSUInteger)command;
|
|
348
|
+
- (nonnull instancetype)initWithString:(NSString * _Nonnull)string;
|
|
349
|
+
- (BOOL)validateWithCommand:(NSUInteger)command SWIFT_WARN_UNUSED_RESULT;
|
|
350
|
+
- (BOOL)validateWithCommands:(NSArray<NSNumber *> * _Nonnull)commands SWIFT_WARN_UNUSED_RESULT;
|
|
351
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
352
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
353
|
+
@end
|
|
354
|
+
|
|
355
|
+
@class Token;
|
|
356
|
+
@class IdentityProvider;
|
|
357
|
+
enum AssetState : NSInteger;
|
|
358
|
+
@class NSCoder;
|
|
359
|
+
@class UBQCardRequest;
|
|
360
|
+
|
|
361
|
+
SWIFT_CLASS("_TtC6UBQKit5Asset")
|
|
362
|
+
@interface Asset : NSObject
|
|
363
|
+
/// The token of the channel associated with the asset.
|
|
364
|
+
@property (nonatomic, readonly, strong) Token * _Nonnull channelToken;
|
|
365
|
+
@property (nonatomic, unsafe_unretained) IdentityProvider * _Null_unspecified identityProvider;
|
|
366
|
+
/// The token of the idp that owns the asset.
|
|
367
|
+
@property (nonatomic, readonly, strong) Token * _Nonnull idpToken;
|
|
368
|
+
/// The badge number shown in the profiles screen.
|
|
369
|
+
@property (nonatomic) NSInteger badgeNumber;
|
|
370
|
+
/// Is biometric authentication enabled for this asset.
|
|
371
|
+
@property (nonatomic) BOOL biometricAuthentication;
|
|
372
|
+
@property (nonatomic) BOOL deviceKeyUsed;
|
|
373
|
+
@property (nonatomic) BOOL usesSVM;
|
|
374
|
+
/// The label used to display the asset.
|
|
375
|
+
@property (nonatomic, copy) NSString * _Nonnull label;
|
|
376
|
+
/// The known asset state. This should be modified if the asset is locked or revoked.
|
|
377
|
+
@property (nonatomic) enum AssetState state;
|
|
378
|
+
- (nonnull instancetype)initWithChannelToken:(Token * _Nonnull)channelToken identityProvider:(IdentityProvider * _Nonnull)identityProvider OBJC_DESIGNATED_INITIALIZER;
|
|
379
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
380
|
+
/// Create an asset.
|
|
381
|
+
/// \param token The token of the asset.
|
|
382
|
+
///
|
|
383
|
+
/// \param provider The identity provider of the asset.
|
|
384
|
+
///
|
|
385
|
+
/// \param name The name of the asset.
|
|
386
|
+
///
|
|
387
|
+
- (nonnull instancetype)initWithToken:(Token * _Nonnull)token provider:(IdentityProvider * _Nonnull)provider OBJC_DESIGNATED_INITIALIZER;
|
|
388
|
+
- (void)revokeWithCompletionBlock:(void (^ _Nullable)(BOOL, NSError * _Nullable))completionBlock;
|
|
389
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
390
|
+
- (NSData * _Nullable)getSVMWithKey:(NSInteger)key direction:(NSInteger)direction SWIFT_WARN_UNUSED_RESULT;
|
|
391
|
+
- (NSData * _Nullable)getSVMWithCardRequest:(UBQCardRequest * _Nonnull)cardRequest direction:(NSInteger)direction SWIFT_WARN_UNUSED_RESULT;
|
|
392
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
393
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
394
|
+
@end
|
|
395
|
+
|
|
396
|
+
typedef SWIFT_ENUM(NSInteger, AssetState, open) {
|
|
397
|
+
AssetStateNormal = 0,
|
|
398
|
+
AssetStateLocked = 1,
|
|
399
|
+
AssetStateRevoked = 2,
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
@interface Asset (SWIFT_EXTENSION(UBQKit)) <NSCoding>
|
|
404
|
+
- (void)encodeWithCoder:(NSCoder * _Nonnull)coder;
|
|
405
|
+
@end
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
SWIFT_CLASS("_TtC6UBQKit12AssetManager")
|
|
409
|
+
@interface AssetManager : NSObject
|
|
410
|
+
/// The default asset manager.
|
|
411
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) AssetManager * _Nonnull standard;)
|
|
412
|
+
+ (AssetManager * _Nonnull)standard SWIFT_WARN_UNUSED_RESULT;
|
|
413
|
+
+ (void)setStandard:(AssetManager * _Nonnull)value;
|
|
414
|
+
- (BOOL)removeAssetForToken:(Token * _Nonnull)assetToken;
|
|
415
|
+
- (void)save;
|
|
416
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
417
|
+
@end
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
@class Domain;
|
|
421
|
+
|
|
422
|
+
SWIFT_CLASS("_TtC6UBQKit12ChannelState")
|
|
423
|
+
@interface ChannelState : NSObject <NSCoding>
|
|
424
|
+
/// Address of this end point to the associated channel.
|
|
425
|
+
@property (nonatomic, strong) Token * _Nonnull token;
|
|
426
|
+
/// Domain that specifies the server at the end of the associated channel. This should be the domain whose serverToken corresponds to the ChannelState’s serverToken.
|
|
427
|
+
@property (nonatomic, strong) Domain * _Nonnull domain;
|
|
428
|
+
/// The encrypted master key.
|
|
429
|
+
@property (nonatomic, copy) NSData * _Nullable wrappedMasterKey;
|
|
430
|
+
/// The encrypted active channel key.
|
|
431
|
+
@property (nonatomic, copy) NSData * _Nullable wrappedChannelKey;
|
|
432
|
+
@property (nonatomic, copy) NSString * _Nullable apnsRegistrationID;
|
|
433
|
+
@property (nonatomic, copy) NSData * _Nullable svm;
|
|
434
|
+
@property (nonatomic, readonly) BOOL isInitial;
|
|
435
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
436
|
+
- (void)registerForToken:(Token * _Nonnull)token wrappedChannelKey:(NSData * _Nonnull)wrappedChannelKey;
|
|
437
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
438
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
439
|
+
@end
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
@interface ChannelState (SWIFT_EXTENSION(UBQKit))
|
|
443
|
+
- (void)encodeWithCoder:(NSCoder * _Nonnull)coder;
|
|
444
|
+
@end
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
SWIFT_CLASS("_TtC6UBQKit6Domain")
|
|
448
|
+
@interface Domain : NSObject
|
|
449
|
+
/// The current domain.
|
|
450
|
+
/// note:
|
|
451
|
+
/// There is only one domain per application.
|
|
452
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) Domain * _Null_unspecified current;)
|
|
453
|
+
+ (Domain * _Null_unspecified)current SWIFT_WARN_UNUSED_RESULT;
|
|
454
|
+
+ (void)setCurrent:(Domain * _Null_unspecified)value;
|
|
455
|
+
/// The public key data.
|
|
456
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull publicKeyData;
|
|
457
|
+
/// All loaded assets.
|
|
458
|
+
@property (nonatomic, readonly, copy) NSArray<Asset *> * _Nonnull assets;
|
|
459
|
+
/// Retrieve an asset by its token.
|
|
460
|
+
/// \param token The token to search with.
|
|
461
|
+
///
|
|
462
|
+
///
|
|
463
|
+
/// returns:
|
|
464
|
+
/// The found asset or <code>nil</code> when it was not found.
|
|
465
|
+
- (Asset * _Nullable)assetFor:(Token * _Nonnull)token SWIFT_WARN_UNUSED_RESULT;
|
|
466
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
467
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
468
|
+
@end
|
|
469
|
+
|
|
470
|
+
@class DomainSecurityModule;
|
|
471
|
+
@class UBQPacket;
|
|
472
|
+
|
|
473
|
+
SWIFT_CLASS("_TtC6UBQKit13DomainChannel")
|
|
474
|
+
@interface DomainChannel : NSObject
|
|
475
|
+
/// Stores the security module used to sign and verify UBQ packets.
|
|
476
|
+
@property (nonatomic, readonly, strong) DomainSecurityModule * _Nonnull securityModule;
|
|
477
|
+
/// Stores the state of the connection.
|
|
478
|
+
@property (nonatomic, readonly, strong) ChannelState * _Nonnull channelState;
|
|
479
|
+
- (nonnull instancetype)initWithDomainSecurityModule:(DomainSecurityModule * _Nonnull)dsm channelState:(ChannelState * _Nonnull)channelState OBJC_DESIGNATED_INITIALIZER;
|
|
480
|
+
- (void)send:(ApplicationMessage * _Nonnull)msg priority:(BOOL)priority success:(void (^ _Nonnull)(ApplicationMessage * _Nonnull))success failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
481
|
+
- (void)send:(ApplicationMessage * _Nonnull)msg success:(void (^ _Nonnull)(ApplicationMessage * _Nonnull))success failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
482
|
+
- (dispatch_semaphore_t _Nonnull)setBlock SWIFT_WARN_UNUSED_RESULT;
|
|
483
|
+
- (UBQPacket * _Nonnull)createSignedPacketFromPayload:(NSString * _Nonnull)payload SWIFT_WARN_UNUSED_RESULT;
|
|
484
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
485
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
486
|
+
@end
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
SWIFT_CLASS("_TtC6UBQKit13DomainManager")
|
|
490
|
+
@interface DomainManager : NSObject
|
|
491
|
+
/// The default domain manager.
|
|
492
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) DomainManager * _Nonnull standard;)
|
|
493
|
+
+ (DomainManager * _Nonnull)standard SWIFT_WARN_UNUSED_RESULT;
|
|
494
|
+
+ (void)setStandard:(DomainManager * _Nonnull)value;
|
|
495
|
+
/// Stores a reference to the security module used to authenticate messages.
|
|
496
|
+
@property (nonatomic, readonly, strong) DomainSecurityModule * _Nonnull securityModule;
|
|
497
|
+
/// Creates an unitialized channel for the default domain.
|
|
498
|
+
/// TODO: When in full Swift, add the throws
|
|
499
|
+
- (DomainChannel * _Nullable)createChannel SWIFT_WARN_UNUSED_RESULT;
|
|
500
|
+
/// Add a channel state to the list of the registered channel states.
|
|
501
|
+
- (void)addWithChannelState:(ChannelState * _Nonnull)state;
|
|
502
|
+
- (DomainChannel * _Nullable)channelForChannelToken:(Token * _Nonnull)token SWIFT_WARN_UNUSED_RESULT;
|
|
503
|
+
/// Save the channel states and write to disk.
|
|
504
|
+
- (void)save;
|
|
505
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
506
|
+
@end
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
SWIFT_CLASS("_TtC6UBQKit9FMVersion")
|
|
510
|
+
@interface FMVersion : NSObject
|
|
511
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
512
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
513
|
+
@end
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
SWIFT_CLASS("_TtC6UBQKit10HMACSHA256")
|
|
519
|
+
@interface HMACSHA256 : NSObject
|
|
520
|
+
/// Calculate the HMAC using SHA-256 for the data.
|
|
521
|
+
/// \param data The data to mac.
|
|
522
|
+
///
|
|
523
|
+
/// \param key The key used to mac.
|
|
524
|
+
///
|
|
525
|
+
///
|
|
526
|
+
/// returns:
|
|
527
|
+
/// The computed HMAC.
|
|
528
|
+
+ (NSData * _Nonnull)mac:(NSData * _Nonnull)data key:(NSData * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
529
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
530
|
+
@end
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
SWIFT_CLASS("_TtC6UBQKit16IdentityProvider")
|
|
534
|
+
@interface IdentityProvider : NSObject
|
|
535
|
+
/// The identifier.
|
|
536
|
+
@property (nonatomic, readonly, strong) Token * _Nonnull token;
|
|
537
|
+
/// The name.
|
|
538
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull name;
|
|
539
|
+
/// The public key.
|
|
540
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull publicKey;
|
|
541
|
+
/// The URL scheme used for URL scheme querying.
|
|
542
|
+
@property (nonatomic, copy) NSString * _Nullable urlScheme;
|
|
543
|
+
/// The theme of the identity provider.
|
|
544
|
+
@property (nonatomic, readonly) NSInteger theme;
|
|
545
|
+
/// The assets of the identity provider.
|
|
546
|
+
@property (nonatomic, copy) NSArray<Asset *> * _Nonnull assets;
|
|
547
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
548
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
549
|
+
@end
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
@interface NSData (SWIFT_EXTENSION(UBQKit))
|
|
555
|
+
/// Generate random data of a specific size.
|
|
556
|
+
/// note:
|
|
557
|
+
/// Uses both a system random and a mersenne twister implementation.
|
|
558
|
+
/// \param size The number of random bytes to generate.
|
|
559
|
+
///
|
|
560
|
+
///
|
|
561
|
+
/// returns:
|
|
562
|
+
/// The randomly generated bytes.
|
|
563
|
+
+ (NSData * _Nonnull)randomOfSize:(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
564
|
+
@end
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
@interface NSData (SWIFT_EXTENSION(UBQKit))
|
|
568
|
+
/// Initialize a <code>Data</code> object from a hexadecimal <code>String</code>.
|
|
569
|
+
/// note:
|
|
570
|
+
/// The initializer will fail when invalid hexadecimal data is provided.
|
|
571
|
+
/// \param hexString The hexadecimal string.
|
|
572
|
+
///
|
|
573
|
+
- (nullable instancetype)initWithHexString:(NSString * _Nonnull)hexString;
|
|
574
|
+
/// Retrieve the hexadecimal string for the data.
|
|
575
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull hexadecimal;
|
|
576
|
+
/// XOR operation for two <code>NSData</code> objects.
|
|
577
|
+
/// note:
|
|
578
|
+
/// The function will fail if the two parameters differ from size.
|
|
579
|
+
/// \param lhs The first <code>NSData</code> object.
|
|
580
|
+
///
|
|
581
|
+
/// \param rhs The second <code>NSData</code> object.
|
|
582
|
+
///
|
|
583
|
+
+ (NSData * _Nonnull)xorWithBytes:(NSData * _Nonnull)lhs with:(NSData * _Nonnull)rhs SWIFT_WARN_UNUSED_RESULT;
|
|
584
|
+
@end
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
@interface NSDate (SWIFT_EXTENSION(UBQKit))
|
|
588
|
+
/// Creates a 4-byte UNIX timestamp of the specified date and time.
|
|
589
|
+
@property (nonatomic, readonly, strong) NSString * _Nonnull hexTimeStamp;
|
|
590
|
+
@end
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
@interface NSString (SWIFT_EXTENSION(UBQKit))
|
|
594
|
+
/// Indication if a <code>String</code> contains only hexadecimal characters.
|
|
595
|
+
@property (nonatomic, readonly) BOOL isHexString;
|
|
596
|
+
- (NSString * _Nonnull)insertWithSeparator:(NSString * _Nonnull)separator every:(NSInteger)n SWIFT_WARN_UNUSED_RESULT;
|
|
597
|
+
@end
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
SWIFT_CLASS("_TtC6UBQKit3RSA")
|
|
601
|
+
@interface RSA : NSObject
|
|
602
|
+
+ (NSData * _Nullable)encrypt:(NSData * _Nonnull)data publicKeyData:(NSData * _Nonnull)keyData SWIFT_WARN_UNUSED_RESULT;
|
|
603
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
604
|
+
@end
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
SWIFT_CLASS("_TtC6UBQKit14SecKeyDelegate")
|
|
608
|
+
@interface SecKeyDelegate : NSObject
|
|
609
|
+
/// This is a replacement for the old <code>RootStore</code>.
|
|
610
|
+
/// \param alias The alias/identifier of the secret key.
|
|
611
|
+
///
|
|
612
|
+
/// \param overwrite Boolean value indicating whether or not the key should be overwritten or not.
|
|
613
|
+
///
|
|
614
|
+
+ (NSData * _Nonnull)secretKeyWithAlias:(NSString * _Nonnull)alias overwrite:(BOOL)overwrite SWIFT_WARN_UNUSED_RESULT;
|
|
615
|
+
/// The Objective-C helper function, as the <code>Tags</code> class is unavailable.
|
|
616
|
+
/// \param identifier The identifier of the key.
|
|
617
|
+
///
|
|
618
|
+
+ (NSData * _Nullable)getSymmetricKeyWithIdentifier:(NSString * _Nonnull)identifier SWIFT_WARN_UNUSED_RESULT;
|
|
619
|
+
+ (void)storeSymmetricKeyWithIdentifier:(NSString * _Nonnull)identifier key:(NSData * _Nonnull)key;
|
|
620
|
+
+ (void)deleteSymmetricKeyWithIdentifier:(NSString * _Nonnull)identifier;
|
|
621
|
+
+ (NSData * _Nullable)wrapWithKey:(NSData * _Nonnull)key with:(NSData * _Nonnull)wrapperKey SWIFT_WARN_UNUSED_RESULT;
|
|
622
|
+
+ (NSData * _Nullable)unwrapWithKey:(NSData * _Nonnull)key with:(NSData * _Nonnull)wrapperKey SWIFT_WARN_UNUSED_RESULT;
|
|
623
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
624
|
+
@end
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/// Objective-C helper class.
|
|
628
|
+
/// The nested <code>Tags</code> class in the <code>SecKeyDelegate</code> object cannot be accessed with Objective-C.
|
|
629
|
+
/// This class will assist in that matter.
|
|
630
|
+
SWIFT_CLASS("_TtC6UBQKit18SecKeyDelegateTags")
|
|
631
|
+
@interface SecKeyDelegateTags : NSObject
|
|
632
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull assets;)
|
|
633
|
+
+ (NSString * _Nonnull)assets SWIFT_WARN_UNUSED_RESULT;
|
|
634
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull secureState;)
|
|
635
|
+
+ (NSString * _Nonnull)secureState SWIFT_WARN_UNUSED_RESULT;
|
|
636
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull secureStateOld;)
|
|
637
|
+
+ (NSString * _Nonnull)secureStateOld SWIFT_WARN_UNUSED_RESULT;
|
|
638
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull channelState;)
|
|
639
|
+
+ (NSString * _Nonnull)channelState SWIFT_WARN_UNUSED_RESULT;
|
|
640
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull channelStateOld;)
|
|
641
|
+
+ (NSString * _Nonnull)channelStateOld SWIFT_WARN_UNUSED_RESULT;
|
|
642
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull wrapper;)
|
|
643
|
+
+ (NSString * _Nonnull)wrapper SWIFT_WARN_UNUSED_RESULT;
|
|
644
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
645
|
+
@end
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
SWIFT_CLASS("_TtC6UBQKit20SecureEnclaveManager")
|
|
649
|
+
@interface SecureEnclaveManager : NSObject
|
|
650
|
+
/// Create an ECDSA X962 SHA-256 signature of data. Data will be hashed by the functon.
|
|
651
|
+
+ (NSData * _Nullable)signWithKey:(SecKeyRef _Nonnull)key data:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
652
|
+
/// Returns a DER formatted publick key based upon the reference to the private key
|
|
653
|
+
+ (NSData * _Nullable)getPublicKeyDerFormatted:(SecKeyRef _Nonnull)privateKeyReference error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
654
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
655
|
+
@end
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
SWIFT_CLASS("_TtC6UBQKit15TemporaryHelper")
|
|
659
|
+
@interface TemporaryHelper : NSObject
|
|
660
|
+
+ (void)decodeCardRequest:(NSData * _Nonnull)data;
|
|
661
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
662
|
+
@end
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
SWIFT_CLASS("_TtC6UBQKit5Token")
|
|
666
|
+
@interface Token : NSObject <NSCoding>
|
|
667
|
+
/// Contains the byte data for the token.
|
|
668
|
+
@property (nonatomic, readonly, copy) NSData * _Nonnull data;
|
|
669
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull hexValue;
|
|
670
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
671
|
+
+ (Token * _Nullable)tokenWithHexString:(NSString * _Nonnull)hex SWIFT_WARN_UNUSED_RESULT;
|
|
672
|
+
+ (Token * _Nullable)tokenWithData:(NSData * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
673
|
+
- (nullable instancetype)initWithHexString:(NSString * _Nonnull)hexString;
|
|
674
|
+
- (BOOL)isEqualTo:(Token * _Nonnull)token SWIFT_WARN_UNUSED_RESULT;
|
|
675
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
676
|
+
- (void)encodeWithCoder:(NSCoder * _Nonnull)coder;
|
|
677
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
678
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
679
|
+
@end
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
@interface Token (SWIFT_EXTENSION(UBQKit)) <NSCopying>
|
|
683
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
684
|
+
@end
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
SWIFT_CLASS("_TtC6UBQKit14UBQInternalPad")
|
|
688
|
+
@interface UBQInternalPad : UIView
|
|
689
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
690
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
691
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
692
|
+
@end
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
SWIFT_CLASS("_TtC6UBQKit9UBQKeyPad")
|
|
697
|
+
@interface UBQKeyPad : UBQInternalPad
|
|
698
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
699
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
700
|
+
@end
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
SWIFT_CLASS("_TtC6UBQKit9UBQPinPad")
|
|
704
|
+
@interface UBQPinPad : UBQInternalPad
|
|
705
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
706
|
+
@end
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
SWIFT_CLASS("_TtC6UBQKit19UBQSecurityStrategy")
|
|
710
|
+
@interface UBQSecurityStrategy : NSObject
|
|
711
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) UBQSecurityStrategy * _Nonnull standard;)
|
|
712
|
+
+ (UBQSecurityStrategy * _Nonnull)standard SWIFT_WARN_UNUSED_RESULT;
|
|
713
|
+
+ (void)setStandard:(UBQSecurityStrategy * _Nonnull)value;
|
|
714
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
715
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
716
|
+
- (BOOL)verify:(NSData * _Nonnull)message signature:(NSData * _Nonnull)signature publicSlotGroupKey:(NSData * _Nonnull)publicSlotGroupKey SWIFT_WARN_UNUSED_RESULT;
|
|
717
|
+
- (NSData * _Nullable)createTransportKeysWithProviderID:(NSData * _Nonnull)providerID cardUUID:(NSData * _Nonnull)cardUUID hashes:(NSData * _Nonnull)hashes SWIFT_WARN_UNUSED_RESULT;
|
|
718
|
+
- (NSData * _Nullable)encryptedPhoneRandom:(NSData * _Nonnull)publicSlotGroupKey SWIFT_WARN_UNUSED_RESULT;
|
|
719
|
+
/// Encrypt bind response for V1/V3
|
|
720
|
+
- (NSData * _Nullable)aesEncryptedBindResponseWithProviderID:(NSData * _Nonnull)providerID cardUUID:(NSData * _Nonnull)cardUUID hashes:(NSData * _Nonnull)hashes hsmRandom:(NSData * _Nonnull)hsmRandom SWIFT_WARN_UNUSED_RESULT;
|
|
721
|
+
/// Encrypt bind response for V4 (contains device public key)
|
|
722
|
+
- (NSData * _Nullable)aesEncryptedBindResponseWithProviderID:(NSData * _Nonnull)providerID cardUUID:(NSData * _Nonnull)cardUUID hashes:(NSData * _Nonnull)hashes hsmRandom:(NSData * _Nonnull)hsmRandom devicePublicKey:(NSData * _Nonnull)devicePublicKey SWIFT_WARN_UNUSED_RESULT;
|
|
723
|
+
- (NSData * _Nullable)decryptWithDisplayKey:(NSData * _Nonnull)providerId cardUUID:(NSData * _Nonnull)cardUUID hash:(NSData * _Nonnull)hash cipherText:(NSData * _Nonnull)cipherText svm:(NSData * _Nullable)svmKey SWIFT_WARN_UNUSED_RESULT;
|
|
724
|
+
- (NSData * _Nullable)encryptWithEntryKey:(NSData * _Nonnull)providerId cardUUID:(NSData * _Nonnull)cardUUID hash:(NSData * _Nonnull)hash plainText:(NSData * _Nonnull)plainText svm:(NSData * _Nullable)svmKey SWIFT_WARN_UNUSED_RESULT;
|
|
725
|
+
@end
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
SWIFT_CLASS("_TtC6UBQKit18UITransactionTitle")
|
|
735
|
+
@interface UITransactionTitle : UILabel
|
|
736
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
737
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
738
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
739
|
+
@end
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
SWIFT_CLASS("_TtC6UBQKit6UbqSdk")
|
|
743
|
+
@interface UbqSdk : NSObject
|
|
744
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nullable sdkHeader;)
|
|
745
|
+
+ (NSString * _Nullable)sdkHeader SWIFT_WARN_UNUSED_RESULT;
|
|
746
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
747
|
+
@end
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
#endif
|
|
753
|
+
#if __has_attribute(external_source_symbol)
|
|
754
|
+
# pragma clang attribute pop
|
|
755
|
+
#endif
|
|
756
|
+
#if defined(__cplusplus)
|
|
757
|
+
#endif
|
|
758
|
+
#pragma clang diagnostic pop
|
|
759
|
+
#endif
|
|
760
|
+
|
|
761
|
+
#endif
|