@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,1099 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-bare-slash-regex -module-name UBQKit
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
|
+
import CommonCrypto
|
|
6
|
+
import CryptoKit
|
|
7
|
+
import DeveloperToolsSupport
|
|
8
|
+
import Foundation
|
|
9
|
+
import LocalAuthentication
|
|
10
|
+
import Swift
|
|
11
|
+
import SwiftUI
|
|
12
|
+
@_exported import UBQKit
|
|
13
|
+
import UIKit
|
|
14
|
+
import _Concurrency
|
|
15
|
+
import _StringProcessing
|
|
16
|
+
import _SwiftConcurrencyShims
|
|
17
|
+
import os.log
|
|
18
|
+
import os
|
|
19
|
+
public struct UBQSubscription {
|
|
20
|
+
public static func start(_ nonce: Swift.String, _ puk: Swift.String? = nil, onStarted: @escaping (_ flow: UBQKit.UbqSubscribe) -> Swift.Void, onStartFailure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
21
|
+
}
|
|
22
|
+
@_hasMissingDesignatedInitializers public class UbqSubscribe {
|
|
23
|
+
public enum SubscribeState {
|
|
24
|
+
case AWAITING_PUK
|
|
25
|
+
case AWAITING_FIRST_PIN
|
|
26
|
+
case AWAITING_CONFIRMATION_PIN
|
|
27
|
+
case AWAITING_FINISH
|
|
28
|
+
case SUCCESS
|
|
29
|
+
case FAILURE
|
|
30
|
+
public static func == (a: UBQKit.UbqSubscribe.SubscribeState, b: UBQKit.UbqSubscribe.SubscribeState) -> Swift.Bool
|
|
31
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
32
|
+
public var hashValue: Swift.Int {
|
|
33
|
+
get
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
public var state: UBQKit.UbqSubscribe.SubscribeState {
|
|
37
|
+
get
|
|
38
|
+
}
|
|
39
|
+
public func setUiProtocol(i: any UBQKit.SubscribeUiProtocol)
|
|
40
|
+
final public let asset: UBQKit.UbqAsset
|
|
41
|
+
public func setPuk(to puk: Swift.String)
|
|
42
|
+
public func finish(subscribeFinishProtocol: any UBQKit.SubscribeFinishProtocol)
|
|
43
|
+
@objc deinit
|
|
44
|
+
}
|
|
45
|
+
public enum CryptoTypes : Swift.CaseIterable {
|
|
46
|
+
case EdDSA_25519
|
|
47
|
+
case BBS_BLS12_381
|
|
48
|
+
case BBS_BLS12_461
|
|
49
|
+
case BBS_BN_446
|
|
50
|
+
case BBS_BN_462
|
|
51
|
+
case EdDSA_448
|
|
52
|
+
case ECDSA_P256
|
|
53
|
+
case ECDSA_P384
|
|
54
|
+
case ECDSA_P521
|
|
55
|
+
case RSA_2048
|
|
56
|
+
case RSA_3072
|
|
57
|
+
case RSA_4096
|
|
58
|
+
public var name: Swift.String {
|
|
59
|
+
get
|
|
60
|
+
}
|
|
61
|
+
public static func == (a: UBQKit.CryptoTypes, b: UBQKit.CryptoTypes) -> Swift.Bool
|
|
62
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
63
|
+
public typealias AllCases = [UBQKit.CryptoTypes]
|
|
64
|
+
nonisolated public static var allCases: [UBQKit.CryptoTypes] {
|
|
65
|
+
get
|
|
66
|
+
}
|
|
67
|
+
public var hashValue: Swift.Int {
|
|
68
|
+
get
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@_inheritsConvenienceInitializers @objc final public class RSA : ObjectiveC.NSObject {
|
|
72
|
+
@objc public static func encrypt(_ data: Foundation.Data, publicKeyData keyData: Foundation.Data) -> Foundation.Data?
|
|
73
|
+
@objc override dynamic public init()
|
|
74
|
+
@objc deinit
|
|
75
|
+
}
|
|
76
|
+
@_inheritsConvenienceInitializers @objc public class DomainManager : ObjectiveC.NSObject {
|
|
77
|
+
@objc public static var standard: UBQKit.DomainManager
|
|
78
|
+
@objc final public let securityModule: UBQKit.DomainSecurityModule
|
|
79
|
+
@objc public func createChannel() -> UBQKit.DomainChannel?
|
|
80
|
+
@objc public func add(channelState state: UBQKit.ChannelState)
|
|
81
|
+
@objc public func channel(forChannelToken token: UBQKit.Token) -> UBQKit.DomainChannel?
|
|
82
|
+
@objc public func save()
|
|
83
|
+
@objc override dynamic public init()
|
|
84
|
+
@objc deinit
|
|
85
|
+
}
|
|
86
|
+
@objc public class IdentityProvider : ObjectiveC.NSObject, Swift.Decodable {
|
|
87
|
+
@objc final public let token: UBQKit.Token
|
|
88
|
+
@objc final public let name: Swift.String
|
|
89
|
+
@objc final public let publicKey: Foundation.Data
|
|
90
|
+
@objc public var urlScheme: Swift.String?
|
|
91
|
+
@objc final public let theme: Swift.Int
|
|
92
|
+
@objc public var assets: [UBQKit.Asset] {
|
|
93
|
+
@objc get
|
|
94
|
+
@objc set
|
|
95
|
+
}
|
|
96
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
97
|
+
@objc deinit
|
|
98
|
+
}
|
|
99
|
+
extension UBQKit.IdentityProvider {
|
|
100
|
+
#warning("Transform to `load` once obj-c is gone")
|
|
101
|
+
}
|
|
102
|
+
@_inheritsConvenienceInitializers @objc public class SecKeyDelegateTags : ObjectiveC.NSObject {
|
|
103
|
+
@objc public static let assets: Swift.String
|
|
104
|
+
@objc public static let secureState: Swift.String
|
|
105
|
+
@objc public static let secureStateOld: Swift.String
|
|
106
|
+
@objc public static let channelState: Swift.String
|
|
107
|
+
@objc public static let channelStateOld: Swift.String
|
|
108
|
+
@objc public static let wrapper: Swift.String
|
|
109
|
+
@objc override dynamic public init()
|
|
110
|
+
@objc deinit
|
|
111
|
+
}
|
|
112
|
+
@_inheritsConvenienceInitializers @objc public class SecKeyDelegate : ObjectiveC.NSObject {
|
|
113
|
+
@objc public static func secretKey(alias: Swift.String, overwrite: Swift.Bool) -> Foundation.Data
|
|
114
|
+
@objc public static func getSymmetricKey(identifier: Swift.String) -> Foundation.Data?
|
|
115
|
+
@objc public static func storeSymmetricKey(identifier: Swift.String, key: Foundation.Data)
|
|
116
|
+
@objc public static func deleteSymmetricKey(identifier: Swift.String)
|
|
117
|
+
@objc public static func wrap(key: Foundation.Data, with wrapperKey: Foundation.Data) -> Foundation.Data?
|
|
118
|
+
@objc public static func unwrap(key: Foundation.Data, with wrapperKey: Foundation.Data) -> Foundation.Data?
|
|
119
|
+
@objc override dynamic public init()
|
|
120
|
+
@objc deinit
|
|
121
|
+
}
|
|
122
|
+
@available(iOS 13.0.0, *)
|
|
123
|
+
@_Concurrency.MainActor @preconcurrency public struct TransactionTitle : SwiftUI.UIViewRepresentable {
|
|
124
|
+
@_Concurrency.MainActor @preconcurrency public init()
|
|
125
|
+
@_Concurrency.MainActor @preconcurrency public func makeUIView(context: UBQKit.TransactionTitle.Context) -> UBQKit.UITransactionTitle
|
|
126
|
+
@_Concurrency.MainActor @preconcurrency public func updateUIView(_ uiView: UBQKit.UITransactionTitle, context: UBQKit.TransactionTitle.Context)
|
|
127
|
+
@available(iOS 13.0.0, *)
|
|
128
|
+
public typealias Body = Swift.Never
|
|
129
|
+
@available(iOS 13.0.0, *)
|
|
130
|
+
public typealias Coordinator = Swift.Void
|
|
131
|
+
@available(iOS 13.0.0, *)
|
|
132
|
+
public typealias UIViewType = UBQKit.UITransactionTitle
|
|
133
|
+
}
|
|
134
|
+
@objc @_Concurrency.MainActor @preconcurrency public class UITransactionTitle : UIKit.UILabel {
|
|
135
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
136
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public init()
|
|
137
|
+
@objc deinit
|
|
138
|
+
}
|
|
139
|
+
public enum UbqKitError : Swift.Error {
|
|
140
|
+
case serverUnreachable(description: Swift.String = "The server is currently unreachable. Please check your internet connection.")
|
|
141
|
+
case invalidArgument(description: Swift.String)
|
|
142
|
+
case internalError(description: Swift.String = "An internal error occured.", identifier: Swift.String)
|
|
143
|
+
case canNotFinish(description: Swift.String)
|
|
144
|
+
case unsupportedOperation(description: Swift.String)
|
|
145
|
+
case assetLocked(description: Swift.String = "Asset is locked or in incorrect state for request.")
|
|
146
|
+
case assetRevoked(description: Swift.String = "Asset is revoked and cannot be used anymore.")
|
|
147
|
+
case assetCouldNotBeUpgraded(description: Swift.String)
|
|
148
|
+
case invalidConfigurationFile(description: Swift.String = "The configuration file you supplied is invalid.")
|
|
149
|
+
case notInitialzedError(description: Swift.String = "You first need to initialzed the SDK before you can use this functionality.")
|
|
150
|
+
case invalidPinPolicy(description: Swift.String)
|
|
151
|
+
case nonceNotFound(description: Swift.String = "The supplied nonce can not be found on the server.")
|
|
152
|
+
case noProviderAvailable(description: Swift.String = "No identity provider available for nonce")
|
|
153
|
+
case invalidPuk(description: Swift.String = "The supplied PUK is invalid.")
|
|
154
|
+
case noTransactionAvailable(description: Swift.String = "Currently there is no transaction available for assets on this device.")
|
|
155
|
+
case noAssetsOnDeviceError(description: Swift.String = "There are no assets on this device which is required for this functionality.")
|
|
156
|
+
case transactionExpired(description: Swift.String = "The transaction of this flow is expired.")
|
|
157
|
+
case transactionCancelled(description: Swift.String = "The transaction of this flow is cancelled by the user.")
|
|
158
|
+
case invalidPin(description: Swift.String = "Invalid PIN entered by user")
|
|
159
|
+
case noImageAvailable(description: Swift.String = "No transaction image found")
|
|
160
|
+
case biometricsNotSupported(description: Swift.String = "Biometrics are not supported by this device.")
|
|
161
|
+
case biometricsNotEnabled(description: Swift.String = "Biometrics are not enabled on this device. ")
|
|
162
|
+
case biometricsError(description: Swift.String = "Error occurred during biometrics.")
|
|
163
|
+
}
|
|
164
|
+
@_hasMissingDesignatedInitializers public class UbqSdkSettings {
|
|
165
|
+
public static let shared: UBQKit.UbqSdkSettings
|
|
166
|
+
public var pinPolicy: [Swift.String] {
|
|
167
|
+
get
|
|
168
|
+
}
|
|
169
|
+
public func setPinPolicy(_ notAllowedPins: [Swift.String]) throws
|
|
170
|
+
@objc deinit
|
|
171
|
+
}
|
|
172
|
+
@_inheritsConvenienceInitializers @objc public class SecureEnclaveManager : ObjectiveC.NSObject {
|
|
173
|
+
public static func encrypt(key: Security.SecKey, plainText: Foundation.Data) throws -> Foundation.Data
|
|
174
|
+
public static func decrypt(key: Security.SecKey, cipherText: Foundation.Data) throws -> Foundation.Data
|
|
175
|
+
@objc public static func sign(key: Security.SecKey, data: Foundation.Data) throws -> Foundation.Data
|
|
176
|
+
@objc public static func getPublicKeyDerFormatted(_ privateKeyReference: Security.SecKey) throws -> Foundation.Data
|
|
177
|
+
@objc override dynamic public init()
|
|
178
|
+
@objc deinit
|
|
179
|
+
}
|
|
180
|
+
public protocol UBQKeyPadReporting {
|
|
181
|
+
func digitEntered(digit: Swift.Int)
|
|
182
|
+
func backSpacePressed()
|
|
183
|
+
func completed(result: Swift.String)
|
|
184
|
+
}
|
|
185
|
+
extension UBQKit.ASN1 {
|
|
186
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class OctetString : UBQKit.ASN1.Item {
|
|
187
|
+
convenience public init(_ bytes: Foundation.Data)
|
|
188
|
+
convenience public init(_ bytes: [Swift.UInt8])
|
|
189
|
+
@objc deinit
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
@_hasMissingDesignatedInitializers @objc public class Token : ObjectiveC.NSObject, Foundation.NSCoding, Swift.Codable {
|
|
193
|
+
@objc final public let data: Foundation.Data
|
|
194
|
+
@objc public var hexValue: Swift.String {
|
|
195
|
+
@objc get
|
|
196
|
+
}
|
|
197
|
+
@objc override dynamic public var description: Swift.String {
|
|
198
|
+
@objc get
|
|
199
|
+
}
|
|
200
|
+
@objc public static func token(withHexString hex: Swift.String) -> UBQKit.Token?
|
|
201
|
+
@objc public static func token(withData data: Foundation.Data) -> UBQKit.Token?
|
|
202
|
+
@objc convenience public init?(hexString: Swift.String)
|
|
203
|
+
@objc public func isEqual(to token: UBQKit.Token) -> Swift.Bool
|
|
204
|
+
@objc required public init?(coder: Foundation.NSCoder)
|
|
205
|
+
@objc public func encode(with coder: Foundation.NSCoder)
|
|
206
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
207
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
208
|
+
@objc deinit
|
|
209
|
+
}
|
|
210
|
+
extension UBQKit.Token : Foundation.NSCopying {
|
|
211
|
+
@objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any
|
|
212
|
+
}
|
|
213
|
+
@_hasMissingDesignatedInitializers @objc public class ChannelState : ObjectiveC.NSObject, Foundation.NSCoding {
|
|
214
|
+
@objc public var token: UBQKit.Token
|
|
215
|
+
@objc public var domain: UBQKit.Domain
|
|
216
|
+
@objc public var wrappedMasterKey: Foundation.Data?
|
|
217
|
+
@objc public var wrappedChannelKey: Foundation.Data?
|
|
218
|
+
@objc public var apnsRegistrationID: Swift.String?
|
|
219
|
+
@objc public var svm: Foundation.Data?
|
|
220
|
+
@objc public var isInitial: Swift.Bool {
|
|
221
|
+
@objc get
|
|
222
|
+
}
|
|
223
|
+
@objc required public init?(coder: Foundation.NSCoder)
|
|
224
|
+
@objc public func register(forToken token: UBQKit.Token, wrappedChannelKey: Foundation.Data)
|
|
225
|
+
@objc deinit
|
|
226
|
+
}
|
|
227
|
+
extension UBQKit.ChannelState {
|
|
228
|
+
@objc dynamic public func encode(with coder: Foundation.NSCoder)
|
|
229
|
+
}
|
|
230
|
+
@objc public class Domain : ObjectiveC.NSObject, Swift.Decodable {
|
|
231
|
+
@objc public static var current: UBQKit.Domain!
|
|
232
|
+
@objc final public let publicKeyData: Foundation.Data
|
|
233
|
+
@objc public var assets: [UBQKit.Asset] {
|
|
234
|
+
@objc get
|
|
235
|
+
}
|
|
236
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
237
|
+
@objc public func asset(for token: UBQKit.Token) -> UBQKit.Asset?
|
|
238
|
+
@objc deinit
|
|
239
|
+
}
|
|
240
|
+
open class XMLDecoder {
|
|
241
|
+
public enum DateDecodingStrategy {
|
|
242
|
+
case deferredToDate
|
|
243
|
+
case secondsSince1970
|
|
244
|
+
case millisecondsSince1970
|
|
245
|
+
@available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
|
|
246
|
+
case iso8601
|
|
247
|
+
case formatted(Foundation.DateFormatter)
|
|
248
|
+
case custom((_ decoder: any Swift.Decoder) throws -> Foundation.Date)
|
|
249
|
+
}
|
|
250
|
+
public enum DataDecodingStrategy {
|
|
251
|
+
case deferredToData
|
|
252
|
+
case base64
|
|
253
|
+
case custom((_ decoder: any Swift.Decoder) throws -> Foundation.Data)
|
|
254
|
+
}
|
|
255
|
+
public enum NonConformingFloatDecodingStrategy {
|
|
256
|
+
case `throw`
|
|
257
|
+
case convertFromString(positiveInfinity: Swift.String, negativeInfinity: Swift.String, nan: Swift.String)
|
|
258
|
+
}
|
|
259
|
+
public enum KeyDecodingStrategy {
|
|
260
|
+
case useDefaultKeys
|
|
261
|
+
case convertFromSnakeCase
|
|
262
|
+
case custom((_ codingPath: [any Swift.CodingKey]) -> any Swift.CodingKey)
|
|
263
|
+
}
|
|
264
|
+
open var dateDecodingStrategy: UBQKit.XMLDecoder.DateDecodingStrategy
|
|
265
|
+
open var dataDecodingStrategy: UBQKit.XMLDecoder.DataDecodingStrategy
|
|
266
|
+
open var nonConformingFloatDecodingStrategy: UBQKit.XMLDecoder.NonConformingFloatDecodingStrategy
|
|
267
|
+
open var keyDecodingStrategy: UBQKit.XMLDecoder.KeyDecodingStrategy
|
|
268
|
+
open var userInfo: [Swift.CodingUserInfoKey : Any]
|
|
269
|
+
public init()
|
|
270
|
+
open func decode<T>(_ type: T.Type, from data: Foundation.Data) throws -> T where T : Swift.Decodable
|
|
271
|
+
@objc deinit
|
|
272
|
+
}
|
|
273
|
+
extension Foundation.NSString {
|
|
274
|
+
@objc dynamic public var isHexString: Swift.Bool {
|
|
275
|
+
@objc get
|
|
276
|
+
}
|
|
277
|
+
@objc dynamic public func insert(separator: Foundation.NSString, every n: Swift.Int) -> Foundation.NSString
|
|
278
|
+
}
|
|
279
|
+
public protocol ChangePinFinishProtocol {
|
|
280
|
+
func onChangePinCompleted()
|
|
281
|
+
func onChangePinFinishFailure(error: UBQKit.UbqKitError)
|
|
282
|
+
func onChangePinIncorrectPinEntered(pinAttemptsLeft: Swift.Int8)
|
|
283
|
+
}
|
|
284
|
+
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class UBQInternalPad : UIKit.UIView {
|
|
285
|
+
@_Concurrency.MainActor @preconcurrency public init(biometricsButtonShown: Swift.Bool)
|
|
286
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public init()
|
|
287
|
+
@_Concurrency.MainActor @preconcurrency public func clear(makeVisible: Swift.Bool = true)
|
|
288
|
+
@_Concurrency.MainActor @preconcurrency public func updateClickablity(isClickable: Swift.Bool)
|
|
289
|
+
@objc deinit
|
|
290
|
+
}
|
|
291
|
+
@_hasMissingDesignatedInitializers @objc public class FMVersion : ObjectiveC.NSObject, Swift.Decodable {
|
|
292
|
+
public enum Feature {
|
|
293
|
+
case biometricAuthentication
|
|
294
|
+
case deviceKey
|
|
295
|
+
case svmToAesUpgrade
|
|
296
|
+
public static func == (a: UBQKit.FMVersion.Feature, b: UBQKit.FMVersion.Feature) -> Swift.Bool
|
|
297
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
298
|
+
public var hashValue: Swift.Int {
|
|
299
|
+
get
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
@objc deinit
|
|
303
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
304
|
+
}
|
|
305
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class UBQSecurityStrategy : ObjectiveC.NSObject {
|
|
306
|
+
@objc public static var standard: UBQKit.UBQSecurityStrategy
|
|
307
|
+
@objc public func verify(_ message: Foundation.Data, signature: Foundation.Data, publicSlotGroupKey: Foundation.Data) -> Swift.Bool
|
|
308
|
+
@objc public func createTransportKeys(providerID: Foundation.Data, cardUUID: Foundation.Data, hashes: Foundation.Data) -> Foundation.Data?
|
|
309
|
+
@objc public func encryptedPhoneRandom(_ publicSlotGroupKey: Foundation.Data) -> Foundation.Data?
|
|
310
|
+
@objc public func aesEncryptedBindResponse(providerID: Foundation.Data, cardUUID: Foundation.Data, hashes: Foundation.Data, hsmRandom: Foundation.Data) -> Foundation.Data?
|
|
311
|
+
@objc public func aesEncryptedBindResponse(providerID: Foundation.Data, cardUUID: Foundation.Data, hashes: Foundation.Data, hsmRandom: Foundation.Data, devicePublicKey: Foundation.Data) -> Foundation.Data?
|
|
312
|
+
@objc public func decrypt(withDisplayKey providerId: Foundation.Data, cardUUID: Foundation.Data, hash: Foundation.Data, cipherText: Foundation.Data, svm svmKey: Foundation.Data? = nil) -> Foundation.Data?
|
|
313
|
+
@objc public func encrypt(withEntryKey providerId: Foundation.Data, cardUUID: Foundation.Data, hash: Foundation.Data, plainText: Foundation.Data, svm svmKey: Foundation.Data? = nil) -> Foundation.Data?
|
|
314
|
+
@objc deinit
|
|
315
|
+
}
|
|
316
|
+
extension Foundation.NSData {
|
|
317
|
+
@objc public static func random(ofSize size: Swift.Int) -> Foundation.NSData
|
|
318
|
+
}
|
|
319
|
+
extension UBQKit.ASN1 {
|
|
320
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class Integer : UBQKit.ASN1.Item {
|
|
321
|
+
convenience public init(_ uint64: Swift.UInt64)
|
|
322
|
+
convenience public init(_ uint8: Swift.UInt8)
|
|
323
|
+
convenience public init(_ uint16: Swift.UInt16)
|
|
324
|
+
convenience public init(_ uint32: Swift.UInt32)
|
|
325
|
+
convenience public init(_ uint: Swift.UInt)
|
|
326
|
+
convenience public init(_ int64: Swift.Int64)
|
|
327
|
+
convenience public init(_ int8: Swift.Int8)
|
|
328
|
+
convenience public init(_ int16: Swift.Int16)
|
|
329
|
+
convenience public init(_ int32: Swift.Int32)
|
|
330
|
+
convenience public init(_ int: Swift.Int)
|
|
331
|
+
public var uint: Swift.UInt {
|
|
332
|
+
get
|
|
333
|
+
set
|
|
334
|
+
}
|
|
335
|
+
public var int: Swift.Int {
|
|
336
|
+
get
|
|
337
|
+
set
|
|
338
|
+
}
|
|
339
|
+
@objc deinit
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
@_hasMissingDesignatedInitializers public class UBQTransaction {
|
|
343
|
+
public var asset: UBQKit.UbqAsset {
|
|
344
|
+
get
|
|
345
|
+
}
|
|
346
|
+
public var parameters: UBQKit.UBQTransactionParameters {
|
|
347
|
+
get
|
|
348
|
+
}
|
|
349
|
+
final public let title: Swift.String
|
|
350
|
+
public var attemptsLeft: Swift.Int8? {
|
|
351
|
+
get
|
|
352
|
+
}
|
|
353
|
+
public var timeoutUntil: Foundation.Date? {
|
|
354
|
+
get
|
|
355
|
+
}
|
|
356
|
+
final public let type: UBQKit.TransactionType
|
|
357
|
+
final public let transactionId: Foundation.UUID?
|
|
358
|
+
public var created: Foundation.Date {
|
|
359
|
+
get
|
|
360
|
+
}
|
|
361
|
+
public static func load(asset: UBQKit.UbqAsset? = nil, transactionID: Foundation.UUID? = nil, onStarted: @escaping (_ flow: UBQKit.UbqTransaction) -> Swift.Void, onStartFailure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
362
|
+
public func downloadImage(size: CoreFoundation.CGSize, success: @escaping (_ image: UIKit.UIImage) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
363
|
+
@objc deinit
|
|
364
|
+
}
|
|
365
|
+
public enum TransactionType {
|
|
366
|
+
case normal
|
|
367
|
+
case enableBiometrics
|
|
368
|
+
public static func == (a: UBQKit.TransactionType, b: UBQKit.TransactionType) -> Swift.Bool
|
|
369
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
370
|
+
public var hashValue: Swift.Int {
|
|
371
|
+
get
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
public struct UBQTransactionParameters {
|
|
375
|
+
public let title: Swift.String?
|
|
376
|
+
public let caption: Swift.String?
|
|
377
|
+
public let subtitle: Swift.String?
|
|
378
|
+
public let time: Foundation.Date?
|
|
379
|
+
public let confirmeButtonText: Swift.String?
|
|
380
|
+
public let rejectButtonText: Swift.String?
|
|
381
|
+
public let otp: Swift.String?
|
|
382
|
+
public let fingerprint: Swift.String?
|
|
383
|
+
public let userAgent: Swift.String?
|
|
384
|
+
public let resourceUri: Swift.String?
|
|
385
|
+
public let ipAddress: Swift.String?
|
|
386
|
+
public let secureDataHash: Foundation.Data?
|
|
387
|
+
public let secureDataKey: Foundation.Data?
|
|
388
|
+
public let secureDataUrl: Swift.String?
|
|
389
|
+
public let profileName: Swift.String?
|
|
390
|
+
}
|
|
391
|
+
@_hasMissingDesignatedInitializers public class UbqTransaction {
|
|
392
|
+
public enum TransactionState {
|
|
393
|
+
case AWAITING_PIN
|
|
394
|
+
case AWAITING_FINISH
|
|
395
|
+
case SUCCESS
|
|
396
|
+
case FAILURE
|
|
397
|
+
public static func == (a: UBQKit.UbqTransaction.TransactionState, b: UBQKit.UbqTransaction.TransactionState) -> Swift.Bool
|
|
398
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
399
|
+
public var hashValue: Swift.Int {
|
|
400
|
+
get
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
public var state: UBQKit.UbqTransaction.TransactionState {
|
|
404
|
+
get
|
|
405
|
+
}
|
|
406
|
+
public func setUiProtocol(i: any UBQKit.TransactionUiProtocol)
|
|
407
|
+
public func setRejectProtocol(i: any UBQKit.TransactionRejectProtocol)
|
|
408
|
+
public var transaction: UBQKit.UBQTransaction
|
|
409
|
+
public func start()
|
|
410
|
+
public func cancel()
|
|
411
|
+
public func finish(transactionFinishProtocol: any UBQKit.TransactionFinishProtocol)
|
|
412
|
+
@objc deinit
|
|
413
|
+
}
|
|
414
|
+
public protocol ResetPinUiProtocol {
|
|
415
|
+
func onResetPinNewPinEntered()
|
|
416
|
+
func onResetPinUnallowedPinEntered()
|
|
417
|
+
func onResetPinPinNotConfirmed()
|
|
418
|
+
func onResetPinPinConfirmed()
|
|
419
|
+
func onResetPinUiError(error: UBQKit.UbqKitError)
|
|
420
|
+
}
|
|
421
|
+
extension Foundation.NSData {
|
|
422
|
+
@objc convenience dynamic public init?(hexString: Swift.String)
|
|
423
|
+
@objc dynamic public var hexadecimal: Swift.String {
|
|
424
|
+
@objc get
|
|
425
|
+
}
|
|
426
|
+
@objc public static func xor(bytes lhs: Foundation.NSData, with rhs: Foundation.NSData) -> Foundation.NSData
|
|
427
|
+
}
|
|
428
|
+
@_inheritsConvenienceInitializers @objc public class AssetManager : ObjectiveC.NSObject {
|
|
429
|
+
@objc public static var standard: UBQKit.AssetManager
|
|
430
|
+
@discardableResult
|
|
431
|
+
@objc public func removeAsset(forToken assetToken: UBQKit.Token) -> Swift.Bool
|
|
432
|
+
#warning("Required by objective-c still")
|
|
433
|
+
@objc public func save()
|
|
434
|
+
@objc override dynamic public init()
|
|
435
|
+
@objc deinit
|
|
436
|
+
}
|
|
437
|
+
@_inheritsConvenienceInitializers @objc public class UbqSdk : ObjectiveC.NSObject {
|
|
438
|
+
@objc public static var sdkHeader: Swift.String? {
|
|
439
|
+
get
|
|
440
|
+
}
|
|
441
|
+
public static var settings: UBQKit.UbqSdkSettings
|
|
442
|
+
public static var loggingEnabled: Swift.Bool {
|
|
443
|
+
get
|
|
444
|
+
}
|
|
445
|
+
public static var idps: [UBQKit.UbqIdentityProvider] {
|
|
446
|
+
get
|
|
447
|
+
}
|
|
448
|
+
public static var assets: [UBQKit.UbqAsset] {
|
|
449
|
+
get
|
|
450
|
+
}
|
|
451
|
+
@objc override dynamic public init()
|
|
452
|
+
@objc deinit
|
|
453
|
+
}
|
|
454
|
+
extension UBQKit.UbqSdk {
|
|
455
|
+
public static func setup(with configurationData: Foundation.Data, loggingEnabled: Swift.Bool) throws
|
|
456
|
+
public static func subscribe(_ nonce: Swift.String, _ puk: Swift.String? = nil, onStarted: @escaping (_ flow: UBQKit.UbqSubscribe) -> Swift.Void, onStartFailure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
457
|
+
}
|
|
458
|
+
public struct MD5 {
|
|
459
|
+
}
|
|
460
|
+
extension UBQKit.ASN1 {
|
|
461
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class Boolean : UBQKit.ASN1.Item {
|
|
462
|
+
convenience public init(bool: Swift.Bool)
|
|
463
|
+
@objc deinit
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
extension UBQKit.ASN1 {
|
|
467
|
+
public typealias SequenceOf = UBQKit.ASN1.Sequence
|
|
468
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class Sequence : UBQKit.ASN1.ConstructedItem {
|
|
469
|
+
convenience public init(_ items: [UBQKit.ASN1.Item])
|
|
470
|
+
@objc deinit
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
public protocol UBQPinPadReporting {
|
|
474
|
+
func amountOfDigitsDidChange(newAmount: Swift.Int)
|
|
475
|
+
}
|
|
476
|
+
extension UBQKit.ASN1 {
|
|
477
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class BitString : UBQKit.ASN1.Item {
|
|
478
|
+
convenience public init(bitString: Swift.String)
|
|
479
|
+
public var bitString: Swift.String {
|
|
480
|
+
get
|
|
481
|
+
set
|
|
482
|
+
}
|
|
483
|
+
@objc deinit
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
open class XMLEncoder {
|
|
487
|
+
public struct OutputFormatting : Swift.OptionSet {
|
|
488
|
+
public let rawValue: Swift.UInt
|
|
489
|
+
public init(rawValue: Swift.UInt)
|
|
490
|
+
public static let prettyPrinted: UBQKit.XMLEncoder.OutputFormatting
|
|
491
|
+
@available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
|
|
492
|
+
public static let sortedKeys: UBQKit.XMLEncoder.OutputFormatting
|
|
493
|
+
public typealias ArrayLiteralElement = UBQKit.XMLEncoder.OutputFormatting
|
|
494
|
+
public typealias Element = UBQKit.XMLEncoder.OutputFormatting
|
|
495
|
+
public typealias RawValue = Swift.UInt
|
|
496
|
+
}
|
|
497
|
+
public enum DateEncodingStrategy {
|
|
498
|
+
case deferredToDate
|
|
499
|
+
case secondsSince1970
|
|
500
|
+
case millisecondsSince1970
|
|
501
|
+
@available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
|
|
502
|
+
case iso8601
|
|
503
|
+
case formatted(Foundation.DateFormatter)
|
|
504
|
+
case custom((Foundation.Date, any Swift.Encoder) throws -> Swift.Void)
|
|
505
|
+
}
|
|
506
|
+
public enum StringEncodingStrategy {
|
|
507
|
+
case deferredToString
|
|
508
|
+
case cdata
|
|
509
|
+
public static func == (a: UBQKit.XMLEncoder.StringEncodingStrategy, b: UBQKit.XMLEncoder.StringEncodingStrategy) -> Swift.Bool
|
|
510
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
511
|
+
public var hashValue: Swift.Int {
|
|
512
|
+
get
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
public enum DataEncodingStrategy {
|
|
516
|
+
case deferredToData
|
|
517
|
+
case base64
|
|
518
|
+
case custom((Foundation.Data, any Swift.Encoder) throws -> Swift.Void)
|
|
519
|
+
}
|
|
520
|
+
public enum NonConformingFloatEncodingStrategy {
|
|
521
|
+
case `throw`
|
|
522
|
+
case convertToString(positiveInfinity: Swift.String, negativeInfinity: Swift.String, nan: Swift.String)
|
|
523
|
+
}
|
|
524
|
+
public enum KeyEncodingStrategy {
|
|
525
|
+
case useDefaultKeys
|
|
526
|
+
case convertToSnakeCase
|
|
527
|
+
case custom((_ codingPath: [any Swift.CodingKey]) -> any Swift.CodingKey)
|
|
528
|
+
}
|
|
529
|
+
public enum AttributeEncodingStrategy {
|
|
530
|
+
case deferredToEncoder
|
|
531
|
+
case custom((any Swift.Encoder) -> Swift.Bool)
|
|
532
|
+
}
|
|
533
|
+
open var outputFormatting: UBQKit.XMLEncoder.OutputFormatting
|
|
534
|
+
open var dateEncodingStrategy: UBQKit.XMLEncoder.DateEncodingStrategy
|
|
535
|
+
open var dataEncodingStrategy: UBQKit.XMLEncoder.DataEncodingStrategy
|
|
536
|
+
open var nonConformingFloatEncodingStrategy: UBQKit.XMLEncoder.NonConformingFloatEncodingStrategy
|
|
537
|
+
open var keyEncodingStrategy: UBQKit.XMLEncoder.KeyEncodingStrategy
|
|
538
|
+
open var attributeEncodingStrategy: UBQKit.XMLEncoder.AttributeEncodingStrategy
|
|
539
|
+
open var stringEncodingStrategy: UBQKit.XMLEncoder.StringEncodingStrategy
|
|
540
|
+
open var userInfo: [Swift.CodingUserInfoKey : Any]
|
|
541
|
+
public init()
|
|
542
|
+
open func encode<T>(_ value: T, withRootKey rootKey: Swift.String, header: UBQKit.XMLHeader? = nil) throws -> Foundation.Data where T : Swift.Encodable
|
|
543
|
+
@objc deinit
|
|
544
|
+
}
|
|
545
|
+
@objc public class DomainChannel : ObjectiveC.NSObject {
|
|
546
|
+
@objc final public let securityModule: UBQKit.DomainSecurityModule
|
|
547
|
+
@objc final public let channelState: UBQKit.ChannelState
|
|
548
|
+
@objc public init(withDomainSecurityModule dsm: UBQKit.DomainSecurityModule, channelState: UBQKit.ChannelState)
|
|
549
|
+
@objc public func send(_ msg: UBQKit.ApplicationMessage, priority: Swift.Bool, success: @escaping (_ msg: UBQKit.ApplicationMessage) -> Swift.Void, failure: @escaping (_ error: any Swift.Error) -> Swift.Void)
|
|
550
|
+
@objc public func send(_ msg: UBQKit.ApplicationMessage, success: @escaping (_ msg: UBQKit.ApplicationMessage) -> Swift.Void, failure: @escaping (_ error: any Swift.Error) -> Swift.Void)
|
|
551
|
+
#warning("Dispatch semaphore, no no no!")
|
|
552
|
+
@objc public func setBlock() -> Dispatch.DispatchSemaphore
|
|
553
|
+
@objc public func createSignedPacket(fromPayload payload: Swift.String) -> UBQKit.UBQPacket
|
|
554
|
+
@objc deinit
|
|
555
|
+
}
|
|
556
|
+
#warning("Used to temporarily test ")
|
|
557
|
+
@_inheritsConvenienceInitializers @objc public class TemporaryHelper : ObjectiveC.NSObject {
|
|
558
|
+
@objc public static func decodeCardRequest(_ data: Foundation.Data)
|
|
559
|
+
@objc override dynamic public init()
|
|
560
|
+
@objc deinit
|
|
561
|
+
}
|
|
562
|
+
#warning("These might need its own extension files")
|
|
563
|
+
public struct XMLHeader {
|
|
564
|
+
}
|
|
565
|
+
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class UBQKeyPad : UBQKit.UBQInternalPad {
|
|
566
|
+
@_Concurrency.MainActor @preconcurrency public var listener: (any UBQKit.UBQKeyPadReporting)?
|
|
567
|
+
@_Concurrency.MainActor @preconcurrency public init(maxLength: Swift.Int)
|
|
568
|
+
@_Concurrency.MainActor @preconcurrency public func updateMaxLength(to length: Swift.Int)
|
|
569
|
+
@_Concurrency.MainActor @preconcurrency override public func clear(makeVisible: Swift.Bool = true)
|
|
570
|
+
@objc deinit
|
|
571
|
+
}
|
|
572
|
+
public protocol TransactionUiProtocol {
|
|
573
|
+
func onTransactionPinEntered()
|
|
574
|
+
func onTransactionBiometricsEntered()
|
|
575
|
+
func onTransactionUiError(error: UBQKit.UbqKitError)
|
|
576
|
+
}
|
|
577
|
+
@objc public class ApplicationMessage : ObjectiveC.NSObject {
|
|
578
|
+
@objc final public let command: Swift.UInt
|
|
579
|
+
@objc final public let payload: Swift.String?
|
|
580
|
+
@objc final public let wrappedVerificationKey: Foundation.Data?
|
|
581
|
+
@objc override dynamic public var description: Swift.String {
|
|
582
|
+
@objc get
|
|
583
|
+
}
|
|
584
|
+
@objc public init(command: Swift.UInt, payload: Swift.String?, wrappedVerificationKey: Foundation.Data?)
|
|
585
|
+
@objc convenience public init(command: Swift.UInt, payload: Swift.String?)
|
|
586
|
+
@objc convenience public init(command: Swift.UInt)
|
|
587
|
+
@objc convenience public init(string: Swift.String)
|
|
588
|
+
@objc public func validate(command: Swift.UInt) -> Swift.Bool
|
|
589
|
+
@objc public func validate(commands: [Swift.UInt]) -> Swift.Bool
|
|
590
|
+
@objc deinit
|
|
591
|
+
}
|
|
592
|
+
extension UBQKit.ASN1 {
|
|
593
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class BMPString : UBQKit.ASN1.Item {
|
|
594
|
+
convenience public init(_ bmpString: Swift.String)
|
|
595
|
+
public var bmpString: Swift.String {
|
|
596
|
+
get
|
|
597
|
+
set
|
|
598
|
+
}
|
|
599
|
+
@objc deinit
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
public protocol SubscribeUiProtocol {
|
|
603
|
+
func onSubscribePukEntered()
|
|
604
|
+
func onSubscribeFirstPinEntered()
|
|
605
|
+
func onSubscribeUnallowedPinEntered()
|
|
606
|
+
func onSubscribePinNotConfirmed()
|
|
607
|
+
func onSubscribePinConfirmed()
|
|
608
|
+
func onSubscribeUiError(error: UBQKit.UbqKitError)
|
|
609
|
+
}
|
|
610
|
+
public protocol ChangePinUiProtocol {
|
|
611
|
+
func onChangePinPinEntered()
|
|
612
|
+
func onChangePinNewPinEntered()
|
|
613
|
+
func onChangePinUnallowedPinEntered()
|
|
614
|
+
func onChangePinPinNotConfirmed()
|
|
615
|
+
func onChangePinPinConfirmed()
|
|
616
|
+
func onChangePinUiError(error: UBQKit.UbqKitError)
|
|
617
|
+
}
|
|
618
|
+
@objc public class Asset : ObjectiveC.NSObject {
|
|
619
|
+
@objc public enum AssetState : Swift.Int {
|
|
620
|
+
case normal = 0
|
|
621
|
+
case locked = 1
|
|
622
|
+
case revoked = 2
|
|
623
|
+
public init?(rawValue: Swift.Int)
|
|
624
|
+
public typealias RawValue = Swift.Int
|
|
625
|
+
public var rawValue: Swift.Int {
|
|
626
|
+
get
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
@objc final public let channelToken: UBQKit.Token
|
|
630
|
+
@objc unowned public var identityProvider: UBQKit.IdentityProvider!
|
|
631
|
+
@objc public var idpToken: UBQKit.Token {
|
|
632
|
+
@objc get
|
|
633
|
+
}
|
|
634
|
+
@objc public var badgeNumber: Swift.Int
|
|
635
|
+
@objc public var biometricAuthentication: Swift.Bool
|
|
636
|
+
@objc public var deviceKeyUsed: Swift.Bool
|
|
637
|
+
@objc public var usesSVM: Swift.Bool
|
|
638
|
+
@objc public var label: Swift.String
|
|
639
|
+
@objc public var state: UBQKit.Asset.AssetState {
|
|
640
|
+
@objc get
|
|
641
|
+
@objc set
|
|
642
|
+
}
|
|
643
|
+
@objc public init(withChannelToken channelToken: UBQKit.Token, identityProvider: UBQKit.IdentityProvider)
|
|
644
|
+
@objc required public init?(coder: Foundation.NSCoder)
|
|
645
|
+
@discardableResult
|
|
646
|
+
@objc public init(token: UBQKit.Token, provider: UBQKit.IdentityProvider)
|
|
647
|
+
@objc public func revoke(completionBlock: ((Swift.Bool, (any Swift.Error)?) -> Swift.Void)?)
|
|
648
|
+
@objc override dynamic public var description: Swift.String {
|
|
649
|
+
@objc get
|
|
650
|
+
}
|
|
651
|
+
@objc public func getSVM(key: Swift.Int, direction: Swift.Int) -> Foundation.Data?
|
|
652
|
+
@objc public func getSVM(cardRequest: UBQKit.UBQCardRequest, direction: Swift.Int) -> Foundation.Data?
|
|
653
|
+
@objc deinit
|
|
654
|
+
}
|
|
655
|
+
extension UBQKit.Asset : Foundation.NSCoding {
|
|
656
|
+
@objc dynamic public func encode(with coder: Foundation.NSCoder)
|
|
657
|
+
}
|
|
658
|
+
@_hasMissingDesignatedInitializers public class UBQBiometricTransaction {
|
|
659
|
+
public var asset: UBQKit.UbqAsset {
|
|
660
|
+
get
|
|
661
|
+
}
|
|
662
|
+
public var parameters: UBQKit.UBQTransactionParameters {
|
|
663
|
+
get
|
|
664
|
+
}
|
|
665
|
+
final public let title: Swift.String
|
|
666
|
+
public var attemptsLeft: Swift.Int8? {
|
|
667
|
+
get
|
|
668
|
+
}
|
|
669
|
+
public var timeoutUntil: Foundation.Date? {
|
|
670
|
+
get
|
|
671
|
+
}
|
|
672
|
+
final public let type: UBQKit.TransactionType
|
|
673
|
+
public var created: Foundation.Date {
|
|
674
|
+
get
|
|
675
|
+
}
|
|
676
|
+
@objc deinit
|
|
677
|
+
}
|
|
678
|
+
@_hasMissingDesignatedInitializers public class UbqAddBiometrics {
|
|
679
|
+
public enum AddBiometricsState {
|
|
680
|
+
case AWAITING_PIN
|
|
681
|
+
case AWAITING_FINISH
|
|
682
|
+
case SUCCESS
|
|
683
|
+
case FAILURE
|
|
684
|
+
public static func == (a: UBQKit.UbqAddBiometrics.AddBiometricsState, b: UBQKit.UbqAddBiometrics.AddBiometricsState) -> Swift.Bool
|
|
685
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
686
|
+
public var hashValue: Swift.Int {
|
|
687
|
+
get
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
public var state: UBQKit.UbqAddBiometrics.AddBiometricsState {
|
|
691
|
+
get
|
|
692
|
+
}
|
|
693
|
+
public func setUiProtocol(i: any UBQKit.AddBiometricsUiProtocol)
|
|
694
|
+
public var transaction: UBQKit.UBQBiometricTransaction
|
|
695
|
+
public func start()
|
|
696
|
+
public func finish(addBiometricsFinishProtocol: any UBQKit.AddBiometricsFinishProtocol)
|
|
697
|
+
@objc deinit
|
|
698
|
+
}
|
|
699
|
+
extension UBQKit.ASN1 {
|
|
700
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class PrintableString : UBQKit.ASN1.Item {
|
|
701
|
+
convenience public init(_ printableString: Swift.String)
|
|
702
|
+
public var printableString: Swift.String {
|
|
703
|
+
get
|
|
704
|
+
set
|
|
705
|
+
}
|
|
706
|
+
@objc deinit
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
@_hasMissingDesignatedInitializers public class UbqDerivedAsset : Swift.Decodable {
|
|
710
|
+
final public let uuid: Foundation.UUID
|
|
711
|
+
final public let publicKey: Swift.String?
|
|
712
|
+
public var cryptoType: UBQKit.CryptoTypes {
|
|
713
|
+
get
|
|
714
|
+
}
|
|
715
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
716
|
+
public var asset: UBQKit.UbqAsset!
|
|
717
|
+
@objc deinit
|
|
718
|
+
}
|
|
719
|
+
extension UBQKit.UbqDerivedAsset {
|
|
720
|
+
public func use(header: Swift.String, messageScalars: [Swift.String], generators: [Swift.String], success: @escaping (_ flow: UBQKit.UbqTransaction) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
721
|
+
public func use(toBeSignedData: Swift.String, success: @escaping (_ flow: UBQKit.UbqTransaction) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
722
|
+
public func decrypt(toBeDecryptedData: Swift.String, success: @escaping (_ flow: UBQKit.UbqTransaction) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
723
|
+
}
|
|
724
|
+
extension Foundation.NSDate {
|
|
725
|
+
@objc dynamic public var hexTimeStamp: Foundation.NSString {
|
|
726
|
+
@objc get
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
public enum ASN1 {
|
|
730
|
+
}
|
|
731
|
+
extension UBQKit.ASN1 {
|
|
732
|
+
public class Tag {
|
|
733
|
+
public enum Class : Swift.UInt8 {
|
|
734
|
+
case universal
|
|
735
|
+
case application
|
|
736
|
+
case contextSpecific
|
|
737
|
+
case `private`
|
|
738
|
+
public init?(rawValue: Swift.UInt8)
|
|
739
|
+
public typealias RawValue = Swift.UInt8
|
|
740
|
+
public var rawValue: Swift.UInt8 {
|
|
741
|
+
get
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
public enum Form : Swift.UInt8 {
|
|
745
|
+
case primitive
|
|
746
|
+
case constructed
|
|
747
|
+
public init?(rawValue: Swift.UInt8)
|
|
748
|
+
public typealias RawValue = Swift.UInt8
|
|
749
|
+
public var rawValue: Swift.UInt8 {
|
|
750
|
+
get
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
public enum Value : Swift.UInt8 {
|
|
754
|
+
case endOfContent
|
|
755
|
+
case boolean
|
|
756
|
+
case integer
|
|
757
|
+
case bitString
|
|
758
|
+
case octetString
|
|
759
|
+
case null
|
|
760
|
+
case objectIdentifier
|
|
761
|
+
case objectDescriptor
|
|
762
|
+
case external
|
|
763
|
+
case real
|
|
764
|
+
case enumerated
|
|
765
|
+
case embeddedPDV
|
|
766
|
+
case utf8String
|
|
767
|
+
case relativeOID
|
|
768
|
+
case time
|
|
769
|
+
case sequence
|
|
770
|
+
case set
|
|
771
|
+
case numericString
|
|
772
|
+
case printableString
|
|
773
|
+
case t61String
|
|
774
|
+
case videotexString
|
|
775
|
+
case ia5String
|
|
776
|
+
case utcTime
|
|
777
|
+
case generalizedTime
|
|
778
|
+
case graphicString
|
|
779
|
+
case visibleString
|
|
780
|
+
case generalString
|
|
781
|
+
case universalString
|
|
782
|
+
case characterString
|
|
783
|
+
case bmpString
|
|
784
|
+
case date
|
|
785
|
+
public init?(rawValue: Swift.UInt8)
|
|
786
|
+
public typealias RawValue = Swift.UInt8
|
|
787
|
+
public var rawValue: Swift.UInt8 {
|
|
788
|
+
get
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
final public let `class`: UBQKit.ASN1.Tag.Class
|
|
792
|
+
final public let form: UBQKit.ASN1.Tag.Form
|
|
793
|
+
final public let value: UBQKit.ASN1.Tag.Value
|
|
794
|
+
public var data: Foundation.Data {
|
|
795
|
+
get
|
|
796
|
+
set
|
|
797
|
+
}
|
|
798
|
+
public var isPrimitive: Swift.Bool {
|
|
799
|
+
get
|
|
800
|
+
set
|
|
801
|
+
}
|
|
802
|
+
public var isConstructed: Swift.Bool {
|
|
803
|
+
get
|
|
804
|
+
set
|
|
805
|
+
}
|
|
806
|
+
public init(_ rawValue: Swift.UInt8)
|
|
807
|
+
convenience public init(class c: UBQKit.ASN1.Tag.Class, form: UBQKit.ASN1.Tag.Form, tagValue: UBQKit.ASN1.Tag.Value)
|
|
808
|
+
convenience public init(class c: UBQKit.ASN1.Tag.Class, form: UBQKit.ASN1.Tag.Form, tagValue: Swift.UInt8)
|
|
809
|
+
@objc deinit
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
extension UBQKit.ASN1.Tag {
|
|
813
|
+
public static let boolean: UBQKit.ASN1.Tag
|
|
814
|
+
public static let integer: UBQKit.ASN1.Tag
|
|
815
|
+
public static let bitString: UBQKit.ASN1.Tag
|
|
816
|
+
public static let octetString: UBQKit.ASN1.Tag
|
|
817
|
+
public static let null: UBQKit.ASN1.Tag
|
|
818
|
+
public static let objectIdentifier: UBQKit.ASN1.Tag
|
|
819
|
+
public static let utf8String: UBQKit.ASN1.Tag
|
|
820
|
+
public static let sequence: UBQKit.ASN1.Tag
|
|
821
|
+
public static let set: UBQKit.ASN1.Tag
|
|
822
|
+
public static let printableString: UBQKit.ASN1.Tag
|
|
823
|
+
public static let ia5String: UBQKit.ASN1.Tag
|
|
824
|
+
public static let bmpString: UBQKit.ASN1.Tag
|
|
825
|
+
}
|
|
826
|
+
extension UBQKit.ASN1.Tag : Swift.Equatable {
|
|
827
|
+
public static func == (lhs: UBQKit.ASN1.Tag, rhs: UBQKit.ASN1.Tag) -> Swift.Bool
|
|
828
|
+
}
|
|
829
|
+
extension UBQKit.ASN1.Tag : Swift.Comparable {
|
|
830
|
+
public static func < (lhs: UBQKit.ASN1.Tag, rhs: UBQKit.ASN1.Tag) -> Swift.Bool
|
|
831
|
+
}
|
|
832
|
+
extension UBQKit.ASN1 {
|
|
833
|
+
@_hasMissingDesignatedInitializers public class Item {
|
|
834
|
+
final public let tag: UBQKit.ASN1.Tag
|
|
835
|
+
public var length: Swift.Int {
|
|
836
|
+
get
|
|
837
|
+
}
|
|
838
|
+
final public let value: Foundation.Data
|
|
839
|
+
weak public var parent: UBQKit.ASN1.ConstructedItem?
|
|
840
|
+
public static func decode(data: Foundation.Data) -> UBQKit.ASN1.Item
|
|
841
|
+
@objc deinit
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
extension UBQKit.ASN1.Item {
|
|
845
|
+
public var data: Foundation.Data {
|
|
846
|
+
get
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
extension UBQKit.ASN1.Item {
|
|
850
|
+
public func first(where predicate: (UBQKit.ASN1.Item) -> Swift.Bool) -> UBQKit.ASN1.Item?
|
|
851
|
+
public func filter(_ isIncluded: (UBQKit.ASN1.Item) throws -> Swift.Bool) rethrows -> [UBQKit.ASN1.Item]
|
|
852
|
+
}
|
|
853
|
+
extension UBQKit.ASN1 {
|
|
854
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class ConstructedItem : UBQKit.ASN1.Item {
|
|
855
|
+
public var children: [UBQKit.ASN1.Item] {
|
|
856
|
+
get
|
|
857
|
+
}
|
|
858
|
+
@objc deinit
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
extension UBQKit.ASN1 {
|
|
862
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class UTF8String : UBQKit.ASN1.Item {
|
|
863
|
+
convenience public init(_ utf8String: Swift.String)
|
|
864
|
+
public var utf8String: Swift.String {
|
|
865
|
+
get
|
|
866
|
+
set
|
|
867
|
+
}
|
|
868
|
+
@objc deinit
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class UBQPinPad : UBQKit.UBQInternalPad {
|
|
872
|
+
@_Concurrency.MainActor @preconcurrency public var listener: (any UBQKit.UBQPinPadReporting)?
|
|
873
|
+
@_Concurrency.MainActor @preconcurrency public func biometricsTapped()
|
|
874
|
+
@_Concurrency.MainActor @preconcurrency override public func clear(makeVisible: Swift.Bool = true)
|
|
875
|
+
@_Concurrency.MainActor @preconcurrency override public init(biometricsButtonShown: Swift.Bool)
|
|
876
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init()
|
|
877
|
+
@objc deinit
|
|
878
|
+
}
|
|
879
|
+
extension UBQKit.ASN1 {
|
|
880
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class Null : UBQKit.ASN1.Item {
|
|
881
|
+
convenience public init()
|
|
882
|
+
@objc deinit
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
extension UBQKit.ASN1 {
|
|
886
|
+
public typealias SetOf = UBQKit.ASN1.Set
|
|
887
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class Set : UBQKit.ASN1.ConstructedItem {
|
|
888
|
+
convenience public init(_ items: [UBQKit.ASN1.Item])
|
|
889
|
+
@objc deinit
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
public protocol TransactionRejectProtocol {
|
|
893
|
+
func onTransactionRejected()
|
|
894
|
+
func onTransactionRejectFailure(error: UBQKit.UbqKitError)
|
|
895
|
+
}
|
|
896
|
+
public protocol TransactionFinishProtocol {
|
|
897
|
+
func onTransactionCompleted(result: Swift.String?)
|
|
898
|
+
func onTransactionFinishFailure(error: UBQKit.UbqKitError)
|
|
899
|
+
func onTransactionIncorrectPinEntered(pinAttemptsLeft: Swift.Int8)
|
|
900
|
+
}
|
|
901
|
+
public protocol ResetPinFinishProtocol {
|
|
902
|
+
func onResetPinCompleted()
|
|
903
|
+
func onResetPinFinishFailure(error: UBQKit.UbqKitError)
|
|
904
|
+
func onResetPinIncorrectPukEntered(pinAttemptsLeft: Swift.Int8)
|
|
905
|
+
}
|
|
906
|
+
@_hasMissingDesignatedInitializers public class UbqAsset : Swift.CustomDebugStringConvertible {
|
|
907
|
+
final public let uuid: Foundation.UUID
|
|
908
|
+
public var state: UBQKit.Asset.AssetState {
|
|
909
|
+
get
|
|
910
|
+
}
|
|
911
|
+
@available(*, deprecated, message: "This property will be removed in future releases. Profile names should be stored by app host.")
|
|
912
|
+
public var profileName: Swift.String {
|
|
913
|
+
get
|
|
914
|
+
}
|
|
915
|
+
public var biometricAuthenticationEnabled: Swift.Bool {
|
|
916
|
+
get
|
|
917
|
+
}
|
|
918
|
+
final public let idp: UBQKit.UbqIdentityProvider
|
|
919
|
+
public var derivedAssets: [UBQKit.UbqDerivedAsset]
|
|
920
|
+
public var debugDescription: Swift.String {
|
|
921
|
+
get
|
|
922
|
+
}
|
|
923
|
+
public var shouldBeMarkedAsAes: Swift.Bool {
|
|
924
|
+
get
|
|
925
|
+
}
|
|
926
|
+
public var canBeUpgraded: Swift.Bool {
|
|
927
|
+
get
|
|
928
|
+
}
|
|
929
|
+
public func identify(withNonce nonce: Swift.String, success: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
930
|
+
public func createDa(cryptoTypes: UBQKit.CryptoTypes, success: @escaping (UBQKit.UbqDerivedAsset) -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
931
|
+
public func refreshDerivedAssets(success: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
932
|
+
public func loadTransaction(transactionID: Foundation.UUID? = nil, success: @escaping (_ flow: UBQKit.UbqTransaction) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
933
|
+
public func revoke(success: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
934
|
+
public func delete(success: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
935
|
+
public func addBiometrics(onStarted: @escaping (_ flow: UBQKit.UbqAddBiometrics) -> Swift.Void, onStartFailure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
936
|
+
public func changePin(success: @escaping (_ flow: UBQKit.UbqChangePin) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
937
|
+
public func resetPin(_ puk: Swift.String, success: @escaping (_ flow: UBQKit.UbqResetPin) -> Swift.Void, failure: @escaping (_ error: UBQKit.UbqKitError) -> Swift.Void)
|
|
938
|
+
public func addBiometrics(success: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
939
|
+
public func removeBiometrics()
|
|
940
|
+
public func upgradeAsset() async throws
|
|
941
|
+
public func isAesAsset(completion: @escaping (Swift.Bool) -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
942
|
+
public func setIsAesAsset(isAes: Swift.Bool, completion: @escaping () -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
943
|
+
public func registerPushToken(token: Swift.String) async throws
|
|
944
|
+
@objc deinit
|
|
945
|
+
}
|
|
946
|
+
extension UBQKit.UbqAsset {
|
|
947
|
+
public static func getAmountOfTransactions(completion: @escaping ([UBQKit.UbqAsset : Swift.Int]) -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
948
|
+
}
|
|
949
|
+
extension UBQKit.UbqAsset : Swift.Equatable, Swift.Hashable {
|
|
950
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
951
|
+
public static func == (lhs: UBQKit.UbqAsset, rhs: UBQKit.UbqAsset) -> Swift.Bool
|
|
952
|
+
public var hashValue: Swift.Int {
|
|
953
|
+
get
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
public struct UbqIdentityProvider : Swift.CustomDebugStringConvertible {
|
|
957
|
+
public let name: Swift.String
|
|
958
|
+
public let uuid: Foundation.UUID
|
|
959
|
+
public var themeID: Swift.Int {
|
|
960
|
+
get
|
|
961
|
+
}
|
|
962
|
+
public var urlScheme: Swift.String? {
|
|
963
|
+
get
|
|
964
|
+
}
|
|
965
|
+
public var debugDescription: Swift.String {
|
|
966
|
+
get
|
|
967
|
+
}
|
|
968
|
+
public func supportsBiometrics() -> Swift.Bool
|
|
969
|
+
public static func getIdentityProvider(forNonce nonce: Swift.String, completion: @escaping (UBQKit.UbqIdentityProvider) -> Swift.Void, failure: @escaping (UBQKit.UbqKitError) -> Swift.Void)
|
|
970
|
+
}
|
|
971
|
+
@_inheritsConvenienceInitializers @objc final public class AESCBC : ObjectiveC.NSObject {
|
|
972
|
+
@objc public static func encrypt(_ data: Foundation.Data, using key: Foundation.Data) -> Foundation.Data?
|
|
973
|
+
@objc public static func decrypt(_ data: Foundation.Data, using key: Foundation.Data) -> Foundation.Data?
|
|
974
|
+
@objc public static func encryptNoPadding(_ data: Foundation.Data, key: Foundation.Data) -> Foundation.Data?
|
|
975
|
+
@objc public static func decryptNoPadding(_ data: Foundation.Data, key: Foundation.Data) -> Foundation.Data?
|
|
976
|
+
@objc public static func decryptNoPaddingNoIV(_ data: Foundation.Data, key: Foundation.Data) -> Foundation.Data?
|
|
977
|
+
@objc override dynamic public init()
|
|
978
|
+
@objc deinit
|
|
979
|
+
}
|
|
980
|
+
@_inheritsConvenienceInitializers @objc final public class AESKeyWrap : ObjectiveC.NSObject {
|
|
981
|
+
@objc public static func wrap(key: Foundation.Data, using wrapperKey: Foundation.Data) -> Foundation.Data?
|
|
982
|
+
@objc public static func unwrap(wrappedKey: Foundation.Data, using wrapperKey: Foundation.Data) -> Foundation.Data?
|
|
983
|
+
@objc override dynamic public init()
|
|
984
|
+
@objc deinit
|
|
985
|
+
}
|
|
986
|
+
extension UBQKit.ASN1 {
|
|
987
|
+
public typealias OID = UBQKit.ASN1.ObjectIdentifier
|
|
988
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class ObjectIdentifier : UBQKit.ASN1.Item {
|
|
989
|
+
convenience public init(oidString string: Swift.String)
|
|
990
|
+
public var oidString: Swift.String {
|
|
991
|
+
get
|
|
992
|
+
set
|
|
993
|
+
}
|
|
994
|
+
@objc deinit
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
@_hasMissingDesignatedInitializers public class UbqResetPin {
|
|
998
|
+
public enum ResetPinState {
|
|
999
|
+
case AWAITING_NEW_PIN
|
|
1000
|
+
case AWAITING_CONFIRMATION_PIN
|
|
1001
|
+
case AWAITING_FINISH
|
|
1002
|
+
case SUCCESS
|
|
1003
|
+
case FAILURE
|
|
1004
|
+
public static func == (a: UBQKit.UbqResetPin.ResetPinState, b: UBQKit.UbqResetPin.ResetPinState) -> Swift.Bool
|
|
1005
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1006
|
+
public var hashValue: Swift.Int {
|
|
1007
|
+
get
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
public var state: UBQKit.UbqResetPin.ResetPinState {
|
|
1011
|
+
get
|
|
1012
|
+
}
|
|
1013
|
+
public func setUiProtocol(i: any UBQKit.ResetPinUiProtocol)
|
|
1014
|
+
public func finish(resetPinFinishProtocol: any UBQKit.ResetPinFinishProtocol)
|
|
1015
|
+
@objc deinit
|
|
1016
|
+
}
|
|
1017
|
+
@_inheritsConvenienceInitializers @objc final public class HMACSHA256 : ObjectiveC.NSObject {
|
|
1018
|
+
@objc public static func mac(_ data: Foundation.Data, key: Foundation.Data) -> Foundation.Data
|
|
1019
|
+
@objc override dynamic public init()
|
|
1020
|
+
@objc deinit
|
|
1021
|
+
}
|
|
1022
|
+
@_hasMissingDesignatedInitializers public class UbqChangePin {
|
|
1023
|
+
public enum ChangePinState {
|
|
1024
|
+
case AWAITING_PIN
|
|
1025
|
+
case AWAITING_NEW_PIN
|
|
1026
|
+
case AWAITING_CONFIRMATION_PIN
|
|
1027
|
+
case AWAITING_FINISH
|
|
1028
|
+
case SUCCESS
|
|
1029
|
+
case FAILURE
|
|
1030
|
+
public static func == (a: UBQKit.UbqChangePin.ChangePinState, b: UBQKit.UbqChangePin.ChangePinState) -> Swift.Bool
|
|
1031
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1032
|
+
public var hashValue: Swift.Int {
|
|
1033
|
+
get
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
public var state: UBQKit.UbqChangePin.ChangePinState {
|
|
1037
|
+
get
|
|
1038
|
+
}
|
|
1039
|
+
public func setUiProtocol(i: any UBQKit.ChangePinUiProtocol)
|
|
1040
|
+
public func finish(changePinFinishProtocol: any UBQKit.ChangePinFinishProtocol)
|
|
1041
|
+
@objc deinit
|
|
1042
|
+
}
|
|
1043
|
+
extension UBQKit.ASN1 {
|
|
1044
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class IA5String : UBQKit.ASN1.Item {
|
|
1045
|
+
convenience public init(_ ia5String: Swift.String)
|
|
1046
|
+
public var ia5String: Swift.String {
|
|
1047
|
+
get
|
|
1048
|
+
set
|
|
1049
|
+
}
|
|
1050
|
+
@objc deinit
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
public protocol AddBiometricsFinishProtocol {
|
|
1054
|
+
func onAddBiometricsCompleted()
|
|
1055
|
+
func onAddBiometricsFinishFailure(error: UBQKit.UbqKitError)
|
|
1056
|
+
func onAddBiometricsIncorrectPinEntered(pinAttemptsLeft: Swift.Int8)
|
|
1057
|
+
}
|
|
1058
|
+
public protocol SubscribeFinishProtocol {
|
|
1059
|
+
func onSubscribeCompleted(ubqAsset: UBQKit.UbqAsset)
|
|
1060
|
+
func onSubscribeFinishFailure(error: UBQKit.UbqKitError)
|
|
1061
|
+
func onSubscribeIncorrectPukEntered(ubqAsset: UBQKit.UbqAsset)
|
|
1062
|
+
}
|
|
1063
|
+
public protocol AddBiometricsUiProtocol {
|
|
1064
|
+
func onAddBiometricsPinEntered()
|
|
1065
|
+
func onAddBiometricsIncorrectBiometricsEntered()
|
|
1066
|
+
func onAddBiometricsUiError(error: UBQKit.UbqKitError)
|
|
1067
|
+
}
|
|
1068
|
+
extension UBQKit.UbqSubscribe.SubscribeState : Swift.Equatable {}
|
|
1069
|
+
extension UBQKit.UbqSubscribe.SubscribeState : Swift.Hashable {}
|
|
1070
|
+
extension UBQKit.CryptoTypes : Swift.Equatable {}
|
|
1071
|
+
extension UBQKit.CryptoTypes : Swift.Hashable {}
|
|
1072
|
+
@available(iOS 13.0.0, *)
|
|
1073
|
+
extension UBQKit.TransactionTitle : Swift.Sendable {}
|
|
1074
|
+
extension UBQKit.FMVersion.Feature : Swift.Equatable {}
|
|
1075
|
+
extension UBQKit.FMVersion.Feature : Swift.Hashable {}
|
|
1076
|
+
extension UBQKit.TransactionType : Swift.Equatable {}
|
|
1077
|
+
extension UBQKit.TransactionType : Swift.Hashable {}
|
|
1078
|
+
extension UBQKit.UbqTransaction.TransactionState : Swift.Equatable {}
|
|
1079
|
+
extension UBQKit.UbqTransaction.TransactionState : Swift.Hashable {}
|
|
1080
|
+
extension UBQKit.XMLEncoder.StringEncodingStrategy : Swift.Equatable {}
|
|
1081
|
+
extension UBQKit.XMLEncoder.StringEncodingStrategy : Swift.Hashable {}
|
|
1082
|
+
extension UBQKit.Asset.AssetState : Swift.Equatable {}
|
|
1083
|
+
extension UBQKit.Asset.AssetState : Swift.Hashable {}
|
|
1084
|
+
extension UBQKit.Asset.AssetState : Swift.RawRepresentable {}
|
|
1085
|
+
extension UBQKit.UbqAddBiometrics.AddBiometricsState : Swift.Equatable {}
|
|
1086
|
+
extension UBQKit.UbqAddBiometrics.AddBiometricsState : Swift.Hashable {}
|
|
1087
|
+
extension UBQKit.ASN1.Tag.Class : Swift.Equatable {}
|
|
1088
|
+
extension UBQKit.ASN1.Tag.Class : Swift.Hashable {}
|
|
1089
|
+
extension UBQKit.ASN1.Tag.Class : Swift.RawRepresentable {}
|
|
1090
|
+
extension UBQKit.ASN1.Tag.Form : Swift.Equatable {}
|
|
1091
|
+
extension UBQKit.ASN1.Tag.Form : Swift.Hashable {}
|
|
1092
|
+
extension UBQKit.ASN1.Tag.Form : Swift.RawRepresentable {}
|
|
1093
|
+
extension UBQKit.ASN1.Tag.Value : Swift.Equatable {}
|
|
1094
|
+
extension UBQKit.ASN1.Tag.Value : Swift.Hashable {}
|
|
1095
|
+
extension UBQKit.ASN1.Tag.Value : Swift.RawRepresentable {}
|
|
1096
|
+
extension UBQKit.UbqResetPin.ResetPinState : Swift.Equatable {}
|
|
1097
|
+
extension UBQKit.UbqResetPin.ResetPinState : Swift.Hashable {}
|
|
1098
|
+
extension UBQKit.UbqChangePin.ChangePinState : Swift.Equatable {}
|
|
1099
|
+
extension UBQKit.UbqChangePin.ChangePinState : Swift.Hashable {}
|