freerasp-react-native 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.
Files changed (177) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +413 -0
  3. package/android/build.gradle +87 -0
  4. package/android/gradle.properties +5 -0
  5. package/android/src/main/AndroidManifest.xml +4 -0
  6. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +108 -0
  7. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativePackage.kt +17 -0
  8. package/example/Gemfile +6 -0
  9. package/example/android/app/_BUCK +55 -0
  10. package/example/android/app/build.gradle +313 -0
  11. package/example/android/app/build_defs.bzl +19 -0
  12. package/example/android/app/debug.keystore +0 -0
  13. package/example/android/app/proguard-rules.pro +10 -0
  14. package/example/android/app/src/debug/AndroidManifest.xml +13 -0
  15. package/example/android/app/src/debug/java/com/freeraspreactnativeexample/ReactNativeFlipper.java +73 -0
  16. package/example/android/app/src/main/AndroidManifest.xml +26 -0
  17. package/example/android/app/src/main/java/com/freeraspreactnativeexample/MainActivity.java +48 -0
  18. package/example/android/app/src/main/java/com/freeraspreactnativeexample/MainApplication.java +91 -0
  19. package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/MainApplicationReactNativeHost.java +116 -0
  20. package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/components/MainComponentsRegistry.java +36 -0
  21. package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -0
  22. package/example/android/app/src/main/jni/CMakeLists.txt +7 -0
  23. package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +32 -0
  24. package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -0
  25. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -0
  26. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -0
  27. package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +65 -0
  28. package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -0
  29. package/example/android/app/src/main/jni/OnLoad.cpp +11 -0
  30. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
  31. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  32. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  33. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  34. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  35. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  36. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  37. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  38. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  39. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  40. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  41. package/example/android/app/src/main/res/values/strings.xml +3 -0
  42. package/example/android/app/src/main/res/values/styles.xml +9 -0
  43. package/example/android/build.gradle +53 -0
  44. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  45. package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  46. package/example/android/gradle.properties +40 -0
  47. package/example/android/gradlew +234 -0
  48. package/example/android/gradlew.bat +89 -0
  49. package/example/android/settings.gradle +11 -0
  50. package/example/app.json +4 -0
  51. package/example/babel.config.js +17 -0
  52. package/example/index.js +5 -0
  53. package/example/ios/File.swift +6 -0
  54. package/example/ios/FreeraspReactNativeExample/AppDelegate.h +8 -0
  55. package/example/ios/FreeraspReactNativeExample/AppDelegate.mm +133 -0
  56. package/example/ios/FreeraspReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  57. package/example/ios/FreeraspReactNativeExample/Images.xcassets/Contents.json +6 -0
  58. package/example/ios/FreeraspReactNativeExample/Info.plist +55 -0
  59. package/example/ios/FreeraspReactNativeExample/LaunchScreen.storyboard +47 -0
  60. package/example/ios/FreeraspReactNativeExample/main.m +10 -0
  61. package/example/ios/FreeraspReactNativeExample-Bridging-Header.h +3 -0
  62. package/example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj +712 -0
  63. package/example/ios/FreeraspReactNativeExample.xcodeproj/xcshareddata/xcschemes/FreeraspReactNativeExample.xcscheme +106 -0
  64. package/example/ios/FreeraspReactNativeExample.xcworkspace/contents.xcworkspacedata +10 -0
  65. package/example/ios/FreeraspReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  66. package/example/ios/FreeraspReactNativeExampleTests/FreeraspReactNativeExampleTests.m +66 -0
  67. package/example/ios/FreeraspReactNativeExampleTests/Info.plist +24 -0
  68. package/example/ios/Podfile +43 -0
  69. package/example/ios/Podfile.lock +584 -0
  70. package/example/metro.config.js +40 -0
  71. package/example/package.json +21 -0
  72. package/example/react-native.config.js +10 -0
  73. package/example/src/App.tsx +89 -0
  74. package/example/yarn.lock +4154 -0
  75. package/freerasp-react-native.podspec +36 -0
  76. package/ios/Debug/TalsecRuntime.xcframework/Info.plist +40 -0
  77. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
  78. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
  79. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +222 -0
  80. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
  81. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +3029 -0
  82. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +77 -0
  83. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +123 -0
  84. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +50 -0
  85. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +456 -0
  86. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +68 -0
  87. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
  88. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +504 -0
  89. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +125 -0
  90. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  91. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  92. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +51 -0
  93. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +17 -0
  94. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  95. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +3154 -0
  96. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/module.modulemap +12 -0
  97. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
  98. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
  99. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +450 -0
  100. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
  101. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +3029 -0
  102. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +77 -0
  103. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +123 -0
  104. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +50 -0
  105. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +456 -0
  106. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +68 -0
  107. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
  108. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +504 -0
  109. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +125 -0
  110. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  111. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  112. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +51 -0
  113. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  114. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +51 -0
  115. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +17 -0
  116. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  117. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +344 -0
  118. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +3154 -0
  119. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +12 -0
  120. package/ios/FreeraspReactNative-Bridging-Header.h +3 -0
  121. package/ios/FreeraspReactNative.m +14 -0
  122. package/ios/FreeraspReactNative.swift +53 -0
  123. package/ios/FreeraspReactNative.xcodeproj/project.pbxproj +291 -0
  124. package/ios/FreeraspReactNative.xcodeproj/xcshareddata/xcschemes/FreeraspReactNative.xcscheme +67 -0
  125. package/ios/Release/TalsecRuntime.xcframework/Info.plist +40 -0
  126. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
  127. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
  128. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +222 -0
  129. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
  130. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +3029 -0
  131. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +77 -0
  132. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +123 -0
  133. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +50 -0
  134. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +456 -0
  135. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +68 -0
  136. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
  137. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +504 -0
  138. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +125 -0
  139. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  140. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  141. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +51 -0
  142. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +17 -0
  143. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  144. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +3154 -0
  145. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/module.modulemap +12 -0
  146. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -0
  147. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -0
  148. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +450 -0
  149. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -0
  150. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +3029 -0
  151. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +77 -0
  152. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +123 -0
  153. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +50 -0
  154. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +456 -0
  155. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +68 -0
  156. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +33 -0
  157. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +504 -0
  158. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +125 -0
  159. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  160. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  161. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +51 -0
  162. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  163. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +51 -0
  164. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +17 -0
  165. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  166. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +344 -0
  167. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +3154 -0
  168. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +12 -0
  169. package/ios/TalsecRuntime.xcframework +1 -0
  170. package/lib/commonjs/index.js +47 -0
  171. package/lib/commonjs/index.js.map +1 -0
  172. package/lib/module/index.js +36 -0
  173. package/lib/module/index.js.map +1 -0
  174. package/lib/typescript/index.d.ts +36 -0
  175. package/lib/typescript/index.d.ts.map +1 -0
  176. package/package.json +161 -0
  177. package/src/index.tsx +90 -0
@@ -0,0 +1,36 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
+
6
+ Pod::Spec.new do |s|
7
+ s.name = "freerasp-react-native"
8
+ s.version = package["version"]
9
+ s.summary = package["description"]
10
+ s.homepage = package["homepage"]
11
+ s.license = package["license"]
12
+ s.authors = package["author"]
13
+
14
+ s.platforms = { :ios => "11.0" }
15
+ s.source = { :git => "https://github.com/talsec/freerasp-react-native.git", :tag => "#{s.version}" }
16
+
17
+ s.source_files = "ios/**/*.{h,m,mm,swift}"
18
+ s.ios.vendored_frameworks = "ios/Debug/TalsecRuntime.xcframework"
19
+
20
+ s.dependency "React-Core"
21
+
22
+ # Don't install the dependencies when we run `pod install` in the old architecture.
23
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
24
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
25
+ s.pod_target_xcconfig = {
26
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
27
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
28
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
29
+ }
30
+ s.dependency "React-Codegen"
31
+ s.dependency "RCT-Folly"
32
+ s.dependency "RCTRequired"
33
+ s.dependency "RCTTypeSafety"
34
+ s.dependency "ReactCommon/turbomodule/core"
35
+ end
36
+ end
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>LibraryIdentifier</key>
9
+ <string>ios-arm64</string>
10
+ <key>LibraryPath</key>
11
+ <string>TalsecRuntime.framework</string>
12
+ <key>SupportedArchitectures</key>
13
+ <array>
14
+ <string>arm64</string>
15
+ </array>
16
+ <key>SupportedPlatform</key>
17
+ <string>ios</string>
18
+ </dict>
19
+ <dict>
20
+ <key>LibraryIdentifier</key>
21
+ <string>ios-arm64_x86_64-simulator</string>
22
+ <key>LibraryPath</key>
23
+ <string>TalsecRuntime.framework</string>
24
+ <key>SupportedArchitectures</key>
25
+ <array>
26
+ <string>arm64</string>
27
+ <string>x86_64</string>
28
+ </array>
29
+ <key>SupportedPlatform</key>
30
+ <string>ios</string>
31
+ <key>SupportedPlatformVariant</key>
32
+ <string>simulator</string>
33
+ </dict>
34
+ </array>
35
+ <key>CFBundlePackageType</key>
36
+ <string>XFWK</string>
37
+ <key>XCFrameworkFormatVersion</key>
38
+ <string>1.0</string>
39
+ </dict>
40
+ </plist>
@@ -0,0 +1,14 @@
1
+ //
2
+ // CryptoBridgingHeader.h
3
+ // Talsec
4
+ //
5
+ // Created by Jakub Mejtský on 05/08/2019.
6
+ // Copyright © 2019 AHEAD iTec, s.r.o. All rights reserved.
7
+ //
8
+
9
+ #ifndef Crypto_h
10
+ #define Crypto_h
11
+
12
+ #import <CommonCrypto/CommonCrypto.h>
13
+
14
+ #endif /* Crypto_h */
@@ -0,0 +1,25 @@
1
+ //
2
+ // CurlWrapper.h
3
+ // Talsec
4
+ //
5
+ // Created by Jakub Mejtský on 23/07/2019.
6
+ // Copyright © 2019 AHEAD iTec, s.r.o. All rights reserved.
7
+ //
8
+
9
+ #ifndef CurlWrapper_h
10
+ #define CurlWrapper_h
11
+
12
+ #include "curl.h"
13
+ #include <stdio.h>
14
+ #include <stdlib.h>
15
+ #include <sys/sysctl.h>
16
+ #include <unistd.h>
17
+ #include <string.h>
18
+
19
+ struct tKmUaogdBLYY {
20
+ char *memory;
21
+ size_t size;
22
+ CURLcode ret;
23
+ };
24
+
25
+ #endif /* CurlWrapper_h */
@@ -0,0 +1,222 @@
1
+ // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
2
+ #ifndef TALSECRUNTIME_SWIFT_H
3
+ #define TALSECRUNTIME_SWIFT_H
4
+ #pragma clang diagnostic push
5
+ #pragma clang diagnostic ignored "-Wgcc-compat"
6
+
7
+ #if !defined(__has_include)
8
+ # define __has_include(x) 0
9
+ #endif
10
+ #if !defined(__has_attribute)
11
+ # define __has_attribute(x) 0
12
+ #endif
13
+ #if !defined(__has_feature)
14
+ # define __has_feature(x) 0
15
+ #endif
16
+ #if !defined(__has_warning)
17
+ # define __has_warning(x) 0
18
+ #endif
19
+
20
+ #if __has_include(<swift/objc-prologue.h>)
21
+ # include <swift/objc-prologue.h>
22
+ #endif
23
+
24
+ #pragma clang diagnostic ignored "-Wauto-import"
25
+ #include <Foundation/Foundation.h>
26
+ #include <stdint.h>
27
+ #include <stddef.h>
28
+ #include <stdbool.h>
29
+
30
+ #if !defined(SWIFT_TYPEDEFS)
31
+ # define SWIFT_TYPEDEFS 1
32
+ # if __has_include(<uchar.h>)
33
+ # include <uchar.h>
34
+ # elif !defined(__cplusplus)
35
+ typedef uint_least16_t char16_t;
36
+ typedef uint_least32_t char32_t;
37
+ # endif
38
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
39
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
40
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
41
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
42
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
43
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
44
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
45
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
46
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
47
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
48
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
49
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
50
+ #endif
51
+
52
+ #if !defined(SWIFT_PASTE)
53
+ # define SWIFT_PASTE_HELPER(x, y) x##y
54
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
55
+ #endif
56
+ #if !defined(SWIFT_METATYPE)
57
+ # define SWIFT_METATYPE(X) Class
58
+ #endif
59
+ #if !defined(SWIFT_CLASS_PROPERTY)
60
+ # if __has_feature(objc_class_property)
61
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
62
+ # else
63
+ # define SWIFT_CLASS_PROPERTY(...)
64
+ # endif
65
+ #endif
66
+
67
+ #if __has_attribute(objc_runtime_name)
68
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
69
+ #else
70
+ # define SWIFT_RUNTIME_NAME(X)
71
+ #endif
72
+ #if __has_attribute(swift_name)
73
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
74
+ #else
75
+ # define SWIFT_COMPILE_NAME(X)
76
+ #endif
77
+ #if __has_attribute(objc_method_family)
78
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
79
+ #else
80
+ # define SWIFT_METHOD_FAMILY(X)
81
+ #endif
82
+ #if __has_attribute(noescape)
83
+ # define SWIFT_NOESCAPE __attribute__((noescape))
84
+ #else
85
+ # define SWIFT_NOESCAPE
86
+ #endif
87
+ #if __has_attribute(ns_consumed)
88
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89
+ #else
90
+ # define SWIFT_RELEASES_ARGUMENT
91
+ #endif
92
+ #if __has_attribute(warn_unused_result)
93
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
94
+ #else
95
+ # define SWIFT_WARN_UNUSED_RESULT
96
+ #endif
97
+ #if __has_attribute(noreturn)
98
+ # define SWIFT_NORETURN __attribute__((noreturn))
99
+ #else
100
+ # define SWIFT_NORETURN
101
+ #endif
102
+ #if !defined(SWIFT_CLASS_EXTRA)
103
+ # define SWIFT_CLASS_EXTRA
104
+ #endif
105
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
106
+ # define SWIFT_PROTOCOL_EXTRA
107
+ #endif
108
+ #if !defined(SWIFT_ENUM_EXTRA)
109
+ # define SWIFT_ENUM_EXTRA
110
+ #endif
111
+ #if !defined(SWIFT_CLASS)
112
+ # if __has_attribute(objc_subclassing_restricted)
113
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
114
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
115
+ # else
116
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
117
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
118
+ # endif
119
+ #endif
120
+ #if !defined(SWIFT_RESILIENT_CLASS)
121
+ # if __has_attribute(objc_class_stub)
122
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
123
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
124
+ # else
125
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
126
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127
+ # endif
128
+ #endif
129
+
130
+ #if !defined(SWIFT_PROTOCOL)
131
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133
+ #endif
134
+
135
+ #if !defined(SWIFT_EXTENSION)
136
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137
+ #endif
138
+
139
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
140
+ # if __has_attribute(objc_designated_initializer)
141
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142
+ # else
143
+ # define OBJC_DESIGNATED_INITIALIZER
144
+ # endif
145
+ #endif
146
+ #if !defined(SWIFT_ENUM_ATTR)
147
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
148
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149
+ # else
150
+ # define SWIFT_ENUM_ATTR(_extensibility)
151
+ # endif
152
+ #endif
153
+ #if !defined(SWIFT_ENUM)
154
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
155
+ # if __has_feature(generalized_swift_name)
156
+ # 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
157
+ # else
158
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
159
+ # endif
160
+ #endif
161
+ #if !defined(SWIFT_UNAVAILABLE)
162
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
163
+ #endif
164
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
165
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
166
+ #endif
167
+ #if !defined(SWIFT_AVAILABILITY)
168
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
169
+ #endif
170
+ #if !defined(SWIFT_WEAK_IMPORT)
171
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
172
+ #endif
173
+ #if !defined(SWIFT_DEPRECATED)
174
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
175
+ #endif
176
+ #if !defined(SWIFT_DEPRECATED_MSG)
177
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178
+ #endif
179
+ #if __has_feature(attribute_diagnose_if_objc)
180
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
181
+ #else
182
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
183
+ #endif
184
+ #if !defined(IBSegueAction)
185
+ # define IBSegueAction
186
+ #endif
187
+ #if !defined(SWIFT_EXTERN)
188
+ # if defined(__cplusplus)
189
+ # define SWIFT_EXTERN extern "C"
190
+ # else
191
+ # define SWIFT_EXTERN extern
192
+ # endif
193
+ #endif
194
+ #if __has_feature(modules)
195
+ #if __has_warning("-Watimport-in-framework-header")
196
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
197
+ #endif
198
+ #endif
199
+
200
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
202
+ #if __has_warning("-Wpragma-clang-attribute")
203
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
204
+ #endif
205
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
206
+ #pragma clang diagnostic ignored "-Wnullability"
207
+
208
+ #if __has_attribute(external_source_symbol)
209
+ # pragma push_macro("any")
210
+ # undef any
211
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="TalsecRuntime",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
212
+ # pragma pop_macro("any")
213
+ #endif
214
+
215
+
216
+ SWIFT_EXTERN void __qUDkADLJQQipzIQYYUcEwdK(void);
217
+
218
+ #if __has_attribute(external_source_symbol)
219
+ # pragma clang attribute pop
220
+ #endif
221
+ #pragma clang diagnostic pop
222
+ #endif
@@ -0,0 +1,23 @@
1
+ //
2
+ // TalsecRuntime.h
3
+ // Talsec
4
+ //
5
+ // Created by Jakub Mejtský on 15/12/2018.
6
+ // Copyright © 2018 AHEAD iTec, s.r.o. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ //! Project version number for TalsecRuntime_iOS.
12
+ FOUNDATION_EXPORT double TalsecRuntime_iOSVersionNumber;
13
+
14
+ //! Project version string for TalsecRuntime.
15
+ FOUNDATION_EXPORT const unsigned char TalsecRuntime_iOSVersionString[];
16
+
17
+ // In this header, you should import all the public headers of your framework using statements like #import <Talsec/PublicHeader.h>
18
+
19
+ #define __warning__(x)
20
+
21
+ #import "stdcheaders.h"
22
+ #import "mprintf.h"
23
+ #import "curl.h"