capacitor-freerasp 1.0.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/CapacitorFreerasp.podspec +19 -0
- package/LICENSE +20 -0
- package/README.md +431 -0
- package/android/build.gradle +75 -0
- package/android/consumer-rules.pro +1 -0
- package/android/gradle.properties +22 -0
- package/android/proguard-rules.pro +21 -0
- package/android/settings.gradle +2 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/com/aheaditec/freerasp/FreeraspPlugin.kt +120 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/esm/definitions.d.ts +36 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.js +25 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +9 -0
- package/dist/esm/web.js +8 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +45 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +48 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Freerasp.swift +8 -0
- package/ios/Plugin/FreeraspPlugin.h +10 -0
- package/ios/Plugin/FreeraspPlugin.m +9 -0
- package/ios/Plugin/FreeraspPlugin.swift +66 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/TalsecRuntime.xcframework/Info.plist +40 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +297 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +3029 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +77 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +123 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +50 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +456 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +68 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +504 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +125 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +5255 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +17 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +3154 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/module.modulemap +12 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +590 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +3029 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +77 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +123 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +50 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +456 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +68 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +504 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +125 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +5220 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +5220 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +54 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +17 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +388 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +3154 -0
- package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +12 -0
- package/package.json +92 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Foundation
|
|
6
|
+
import LocalAuthentication
|
|
7
|
+
import TalsecRuntime.Private
|
|
8
|
+
import Security
|
|
9
|
+
import Swift
|
|
10
|
+
@_exported import TalsecRuntime
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
public protocol SecurityThreatHandler {
|
|
15
|
+
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
|
|
16
|
+
}
|
|
17
|
+
@_hasMissingDesignatedInitializers public class SecurityThreatCenter {
|
|
18
|
+
@objc deinit
|
|
19
|
+
}
|
|
20
|
+
public struct TalsecConfig {
|
|
21
|
+
public let appBundleIds: [Swift.String]
|
|
22
|
+
public let appTeamId: Swift.String
|
|
23
|
+
public let watcherMailAddress: Swift.String?
|
|
24
|
+
public let isProd: Swift.Bool?
|
|
25
|
+
public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?, isProd: Swift.Bool? = true)
|
|
26
|
+
}
|
|
27
|
+
@_hasMissingDesignatedInitializers public class Talsec {
|
|
28
|
+
public static func start(config: TalsecRuntime.TalsecConfig)
|
|
29
|
+
@objc deinit
|
|
30
|
+
}
|
|
31
|
+
public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Swift.Equatable {
|
|
32
|
+
case signature
|
|
33
|
+
case jailbreak
|
|
34
|
+
case debugger
|
|
35
|
+
case runtimeManipulation
|
|
36
|
+
case passcode
|
|
37
|
+
case passcodeChange
|
|
38
|
+
case simulator
|
|
39
|
+
case missingSecureEnclave
|
|
40
|
+
case deviceChange
|
|
41
|
+
case deviceID
|
|
42
|
+
case unofficialStore
|
|
43
|
+
public init?(rawValue: Swift.String)
|
|
44
|
+
public typealias AllCases = [TalsecRuntime.SecurityThreat]
|
|
45
|
+
public typealias RawValue = Swift.String
|
|
46
|
+
public static var allCases: [TalsecRuntime.SecurityThreat] {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
public var rawValue: Swift.String {
|
|
50
|
+
get
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
extension TalsecRuntime.SecurityThreat : Swift.Hashable {}
|
|
54
|
+
extension TalsecRuntime.SecurityThreat : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Foundation
|
|
6
|
+
import LocalAuthentication
|
|
7
|
+
import TalsecRuntime.Private
|
|
8
|
+
import Security
|
|
9
|
+
import Swift
|
|
10
|
+
@_exported import TalsecRuntime
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
public protocol SecurityThreatHandler {
|
|
15
|
+
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
|
|
16
|
+
}
|
|
17
|
+
@_hasMissingDesignatedInitializers public class SecurityThreatCenter {
|
|
18
|
+
@objc deinit
|
|
19
|
+
}
|
|
20
|
+
public struct TalsecConfig {
|
|
21
|
+
public let appBundleIds: [Swift.String]
|
|
22
|
+
public let appTeamId: Swift.String
|
|
23
|
+
public let watcherMailAddress: Swift.String?
|
|
24
|
+
public let isProd: Swift.Bool?
|
|
25
|
+
public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?, isProd: Swift.Bool? = true)
|
|
26
|
+
}
|
|
27
|
+
@_hasMissingDesignatedInitializers public class Talsec {
|
|
28
|
+
public static func start(config: TalsecRuntime.TalsecConfig)
|
|
29
|
+
@objc deinit
|
|
30
|
+
}
|
|
31
|
+
public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Swift.Equatable {
|
|
32
|
+
case signature
|
|
33
|
+
case jailbreak
|
|
34
|
+
case debugger
|
|
35
|
+
case runtimeManipulation
|
|
36
|
+
case passcode
|
|
37
|
+
case passcodeChange
|
|
38
|
+
case simulator
|
|
39
|
+
case missingSecureEnclave
|
|
40
|
+
case deviceChange
|
|
41
|
+
case deviceID
|
|
42
|
+
case unofficialStore
|
|
43
|
+
public init?(rawValue: Swift.String)
|
|
44
|
+
public typealias AllCases = [TalsecRuntime.SecurityThreat]
|
|
45
|
+
public typealias RawValue = Swift.String
|
|
46
|
+
public static var allCases: [TalsecRuntime.SecurityThreat] {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
public var rawValue: Swift.String {
|
|
50
|
+
get
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
extension TalsecRuntime.SecurityThreat : Swift.Hashable {}
|
|
54
|
+
extension TalsecRuntime.SecurityThreat : Swift.RawRepresentable {}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
framework module TalsecRuntime {
|
|
2
|
+
umbrella header "TalsecRuntime_iOS.h"
|
|
3
|
+
|
|
4
|
+
export *
|
|
5
|
+
module * { export * }
|
|
6
|
+
|
|
7
|
+
explicit module Private {
|
|
8
|
+
private header "CryptoBridgingHeader.h"
|
|
9
|
+
private header "CurlWrapper.h"
|
|
10
|
+
export *
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
module TalsecRuntime.Swift {
|
|
15
|
+
header "TalsecRuntime-Swift.h"
|
|
16
|
+
requires objc
|
|
17
|
+
}
|