@oiti/rn-liveness3d 2.0.0 → 2.1.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 (262) hide show
  1. package/ios/Podfile +1 -1
  2. package/ios/Pods/Manifest.lock +18 -19
  3. package/oiti-rn-liveness3d.podspec +1 -1
  4. package/package.json +1 -1
  5. package/ios/Podfile.lock +0 -39
  6. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +0 -42
  7. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +0 -310
  8. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +0 -15
  9. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  10. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  11. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  12. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  13. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +0 -9
  14. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1865
  15. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  16. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +0 -1865
  17. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +0 -11
  18. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  19. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  20. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  21. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  22. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +0 -20
  23. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
  24. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +0 -616
  25. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +0 -15
  26. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  27. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  28. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  29. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  30. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  31. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1865
  32. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  33. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1865
  34. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  35. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1865
  36. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  37. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1865
  38. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +0 -11
  39. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  40. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  41. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  42. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  43. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +0 -311
  44. package/ios/Pods/OICommons/README.md +0 -1
  45. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +0 -42
  46. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  47. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +0 -406
  48. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +0 -18
  49. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  50. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +0 -9
  51. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -724
  52. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  53. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +0 -724
  54. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +0 -11
  55. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  56. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +0 -20
  57. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  58. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1865
  59. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  60. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +0 -808
  61. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +0 -18
  62. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  63. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  64. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -724
  65. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  66. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -724
  67. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  68. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -724
  69. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  70. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -724
  71. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +0 -11
  72. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  73. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +0 -256
  74. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
  75. package/ios/Pods/OIComponents/README.md +0 -1
  76. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +0 -42
  77. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  78. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -294
  79. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  80. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  81. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +0 -9
  82. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -224
  83. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  84. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +0 -224
  85. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +0 -11
  86. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  87. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +0 -20
  88. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
  89. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1865
  90. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +0 -724
  91. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -150
  92. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +0 -141
  93. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  94. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -584
  95. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  96. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  97. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  98. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -224
  99. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  100. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -224
  101. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  102. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -224
  103. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  104. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -224
  105. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +0 -11
  106. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  107. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +0 -256
  108. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
  109. package/ios/Pods/OILiveness3D/README.md +0 -32
  110. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +0 -40
  111. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  112. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  113. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  114. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1915
  115. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -104
  116. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  117. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  118. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  119. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  120. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  121. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  122. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  123. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  124. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  125. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  126. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  127. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  128. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  129. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  130. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  131. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  132. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  133. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  134. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  135. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +0 -137
  136. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  137. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  138. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  139. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  140. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  141. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  142. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  143. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  144. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  145. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  146. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  147. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  148. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  149. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  150. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  151. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  152. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  153. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  154. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  155. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  156. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  157. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  158. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  159. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +0 -62
  160. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  161. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1915
  162. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -104
  163. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  164. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  165. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  166. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +0 -146
  167. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  168. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +0 -42
  169. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +0 -265
  170. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +0 -15
  171. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  172. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +0 -9
  173. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -150
  174. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  175. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +0 -150
  176. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +0 -11
  177. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  178. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +0 -20
  179. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  180. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1865
  181. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +0 -526
  182. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +0 -15
  183. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  184. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  185. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -150
  186. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  187. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -150
  188. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  189. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -150
  190. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  191. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -150
  192. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +0 -11
  193. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  194. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +0 -245
  195. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  196. package/ios/Pods/OINetwork/README.md +0 -1
  197. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +0 -42
  198. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +0 -264
  199. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +0 -16
  200. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  201. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +0 -9
  202. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -141
  203. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  204. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +0 -141
  205. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +0 -11
  206. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  207. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/_CodeSignature/CodeResources +0 -190
  208. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +0 -20
  209. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
  210. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -150
  211. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +0 -524
  212. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +0 -16
  213. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  214. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  215. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -141
  216. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  217. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -141
  218. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  219. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -141
  220. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  221. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -141
  222. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +0 -11
  223. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  224. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +0 -245
  225. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
  226. package/ios/Pods/OISecurity/README.md +0 -1
  227. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1235
  228. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +0 -58
  229. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +0 -58
  230. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +0 -58
  231. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +0 -58
  232. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +0 -58
  233. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +0 -58
  234. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +0 -58
  235. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +0 -46
  236. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +0 -121
  237. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +0 -15
  238. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +0 -15
  239. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +0 -121
  240. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +0 -16
  241. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +0 -16
  242. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +0 -121
  243. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +0 -16
  244. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +0 -16
  245. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +0 -121
  246. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +0 -13
  247. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +0 -13
  248. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +0 -121
  249. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +0 -16
  250. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +0 -16
  251. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +0 -121
  252. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +0 -16
  253. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +0 -16
  254. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +0 -26
  255. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +0 -23
  256. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +0 -79
  257. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +0 -5
  258. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +0 -16
  259. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +0 -13
  260. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +0 -6
  261. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +0 -13
  262. package/ios/RnLiveness3d.xcworkspace/xcuserdata/gabrielcatelligoulart.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
@@ -1,1865 +0,0 @@
1
- // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
3
- // swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name OICommons
4
- // swift-module-flags-ignorable: -enable-bare-slash-regex
5
- import AVFoundation
6
- import CallKit
7
- import CoreGraphics
8
- import CoreTelephony
9
- import CoreText
10
- import Darwin
11
- import Foundation
12
- @_exported import OICommons
13
- import Swift
14
- import SystemConfiguration
15
- import UIKit.UIControl
16
- import UIKit.UIDevice
17
- import UIKit.UIImagePickerController
18
- import UIKit
19
- import UIKit.UIViewController
20
- import _Concurrency
21
- import _StringProcessing
22
- extension Swift.UInt32 {
23
- @_specialize(exported: false, kind: full, where T == Swift.ArraySlice<Swift.UInt8>)
24
- @inlinable internal init<T>(bytes: T, fromIndex index: T.Index) where T : Swift.Collection, T.Element == Swift.UInt8, T.Index == Swift.Int {
25
- if bytes.isEmpty {
26
- self = 0
27
- return
28
- }
29
-
30
- let count = bytes.count
31
-
32
- let val0 = count > 0 ? UInt32(bytes[index.advanced(by: 0)]) << 24 : 0
33
- let val1 = count > 1 ? UInt32(bytes[index.advanced(by: 1)]) << 16 : 0
34
- let val2 = count > 2 ? UInt32(bytes[index.advanced(by: 2)]) << 8 : 0
35
- let val3 = count > 3 ? UInt32(bytes[index.advanced(by: 3)]) : 0
36
-
37
- self = val0 | val1 | val2 | val3
38
- }
39
- }
40
- extension Swift.Collection where Self.Element == Swift.UInt8, Self.Index == Swift.Int {
41
- @inlinable internal func toUInt32Array() -> Swift.Array<Swift.UInt32> {
42
- guard !isEmpty else {
43
- return []
44
- }
45
-
46
- let c = strideCount(from: startIndex, to: endIndex, by: 4)
47
- return Array<UInt32>(unsafeUninitializedCapacity: c) { buf, count in
48
- var counter = 0
49
- for idx in stride(from: startIndex, to: endIndex, by: 4) {
50
- let val = UInt32(bytes: self, fromIndex: idx).bigEndian
51
- buf[counter] = val
52
- counter += 1
53
- }
54
- count = counter
55
- assert(counter == c)
56
- }
57
- }
58
- @inlinable internal func toUInt64Array() -> Swift.Array<Swift.UInt64> {
59
- guard !isEmpty else {
60
- return []
61
- }
62
-
63
- let c = strideCount(from: startIndex, to: endIndex, by: 8)
64
- return Array<UInt64>(unsafeUninitializedCapacity: c) { buf, count in
65
- var counter = 0
66
- for idx in stride(from: startIndex, to: endIndex, by: 8) {
67
- let val = UInt64(bytes: self, fromIndex: idx).bigEndian
68
- buf[counter] = val
69
- counter += 1
70
- }
71
- count = counter
72
- assert(counter == c)
73
- }
74
- }
75
- }
76
- @usableFromInline
77
- internal func strideCount(from: Swift.Int, to: Swift.Int, by: Swift.Int) -> Swift.Int
78
- @_hasMissingDesignatedInitializers public class FontUtil {
79
- public static func registerFonts()
80
- @objc deinit
81
- }
82
- @objc @_Concurrency.MainActor(unsafe) open class ViewControllerInViewCode : UIKit.UIViewController {
83
- @_Concurrency.MainActor(unsafe) @objc dynamic public init()
84
- @available(*, unavailable)
85
- @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
86
- @objc deinit
87
- }
88
- final public class AES {
89
- public enum Error : Swift.Error {
90
- case invalidKeySize
91
- case dataPaddingRequired
92
- case invalidData
93
- public static func == (a: OICommons.AES.Error, b: OICommons.AES.Error) -> Swift.Bool
94
- public func hash(into hasher: inout Swift.Hasher)
95
- public var hashValue: Swift.Int {
96
- get
97
- }
98
- }
99
- public enum Variant : Swift.Int {
100
- case aes128, aes192, aes256
101
- public init?(rawValue: Swift.Int)
102
- public typealias RawValue = Swift.Int
103
- public var rawValue: Swift.Int {
104
- get
105
- }
106
- }
107
- @usableFromInline
108
- final internal let variantNr: Swift.Int
109
- @usableFromInline
110
- final internal let variantNb: Swift.Int
111
- @usableFromInline
112
- final internal let variantNk: Swift.Int
113
- public static let blockSize: Swift.Int
114
- final public let keySize: Swift.Int
115
- final public let variant: OICommons.AES.Variant
116
- @usableFromInline
117
- final internal let blockMode: OICommons.BlockMode
118
- @usableFromInline
119
- final internal let padding: OICommons.Padding
120
- @usableFromInline
121
- final internal var expandedKey: Swift.Array<Swift.Array<Swift.UInt32>> {
122
- get
123
- set
124
- }
125
- @usableFromInline
126
- final internal var expandedKeyInv: Swift.Array<Swift.Array<Swift.UInt32>> {
127
- get
128
- set
129
- }
130
- @usableFromInline
131
- internal static let T0: [Swift.UInt32]
132
- @usableFromInline
133
- internal static let T0_INV: [Swift.UInt32]
134
- @usableFromInline
135
- internal static let T1: [Swift.UInt32]
136
- @usableFromInline
137
- internal static let T1_INV: [Swift.UInt32]
138
- @usableFromInline
139
- internal static let T2: [Swift.UInt32]
140
- @usableFromInline
141
- internal static let T2_INV: [Swift.UInt32]
142
- @usableFromInline
143
- internal static let T3: [Swift.UInt32]
144
- @usableFromInline
145
- internal static let T3_INV: [Swift.UInt32]
146
- @usableFromInline
147
- internal static let U1: [Swift.UInt32]
148
- @usableFromInline
149
- internal static let U2: [Swift.UInt32]
150
- @usableFromInline
151
- internal static let U3: [Swift.UInt32]
152
- @usableFromInline
153
- internal static let U4: [Swift.UInt32]
154
- public init(key: Swift.Array<Swift.UInt8>, blockMode: OICommons.BlockMode, padding: OICommons.Padding = .pkcs7) throws
155
- @inlinable final internal func encrypt(block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>? {
156
- if self.blockMode.options.contains(.paddingRequired) && block.count != AES.blockSize {
157
- return Array(block)
158
- }
159
-
160
- let rounds = self.variantNr
161
- let rk = self.expandedKey
162
-
163
- let b00 = UInt32(block[block.startIndex.advanced(by: 0)])
164
- let b01 = UInt32(block[block.startIndex.advanced(by: 1)]) << 8
165
- let b02 = UInt32(block[block.startIndex.advanced(by: 2)]) << 16
166
- let b03 = UInt32(block[block.startIndex.advanced(by: 3)]) << 24
167
- var b0 = b00 | b01 | b02 | b03
168
-
169
- let b10 = UInt32(block[block.startIndex.advanced(by: 4)])
170
- let b11 = UInt32(block[block.startIndex.advanced(by: 5)]) << 8
171
- let b12 = UInt32(block[block.startIndex.advanced(by: 6)]) << 16
172
- let b13 = UInt32(block[block.startIndex.advanced(by: 7)]) << 24
173
- var b1 = b10 | b11 | b12 | b13
174
-
175
- let b20 = UInt32(block[block.startIndex.advanced(by: 8)])
176
- let b21 = UInt32(block[block.startIndex.advanced(by: 9)]) << 8
177
- let b22 = UInt32(block[block.startIndex.advanced(by: 10)]) << 16
178
- let b23 = UInt32(block[block.startIndex.advanced(by: 11)]) << 24
179
- var b2 = b20 | b21 | b22 | b23
180
-
181
- let b30 = UInt32(block[block.startIndex.advanced(by: 12)])
182
- let b31 = UInt32(block[block.startIndex.advanced(by: 13)]) << 8
183
- let b32 = UInt32(block[block.startIndex.advanced(by: 14)]) << 16
184
- let b33 = UInt32(block[block.startIndex.advanced(by: 15)]) << 24
185
- var b3 = b30 | b31 | b32 | b33
186
-
187
- let tLength = 4
188
- let t = UnsafeMutablePointer<UInt32>.allocate(capacity: tLength)
189
- t.initialize(repeating: 0, count: tLength)
190
- defer {
191
- t.deinitialize(count: tLength)
192
- t.deallocate()
193
- }
194
-
195
- for r in 0..<rounds - 1 {
196
- t[0] = b0 ^ rk[r][0]
197
- t[1] = b1 ^ rk[r][1]
198
- t[2] = b2 ^ rk[r][2]
199
- t[3] = b3 ^ rk[r][3]
200
-
201
- let lb00 = AES.T0[Int(t[0] & 0xff)]
202
- let lb01 = AES.T1[Int((t[1] >> 8) & 0xff)]
203
- let lb02 = AES.T2[Int((t[2] >> 16) & 0xff)]
204
- let lb03 = AES.T3[Int(t[3] >> 24)]
205
- b0 = lb00 ^ lb01 ^ lb02 ^ lb03
206
-
207
- let lb10 = AES.T0[Int(t[1] & 0xff)]
208
- let lb11 = AES.T1[Int((t[2] >> 8) & 0xff)]
209
- let lb12 = AES.T2[Int((t[3] >> 16) & 0xff)]
210
- let lb13 = AES.T3[Int(t[0] >> 24)]
211
- b1 = lb10 ^ lb11 ^ lb12 ^ lb13
212
-
213
- let lb20 = AES.T0[Int(t[2] & 0xff)]
214
- let lb21 = AES.T1[Int((t[3] >> 8) & 0xff)]
215
- let lb22 = AES.T2[Int((t[0] >> 16) & 0xff)]
216
- let lb23 = AES.T3[Int(t[1] >> 24)]
217
- b2 = lb20 ^ lb21 ^ lb22 ^ lb23
218
-
219
- let lb30 = AES.T0[Int(t[3] & 0xff)]
220
- let lb31 = AES.T1[Int((t[0] >> 8) & 0xff)]
221
- let lb32 = AES.T2[Int((t[1] >> 16) & 0xff)]
222
- let lb33 = AES.T3[Int(t[2] >> 24)]
223
- b3 = lb30 ^ lb31 ^ lb32 ^ lb33
224
- }
225
-
226
- // last round
227
- let r = rounds - 1
228
-
229
- t[0] = b0 ^ rk[r][0]
230
- t[1] = b1 ^ rk[r][1]
231
- t[2] = b2 ^ rk[r][2]
232
- t[3] = b3 ^ rk[r][3]
233
-
234
- // rounds
235
- b0 = F1(t[0], t[1], t[2], t[3]) ^ rk[rounds][0]
236
- b1 = F1(t[1], t[2], t[3], t[0]) ^ rk[rounds][1]
237
- b2 = F1(t[2], t[3], t[0], t[1]) ^ rk[rounds][2]
238
- b3 = F1(t[3], t[0], t[1], t[2]) ^ rk[rounds][3]
239
-
240
- let encrypted: Array<UInt8> = [
241
- UInt8(b0 & 0xff), UInt8((b0 >> 8) & 0xff), UInt8((b0 >> 16) & 0xff), UInt8((b0 >> 24) & 0xff),
242
- UInt8(b1 & 0xff), UInt8((b1 >> 8) & 0xff), UInt8((b1 >> 16) & 0xff), UInt8((b1 >> 24) & 0xff),
243
- UInt8(b2 & 0xff), UInt8((b2 >> 8) & 0xff), UInt8((b2 >> 16) & 0xff), UInt8((b2 >> 24) & 0xff),
244
- UInt8(b3 & 0xff), UInt8((b3 >> 8) & 0xff), UInt8((b3 >> 16) & 0xff), UInt8((b3 >> 24) & 0xff)
245
- ]
246
- return encrypted
247
- }
248
- @usableFromInline
249
- final internal func decrypt(block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>?
250
- @objc deinit
251
- }
252
- extension OICommons.AES {
253
- @usableFromInline
254
- @inline(__always) final internal func F1(_ x0: Swift.UInt32, _ x1: Swift.UInt32, _ x2: Swift.UInt32, _ x3: Swift.UInt32) -> Swift.UInt32
255
- }
256
- extension OICommons.AES : OICommons.Cipher {
257
- @inlinable final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
258
- let blockSize = self.blockMode.customBlockSize ?? AES.blockSize
259
- let chunks = bytes.batched(by: blockSize)
260
-
261
- var oneTimeCryptor = try makeEncryptor()
262
- var out = Array<UInt8>(reserveCapacity: bytes.count)
263
- for chunk in chunks {
264
- out += try oneTimeCryptor.update(withBytes: chunk, isLast: false)
265
- }
266
- // Padding may be added at the very end
267
- out += try oneTimeCryptor.finish()
268
-
269
- if self.blockMode.options.contains(.paddingRequired) && (out.count % AES.blockSize != 0) {
270
- throw Error.dataPaddingRequired
271
- }
272
-
273
- return out
274
- }
275
- @inlinable final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
276
- if self.blockMode.options.contains(.paddingRequired) && (bytes.count % AES.blockSize != 0) {
277
- throw Error.dataPaddingRequired
278
- }
279
-
280
- var oneTimeCryptor = try makeDecryptor()
281
- let chunks = bytes.batched(by: AES.blockSize)
282
- if chunks.isEmpty {
283
- throw Error.invalidData
284
- }
285
-
286
- var out = Array<UInt8>(reserveCapacity: bytes.count)
287
-
288
- var lastIdx = chunks.startIndex
289
- chunks.indices.formIndex(&lastIdx, offsetBy: chunks.count - 1)
290
-
291
- // To properly remove padding, `isLast` has to be known when called with the last chunk of ciphertext
292
- // Last chunk of ciphertext may contains padded data so next call to update(..) won't be able to remove it
293
- for idx in chunks.indices {
294
- out += try oneTimeCryptor.update(withBytes: chunks[idx], isLast: idx == lastIdx)
295
- }
296
- return out
297
- }
298
- }
299
- @_inheritsConvenienceInitializers final public class CBCMAC : OICommons.CMAC {
300
- override final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
301
- override public init(key: Swift.Array<Swift.UInt8>) throws
302
- @objc deinit
303
- }
304
- extension Swift.UInt64 {
305
- @_specialize(exported: false, kind: full, where T == Swift.ArraySlice<Swift.UInt8>)
306
- @inlinable internal init<T>(bytes: T, fromIndex index: T.Index) where T : Swift.Collection, T.Element == Swift.UInt8, T.Index == Swift.Int {
307
- if bytes.isEmpty {
308
- self = 0
309
- return
310
- }
311
-
312
- let count = bytes.count
313
-
314
- let val0 = count > 0 ? UInt64(bytes[index.advanced(by: 0)]) << 56 : 0
315
- let val1 = count > 1 ? UInt64(bytes[index.advanced(by: 1)]) << 48 : 0
316
- let val2 = count > 2 ? UInt64(bytes[index.advanced(by: 2)]) << 40 : 0
317
- let val3 = count > 3 ? UInt64(bytes[index.advanced(by: 3)]) << 32 : 0
318
- let val4 = count > 4 ? UInt64(bytes[index.advanced(by: 4)]) << 24 : 0
319
- let val5 = count > 5 ? UInt64(bytes[index.advanced(by: 5)]) << 16 : 0
320
- let val6 = count > 6 ? UInt64(bytes[index.advanced(by: 6)]) << 8 : 0
321
- let val7 = count > 7 ? UInt64(bytes[index.advanced(by: 7)]) : 0
322
-
323
- self = val0 | val1 | val2 | val3 | val4 | val5 | val6 | val7
324
- }
325
- }
326
- final public class OCB : OICommons.BlockMode {
327
- public enum Mode {
328
- case combined
329
- case detached
330
- public static func == (a: OICommons.OCB.Mode, b: OICommons.OCB.Mode) -> Swift.Bool
331
- public func hash(into hasher: inout Swift.Hasher)
332
- public var hashValue: Swift.Int {
333
- get
334
- }
335
- }
336
- final public let options: OICommons.BlockModeOption
337
- public enum Error : Swift.Error {
338
- case invalidNonce
339
- case fail
340
- public static func == (a: OICommons.OCB.Error, b: OICommons.OCB.Error) -> Swift.Bool
341
- public func hash(into hasher: inout Swift.Hasher)
342
- public var hashValue: Swift.Int {
343
- get
344
- }
345
- }
346
- final public let customBlockSize: Swift.Int?
347
- final public var authenticationTag: Swift.Array<Swift.UInt8>?
348
- public init(nonce N: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: OICommons.OCB.Mode = .detached)
349
- @inlinable convenience public init(nonce N: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: OICommons.OCB.Mode = .detached) {
350
- self.init(nonce: N, additionalAuthenticatedData: additionalAuthenticatedData, tagLength: authenticationTag.count, mode: mode)
351
- self.authenticationTag = authenticationTag
352
- }
353
- final public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
354
- @objc deinit
355
- }
356
- @usableFromInline
357
- final internal class BlockEncryptor : OICommons.Cryptor, OICommons.Updatable {
358
- @usableFromInline
359
- internal init(blockSize: Swift.Int, padding: OICommons.Padding, _ worker: OICommons.CipherModeWorker) throws
360
- final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
361
- @usableFromInline
362
- final internal func seek(to: Swift.Int) throws
363
- @objc @usableFromInline
364
- deinit
365
- }
366
- public enum EnvironmentManager {
367
- public static func facecaptchaBaseUrl(from environment: OICommons.Environment) -> Swift.String
368
- public static func certifaceBaseUrl(from environment: OICommons.Environment) -> Swift.String
369
- }
370
- extension OICommons.HMAC {
371
- convenience public init(key: Swift.String, variant: OICommons.HMAC.Variant = .md5) throws
372
- }
373
- @_hasMissingDesignatedInitializers final public class FCWrapper {
374
- final public var ok: Swift.Bool
375
- public init(json: Swift.String)
376
- final public func map<T>(optional: Swift.Bool = false, withClosure closure: ((OICommons.FCWrapper) -> (T?))? = nil) -> T?
377
- final public func mapArrayOfObjects<T>(optional: Swift.Bool = false, withClosure closure: (OICommons.FCWrapper) -> (T.Iterator.Element)) -> T? where T : Swift.Collection
378
- final public subscript(name: Swift.String) -> OICommons.FCWrapper {
379
- get
380
- }
381
- @objc deinit
382
- }
383
- public enum Environment : Swift.String, Swift.CaseIterable {
384
- case HML
385
- case PRD
386
- public init?(rawValue: Swift.String)
387
- public typealias AllCases = [OICommons.Environment]
388
- public typealias RawValue = Swift.String
389
- public static var allCases: [OICommons.Environment] {
390
- get
391
- }
392
- public var rawValue: Swift.String {
393
- get
394
- }
395
- }
396
- final public class MD5 {
397
- public init()
398
- final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
399
- @objc deinit
400
- }
401
- extension OICommons.MD5 : OICommons.Updatable {
402
- final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
403
- }
404
- extension Swift.FixedWidthInteger {
405
- @inlinable internal func bytes(totalBytes: Swift.Int = MemoryLayout<Self>.size) -> Swift.Array<Swift.UInt8> {
406
- arrayOfBytes(value: self.littleEndian, length: totalBytes)
407
- // TODO: adjust bytes order
408
- // var value = self.littleEndian
409
- // return withUnsafeBytes(of: &value, Array.init).reversed()
410
- }
411
- }
412
- extension OICommons.PKCS5 {
413
- public struct PBKDF1 {
414
- public enum Error : Swift.Error {
415
- case invalidInput
416
- case derivedKeyTooLong
417
- public static func == (a: OICommons.PKCS5.PBKDF1.Error, b: OICommons.PKCS5.PBKDF1.Error) -> Swift.Bool
418
- public func hash(into hasher: inout Swift.Hasher)
419
- public var hashValue: Swift.Int {
420
- get
421
- }
422
- }
423
- public enum Variant {
424
- case md5, sha1
425
- @usableFromInline
426
- internal var size: Swift.Int {
427
- get
428
- }
429
- @usableFromInline
430
- internal func calculateHash(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
431
- public static func == (a: OICommons.PKCS5.PBKDF1.Variant, b: OICommons.PKCS5.PBKDF1.Variant) -> Swift.Bool
432
- public func hash(into hasher: inout Swift.Hasher)
433
- public var hashValue: Swift.Int {
434
- get
435
- }
436
- }
437
- @usableFromInline
438
- internal let iterations: Swift.Int
439
- @usableFromInline
440
- internal let variant: OICommons.PKCS5.PBKDF1.Variant
441
- @usableFromInline
442
- internal let keyLength: Swift.Int
443
- @usableFromInline
444
- internal let t1: Swift.Array<Swift.UInt8>
445
- public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, variant: OICommons.PKCS5.PBKDF1.Variant = .sha1, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil) throws
446
- @inlinable public func calculate() -> Swift.Array<Swift.UInt8> {
447
- var t = self.t1
448
- for _ in 2...self.iterations {
449
- t = self.variant.calculateHash(t)
450
- }
451
- return Array(t[0..<self.keyLength])
452
- }
453
- }
454
- }
455
- public struct ECB : OICommons.BlockMode {
456
- public let options: OICommons.BlockModeOption
457
- public let customBlockSize: Swift.Int?
458
- public init()
459
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
460
- }
461
- public struct CTR {
462
- public enum Error : Swift.Error {
463
- case invalidInitializationVector
464
- public static func == (a: OICommons.CTR.Error, b: OICommons.CTR.Error) -> Swift.Bool
465
- public func hash(into hasher: inout Swift.Hasher)
466
- public var hashValue: Swift.Int {
467
- get
468
- }
469
- }
470
- public let options: OICommons.BlockModeOption
471
- public let customBlockSize: Swift.Int?
472
- public init(iv: Swift.Array<Swift.UInt8>, counter: Swift.Int = 0)
473
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
474
- }
475
- @usableFromInline
476
- final internal class StreamEncryptor : OICommons.Cryptor, OICommons.Updatable {
477
- @usableFromInline
478
- final internal let blockSize: Swift.Int
479
- @usableFromInline
480
- final internal var worker: OICommons.CipherModeWorker
481
- @usableFromInline
482
- final internal let padding: OICommons.Padding
483
- @usableFromInline
484
- final internal var lastBlockRemainder: Swift.Int
485
- @usableFromInline
486
- internal init(blockSize: Swift.Int, padding: OICommons.Padding, _ worker: OICommons.CipherModeWorker) throws
487
- @inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8> {
488
- var accumulated = Array(bytes)
489
- if isLast {
490
- // CTR doesn't need padding. Really. Add padding to the last block if really want. but... don't.
491
- accumulated = self.padding.add(to: accumulated, blockSize: self.blockSize - self.lastBlockRemainder)
492
- }
493
-
494
- var encrypted = Array<UInt8>(reserveCapacity: bytes.count)
495
- for chunk in accumulated.batched(by: self.blockSize) {
496
- encrypted += self.worker.encrypt(block: chunk)
497
- }
498
-
499
- // omit unecessary calculation if not needed
500
- if self.padding != .noPadding {
501
- self.lastBlockRemainder = encrypted.count.quotientAndRemainder(dividingBy: self.blockSize).remainder
502
- }
503
-
504
- if var finalizingWorker = worker as? FinalizingEncryptModeWorker, isLast == true {
505
- encrypted = Array(try finalizingWorker.finalize(encrypt: encrypted.slice))
506
- }
507
-
508
- return encrypted
509
- }
510
- @usableFromInline
511
- final internal func seek(to: Swift.Int) throws
512
- @objc @usableFromInline
513
- deinit
514
- }
515
- public protocol AEAD {
516
- static var kLen: Swift.Int { get }
517
- static var ivRange: Swift.Range<Swift.Int> { get }
518
- }
519
- @_specialize(exported: false, kind: full, where T == Swift.Int)
520
- @_specialize(exported: false, kind: full, where T == Swift.UInt)
521
- @_specialize(exported: false, kind: full, where T == Swift.UInt8)
522
- @_specialize(exported: false, kind: full, where T == Swift.UInt16)
523
- @_specialize(exported: false, kind: full, where T == Swift.UInt32)
524
- @_specialize(exported: false, kind: full, where T == Swift.UInt64)
525
- @inlinable internal func arrayOfBytes<T>(value: T, length totalBytes: Swift.Int = MemoryLayout<T>.size) -> Swift.Array<Swift.UInt8> where T : Swift.FixedWidthInteger {
526
- let valuePointer = UnsafeMutablePointer<T>.allocate(capacity: 1)
527
- valuePointer.pointee = value
528
-
529
- let bytesPointer = UnsafeMutablePointer<UInt8>(OpaquePointer(valuePointer))
530
- var bytes = Array<UInt8>(repeating: 0, count: totalBytes)
531
- for j in 0..<min(MemoryLayout<T>.size, totalBytes) {
532
- bytes[totalBytes - 1 - j] = (bytesPointer + j).pointee
533
- }
534
-
535
- valuePointer.deinitialize(count: 1)
536
- valuePointer.deallocate()
537
-
538
- return bytes
539
- }
540
- public protocol _UInt8Type {
541
- }
542
- extension Swift.UInt8 : OICommons._UInt8Type {
543
- }
544
- extension Swift.UInt8 {
545
- public func bits() -> [OICommons.Bit]
546
- public func bits() -> Swift.String
547
- }
548
- @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class FCBaseView : UIKit.UIView {
549
- @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
550
- @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
551
- @_Concurrency.MainActor(unsafe) open func setupView()
552
- @objc deinit
553
- }
554
- final public class SHA1 {
555
- @usableFromInline
556
- internal static let digestLength: Swift.Int
557
- @usableFromInline
558
- internal static let blockSize: Swift.Int
559
- @usableFromInline
560
- internal static let hashInitialValue: Swift.ContiguousArray<Swift.UInt32>
561
- @usableFromInline
562
- final internal var accumulated: [Swift.UInt8]
563
- @usableFromInline
564
- final internal var processedBytesTotalCount: Swift.Int
565
- @usableFromInline
566
- final internal var accumulatedHash: Swift.ContiguousArray<Swift.UInt32>
567
- public init()
568
- @inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
569
- do {
570
- return try update(withBytes: bytes.slice, isLast: true)
571
- } catch {
572
- return []
573
- }
574
- }
575
- @usableFromInline
576
- final internal func process(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.ContiguousArray<Swift.UInt32>)
577
- @objc deinit
578
- }
579
- extension OICommons.SHA1 : OICommons.Updatable {
580
- @discardableResult
581
- @inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
582
- self.accumulated += bytes
583
-
584
- if isLast {
585
- let lengthInBits = (processedBytesTotalCount + self.accumulated.count) * 8
586
- let lengthBytes = lengthInBits.bytes(totalBytes: 64 / 8) // A 64-bit representation of b
587
-
588
- // Step 1. Append padding
589
- bitPadding(to: &self.accumulated, blockSize: SHA1.blockSize, allowance: 64 / 8)
590
-
591
- // Step 2. Append Length a 64-bit representation of lengthInBits
592
- self.accumulated += lengthBytes
593
- }
594
-
595
- var processedBytes = 0
596
- for chunk in self.accumulated.batched(by: SHA1.blockSize) {
597
- if isLast || (self.accumulated.count - processedBytes) >= SHA1.blockSize {
598
- self.process(block: chunk, currentHash: &self.accumulatedHash)
599
- processedBytes += chunk.count
600
- }
601
- }
602
- self.accumulated.removeFirst(processedBytes)
603
- self.processedBytesTotalCount += processedBytes
604
-
605
- // output current hash
606
- var result = Array<UInt8>(repeating: 0, count: SHA1.digestLength)
607
- var pos = 0
608
- for idx in 0..<self.accumulatedHash.count {
609
- let h = self.accumulatedHash[idx]
610
- result[pos + 0] = UInt8((h >> 24) & 0xff)
611
- result[pos + 1] = UInt8((h >> 16) & 0xff)
612
- result[pos + 2] = UInt8((h >> 8) & 0xff)
613
- result[pos + 3] = UInt8(h & 0xff)
614
- pos += 4
615
- }
616
-
617
- // reset hash value for instance
618
- if isLast {
619
- self.accumulatedHash = SHA1.hashInitialValue
620
- }
621
-
622
- return result
623
- }
624
- }
625
- final public class Checksum {
626
- @usableFromInline
627
- internal static let table32: [Swift.UInt32]
628
- @usableFromInline
629
- internal static let table32c: [Swift.UInt32]
630
- @usableFromInline
631
- internal static let table16: [Swift.UInt16]
632
- @usableFromInline
633
- internal init()
634
- @inlinable final internal func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
635
- var crc: UInt32 = seed != nil ? seed! : 0xFFFF_FFFF
636
- for chunk in message.batched(by: 256) {
637
- for b in chunk {
638
- let idx = Int((crc ^ UInt32(reflect ? b : reversed(b))) & 0xFF)
639
- crc = (crc >> 8) ^ Checksum.table32[idx]
640
- }
641
- }
642
- return (reflect ? crc : reversed(crc)) ^ 0xFFFF_FFFF
643
- }
644
- @inlinable final internal func crc32c(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
645
- var crc: UInt32 = seed != nil ? seed! : 0xFFFF_FFFF
646
- for chunk in message.batched(by: 256) {
647
- for b in chunk {
648
- let idx = Int((crc ^ UInt32(reflect ? b : reversed(b))) & 0xFF)
649
- crc = (crc >> 8) ^ Checksum.table32c[idx]
650
- }
651
- }
652
- return (reflect ? crc : reversed(crc)) ^ 0xFFFF_FFFF
653
- }
654
- @inlinable final internal func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16 {
655
- var crc: UInt16 = seed != nil ? seed! : 0x0000
656
- for chunk in message.batched(by: 256) {
657
- for b in chunk {
658
- crc = (crc >> 8) ^ Checksum.table16[Int((crc ^ UInt16(b)) & 0xFF)]
659
- }
660
- }
661
- return crc
662
- }
663
- @objc deinit
664
- }
665
- extension OICommons.Checksum {
666
- @inlinable public static func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
667
- Checksum().crc32(message, seed: seed, reflect: reflect)
668
- }
669
- @inlinable public static func crc32c(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
670
- Checksum().crc32c(message, seed: seed, reflect: reflect)
671
- }
672
- @inlinable public static func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16 {
673
- Checksum().crc16(message, seed: seed)
674
- }
675
- }
676
- final public class Scrypt {
677
- public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, dkLen: Swift.Int, N: Swift.Int, r: Swift.Int, p: Swift.Int) throws
678
- final public func calculate() throws -> [Swift.UInt8]
679
- @objc deinit
680
- }
681
- extension OICommons.PKCS5 {
682
- public struct PBKDF2 {
683
- public enum Error : Swift.Error {
684
- case invalidInput
685
- case derivedKeyTooLong
686
- public static func == (a: OICommons.PKCS5.PBKDF2.Error, b: OICommons.PKCS5.PBKDF2.Error) -> Swift.Bool
687
- public func hash(into hasher: inout Swift.Hasher)
688
- public var hashValue: Swift.Int {
689
- get
690
- }
691
- }
692
- public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil, variant: OICommons.HMAC.Variant = .sha256) throws
693
- public func calculate() throws -> Swift.Array<Swift.UInt8>
694
- }
695
- }
696
- final public class SHA3 {
697
- final public let blockSize: Swift.Int
698
- final public let digestLength: Swift.Int
699
- final public let markByte: Swift.UInt8
700
- @usableFromInline
701
- final internal var accumulated: [Swift.UInt8]
702
- @usableFromInline
703
- final internal var accumulatedHash: Swift.Array<Swift.UInt64>
704
- public enum Variant {
705
- case sha224, sha256, sha384, sha512, keccak224, keccak256, keccak384, keccak512
706
- public var outputLength: Swift.Int {
707
- get
708
- }
709
- public static func == (a: OICommons.SHA3.Variant, b: OICommons.SHA3.Variant) -> Swift.Bool
710
- public func hash(into hasher: inout Swift.Hasher)
711
- public var hashValue: Swift.Int {
712
- get
713
- }
714
- }
715
- public init(variant: OICommons.SHA3.Variant)
716
- @inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
717
- do {
718
- return try update(withBytes: bytes.slice, isLast: true)
719
- } catch {
720
- return []
721
- }
722
- }
723
- @usableFromInline
724
- final internal func process(block chunk: Swift.ArraySlice<Swift.UInt64>, currentHash hh: inout Swift.Array<Swift.UInt64>)
725
- @objc deinit
726
- }
727
- extension OICommons.SHA3 : OICommons.Updatable {
728
- @inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
729
- self.accumulated += bytes
730
-
731
- if isLast {
732
- // Add padding
733
- let markByteIndex = self.accumulated.count
734
-
735
- // We need to always pad the input. Even if the input is a multiple of blockSize.
736
- let r = self.blockSize * 8
737
- let q = (r / 8) - (accumulated.count % (r / 8))
738
- self.accumulated += Array<UInt8>(repeating: 0, count: q)
739
-
740
- self.accumulated[markByteIndex] |= self.markByte
741
- self.accumulated[self.accumulated.count - 1] |= 0x80
742
- }
743
-
744
- var processedBytes = 0
745
- for chunk in self.accumulated.batched(by: self.blockSize) {
746
- if isLast || (self.accumulated.count - processedBytes) >= self.blockSize {
747
- self.process(block: chunk.toUInt64Array().slice, currentHash: &self.accumulatedHash)
748
- processedBytes += chunk.count
749
- }
750
- }
751
- self.accumulated.removeFirst(processedBytes)
752
-
753
- // TODO: verify performance, reduce vs for..in
754
- let result = self.accumulatedHash.reduce(into: Array<UInt8>()) { (result, value) in
755
- result += value.bigEndian.bytes()
756
- }
757
-
758
- // reset hash value for instance
759
- if isLast {
760
- self.accumulatedHash = Array<UInt64>(repeating: 0, count: self.digestLength)
761
- }
762
-
763
- return Array(result[0..<self.digestLength])
764
- }
765
- }
766
- extension Swift.Array {
767
- @inlinable internal init(reserveCapacity: Swift.Int) {
768
- self = Array<Element>()
769
- self.reserveCapacity(reserveCapacity)
770
- }
771
- @inlinable internal var slice: Swift.ArraySlice<Element> {
772
- get {
773
- self[self.startIndex ..< self.endIndex]
774
- }
775
- }
776
- }
777
- extension Swift.Array where Element == Swift.UInt8 {
778
- public init(hex: Swift.String)
779
- public func toHexString() -> Swift.String
780
- }
781
- extension Swift.Array where Element == Swift.UInt8 {
782
- @available(*, deprecated)
783
- public func chunks(size chunksize: Swift.Int) -> Swift.Array<Swift.Array<Element>>
784
- public func md5() -> [Element]
785
- public func sha1() -> [Element]
786
- public func sha224() -> [Element]
787
- public func sha256() -> [Element]
788
- public func sha384() -> [Element]
789
- public func sha512() -> [Element]
790
- public func sha2(_ variant: OICommons.SHA2.Variant) -> [Element]
791
- public func sha3(_ variant: OICommons.SHA3.Variant) -> [Element]
792
- public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
793
- public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
794
- public func crc16(seed: Swift.UInt16? = nil) -> Swift.UInt16
795
- public func encrypt(cipher: OICommons.Cipher) throws -> [Element]
796
- public func decrypt(cipher: OICommons.Cipher) throws -> [Element]
797
- public func authenticate<A>(with authenticator: A) throws -> [Element] where A : OICommons.Authenticator
798
- }
799
- extension UIKit.UIView {
800
- @_Concurrency.MainActor(unsafe) public func createImageFromView() -> UIKit.UIImage
801
- }
802
- public protocol Cryptor {
803
- mutating func seek(to: Swift.Int) throws
804
- }
805
- final public class SHA2 {
806
- @usableFromInline
807
- final internal let variant: OICommons.SHA2.Variant
808
- @usableFromInline
809
- final internal let size: Swift.Int
810
- @usableFromInline
811
- final internal let blockSize: Swift.Int
812
- @usableFromInline
813
- final internal let digestLength: Swift.Int
814
- @usableFromInline
815
- final internal var accumulated: [Swift.UInt8]
816
- @usableFromInline
817
- final internal var processedBytesTotalCount: Swift.Int
818
- @usableFromInline
819
- final internal var accumulatedHash32: [Swift.UInt32]
820
- @usableFromInline
821
- final internal var accumulatedHash64: [Swift.UInt64]
822
- public enum Variant : Swift.RawRepresentable {
823
- case sha224, sha256, sha384, sha512
824
- public var digestLength: Swift.Int {
825
- get
826
- }
827
- public var blockSize: Swift.Int {
828
- get
829
- }
830
- public typealias RawValue = Swift.Int
831
- public var rawValue: OICommons.SHA2.Variant.RawValue {
832
- get
833
- }
834
- public init?(rawValue: OICommons.SHA2.Variant.RawValue)
835
- @usableFromInline
836
- internal var h: Swift.Array<Swift.UInt64> {
837
- get
838
- }
839
- @usableFromInline
840
- internal var finalLength: Swift.Int {
841
- get
842
- }
843
- }
844
- public init(variant: OICommons.SHA2.Variant)
845
- @inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
846
- do {
847
- return try update(withBytes: bytes.slice, isLast: true)
848
- } catch {
849
- return []
850
- }
851
- }
852
- @usableFromInline
853
- final internal func process64(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.Array<Swift.UInt64>)
854
- @usableFromInline
855
- final internal func process32(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.Array<Swift.UInt32>)
856
- @objc deinit
857
- }
858
- extension OICommons.SHA2 : OICommons.Updatable {
859
- @inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
860
- self.accumulated += bytes
861
-
862
- if isLast {
863
- let lengthInBits = (processedBytesTotalCount + self.accumulated.count) * 8
864
- let lengthBytes = lengthInBits.bytes(totalBytes: self.blockSize / 8) // A 64-bit/128-bit representation of b. blockSize fit by accident.
865
-
866
- // Step 1. Append padding
867
- bitPadding(to: &self.accumulated, blockSize: self.blockSize, allowance: self.blockSize / 8)
868
-
869
- // Step 2. Append Length a 64-bit representation of lengthInBits
870
- self.accumulated += lengthBytes
871
- }
872
-
873
- var processedBytes = 0
874
- for chunk in self.accumulated.batched(by: self.blockSize) {
875
- if isLast || (self.accumulated.count - processedBytes) >= self.blockSize {
876
- switch self.variant {
877
- case .sha224, .sha256:
878
- self.process32(block: chunk, currentHash: &self.accumulatedHash32)
879
- case .sha384, .sha512:
880
- self.process64(block: chunk, currentHash: &self.accumulatedHash64)
881
- @unknown default:
882
- preconditionFailure()
883
- }
884
- processedBytes += chunk.count
885
- }
886
- }
887
- self.accumulated.removeFirst(processedBytes)
888
- self.processedBytesTotalCount += processedBytes
889
-
890
- // output current hash
891
- var result = Array<UInt8>(repeating: 0, count: variant.digestLength)
892
- switch self.variant {
893
- case .sha224, .sha256:
894
- var pos = 0
895
- for idx in 0..<self.accumulatedHash32.count where idx < self.variant.finalLength {
896
- let h = accumulatedHash32[idx]
897
- result[pos + 0] = UInt8((h >> 24) & 0xff)
898
- result[pos + 1] = UInt8((h >> 16) & 0xff)
899
- result[pos + 2] = UInt8((h >> 8) & 0xff)
900
- result[pos + 3] = UInt8(h & 0xff)
901
- pos += 4
902
- }
903
- case .sha384, .sha512:
904
- var pos = 0
905
- for idx in 0..<self.accumulatedHash64.count where idx < self.variant.finalLength {
906
- let h = accumulatedHash64[idx]
907
- result[pos + 0] = UInt8((h >> 56) & 0xff)
908
- result[pos + 1] = UInt8((h >> 48) & 0xff)
909
- result[pos + 2] = UInt8((h >> 40) & 0xff)
910
- result[pos + 3] = UInt8((h >> 32) & 0xff)
911
- result[pos + 4] = UInt8((h >> 24) & 0xff)
912
- result[pos + 5] = UInt8((h >> 16) & 0xff)
913
- result[pos + 6] = UInt8((h >> 8) & 0xff)
914
- result[pos + 7] = UInt8(h & 0xff)
915
- pos += 8
916
- }
917
- @unknown default:
918
- preconditionFailure()
919
- }
920
-
921
- // reset hash value for instance
922
- if isLast {
923
- switch self.variant {
924
- case .sha224, .sha256:
925
- self.accumulatedHash32 = self.variant.h.lazy.map { UInt32($0) } // FIXME: UInt64 for process64
926
- case .sha384, .sha512:
927
- self.accumulatedHash64 = self.variant.h
928
- @unknown default:
929
- preconditionFailure()
930
- }
931
- }
932
-
933
- return result
934
- }
935
- }
936
- extension OICommons.AES {
937
- convenience public init(key: Swift.String, iv: Swift.String, padding: OICommons.Padding = .pkcs7) throws
938
- }
939
- public protocol CipherModeWorker {
940
- var cipherOperation: OICommons.CipherOperationOnBlock { get }
941
- var additionalBufferSize: Swift.Int { get }
942
- @inlinable mutating func encrypt(block plaintext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
943
- @inlinable mutating func decrypt(block ciphertext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
944
- }
945
- public protocol BlockModeWorker : OICommons.CipherModeWorker {
946
- var blockSize: Swift.Int { get }
947
- }
948
- public protocol CounterModeWorker : OICommons.CipherModeWorker {
949
- associatedtype Counter
950
- var counter: Self.Counter { get set }
951
- }
952
- public protocol SeekableModeWorker : OICommons.CipherModeWorker {
953
- mutating func seek(to position: Swift.Int) throws
954
- }
955
- public protocol StreamModeWorker : OICommons.CipherModeWorker {
956
- }
957
- public protocol FinalizingEncryptModeWorker : OICommons.CipherModeWorker {
958
- mutating func finalize(encrypt ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
959
- }
960
- public protocol FinalizingDecryptModeWorker : OICommons.CipherModeWorker {
961
- @discardableResult
962
- mutating func willDecryptLast(bytes ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
963
- mutating func didDecryptLast(bytes plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
964
- mutating func finalize(decrypt plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
965
- }
966
- @available(*, renamed: "Digest")
967
- public typealias Hash = OICommons.Digest
968
- public struct Digest {
969
- public static func md5(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
970
- public static func sha1(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
971
- public static func sha224(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
972
- public static func sha256(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
973
- public static func sha384(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
974
- public static func sha512(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
975
- public static func sha2(_ bytes: Swift.Array<Swift.UInt8>, variant: OICommons.SHA2.Variant) -> Swift.Array<Swift.UInt8>
976
- public static func sha3(_ bytes: Swift.Array<Swift.UInt8>, variant: OICommons.SHA3.Variant) -> Swift.Array<Swift.UInt8>
977
- }
978
- extension UIKit.UIImage {
979
- public static func rotatedImage(from cgImage: CoreGraphics.CGImage, rotatedBy degrees: Swift.Double) -> UIKit.UIImage?
980
- }
981
- @usableFromInline
982
- internal struct BatchedCollectionIndex<Base> where Base : Swift.Collection {
983
- }
984
- extension OICommons.BatchedCollectionIndex : Swift.Comparable {
985
- @usableFromInline
986
- internal static func == <Base>(lhs: OICommons.BatchedCollectionIndex<Base>, rhs: OICommons.BatchedCollectionIndex<Base>) -> Swift.Bool where Base : Swift.Collection
987
- @usableFromInline
988
- internal static func < <Base>(lhs: OICommons.BatchedCollectionIndex<Base>, rhs: OICommons.BatchedCollectionIndex<Base>) -> Swift.Bool where Base : Swift.Collection
989
- }
990
- @usableFromInline
991
- internal struct BatchedCollection<Base> : Swift.Collection where Base : Swift.Collection {
992
- @usableFromInline
993
- internal init(base: Base, size: Swift.Int)
994
- @usableFromInline
995
- internal typealias Index = OICommons.BatchedCollectionIndex<Base>
996
- @usableFromInline
997
- internal var startIndex: OICommons.BatchedCollection<Base>.Index {
998
- get
999
- }
1000
- @usableFromInline
1001
- internal var endIndex: OICommons.BatchedCollection<Base>.Index {
1002
- get
1003
- }
1004
- @usableFromInline
1005
- internal func index(after idx: OICommons.BatchedCollection<Base>.Index) -> OICommons.BatchedCollection<Base>.Index
1006
- @usableFromInline
1007
- internal subscript(idx: OICommons.BatchedCollection<Base>.Index) -> Base.SubSequence {
1008
- get
1009
- }
1010
- @usableFromInline
1011
- internal typealias Element = Base.SubSequence
1012
- @usableFromInline
1013
- internal typealias Indices = Swift.DefaultIndices<OICommons.BatchedCollection<Base>>
1014
- @usableFromInline
1015
- internal typealias Iterator = Swift.IndexingIterator<OICommons.BatchedCollection<Base>>
1016
- @usableFromInline
1017
- internal typealias SubSequence = Swift.Slice<OICommons.BatchedCollection<Base>>
1018
- }
1019
- extension Swift.Collection {
1020
- @inlinable internal func batched(by size: Swift.Int) -> OICommons.BatchedCollection<Self> {
1021
- BatchedCollection(base: self, size: size)
1022
- }
1023
- }
1024
- public struct CFB : OICommons.BlockMode {
1025
- public enum Error : Swift.Error {
1026
- case invalidInitializationVector
1027
- public static func == (a: OICommons.CFB.Error, b: OICommons.CFB.Error) -> Swift.Bool
1028
- public func hash(into hasher: inout Swift.Hasher)
1029
- public var hashValue: Swift.Int {
1030
- get
1031
- }
1032
- }
1033
- public enum SegmentSize : Swift.Int {
1034
- case cfb8
1035
- case cfb128
1036
- public init?(rawValue: Swift.Int)
1037
- public typealias RawValue = Swift.Int
1038
- public var rawValue: Swift.Int {
1039
- get
1040
- }
1041
- }
1042
- public let options: OICommons.BlockModeOption
1043
- public let customBlockSize: Swift.Int?
1044
- public init(iv: Swift.Array<Swift.UInt8>, segmentSize: OICommons.CFB.SegmentSize = .cfb128)
1045
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1046
- }
1047
- @_hasMissingDesignatedInitializers public class FCCipher {
1048
- public static let key: [Swift.UInt8]
1049
- public static let iv: [Swift.UInt8]
1050
- public static let key_string: Swift.String
1051
- public static let key_iv_string: Swift.String
1052
- public static func padMsg(_ source: Swift.String) -> Swift.String
1053
- public static func padKey(_ source: Swift.String) -> Swift.String
1054
- @objc deinit
1055
- }
1056
- extension OICommons.FCCipher {
1057
- public static func aesEncrypt(_ str: Swift.String, _ appKey: Swift.String) -> Swift.String
1058
- public static func aesDecrypt(_ str: Swift.String, _ appKey: Swift.String) -> Swift.String
1059
- }
1060
- public struct BlockModeOption : Swift.OptionSet {
1061
- public let rawValue: Swift.Int
1062
- public init(rawValue: Swift.Int)
1063
- @usableFromInline
1064
- internal static let none: OICommons.BlockModeOption
1065
- @usableFromInline
1066
- internal static let initializationVectorRequired: OICommons.BlockModeOption
1067
- @usableFromInline
1068
- internal static let paddingRequired: OICommons.BlockModeOption
1069
- @usableFromInline
1070
- internal static let useEncryptToDecrypt: OICommons.BlockModeOption
1071
- public typealias ArrayLiteralElement = OICommons.BlockModeOption
1072
- public typealias Element = OICommons.BlockModeOption
1073
- public typealias RawValue = Swift.Int
1074
- }
1075
- final public class Poly1305 : OICommons.Authenticator {
1076
- public enum Error : Swift.Error {
1077
- case authenticateError
1078
- public static func == (a: OICommons.Poly1305.Error, b: OICommons.Poly1305.Error) -> Swift.Bool
1079
- public func hash(into hasher: inout Swift.Hasher)
1080
- public var hashValue: Swift.Int {
1081
- get
1082
- }
1083
- }
1084
- public static let blockSize: Swift.Int
1085
- public init(key: Swift.Array<Swift.UInt8>)
1086
- final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1087
- @objc deinit
1088
- }
1089
- extension Swift.String {
1090
- public func addingPercentEncodingForURLQueryValue() -> Swift.String?
1091
- public func base64Encoded() -> Swift.String?
1092
- public func base64Decoded() -> Swift.String?
1093
- public func encodeURIComponent() -> Swift.String?
1094
- }
1095
- extension Swift.Dictionary {
1096
- public func stringFromHttpParameters() -> Swift.String
1097
- }
1098
- extension Swift.String {
1099
- @inlinable public var bytes: Swift.Array<Swift.UInt8> {
1100
- get {
1101
- data(using: String.Encoding.utf8, allowLossyConversion: true)?.bytes ?? Array(utf8)
1102
- }
1103
- }
1104
- @inlinable public func md5() -> Swift.String {
1105
- self.bytes.md5().toHexString()
1106
- }
1107
- @inlinable public func sha1() -> Swift.String {
1108
- self.bytes.sha1().toHexString()
1109
- }
1110
- @inlinable public func sha224() -> Swift.String {
1111
- self.bytes.sha224().toHexString()
1112
- }
1113
- @inlinable public func sha256() -> Swift.String {
1114
- self.bytes.sha256().toHexString()
1115
- }
1116
- @inlinable public func sha384() -> Swift.String {
1117
- self.bytes.sha384().toHexString()
1118
- }
1119
- @inlinable public func sha512() -> Swift.String {
1120
- self.bytes.sha512().toHexString()
1121
- }
1122
- @inlinable public func sha3(_ variant: OICommons.SHA3.Variant) -> Swift.String {
1123
- self.bytes.sha3(variant).toHexString()
1124
- }
1125
- @inlinable public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String {
1126
- self.bytes.crc32(seed: seed, reflect: reflect).bytes().toHexString()
1127
- }
1128
- @inlinable public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String {
1129
- self.bytes.crc32c(seed: seed, reflect: reflect).bytes().toHexString()
1130
- }
1131
- @inlinable public func crc16(seed: Swift.UInt16? = nil) -> Swift.String {
1132
- self.bytes.crc16(seed: seed).bytes().toHexString()
1133
- }
1134
- @inlinable public func encrypt(cipher: OICommons.Cipher) throws -> Swift.String {
1135
- try self.bytes.encrypt(cipher: cipher).toHexString()
1136
- }
1137
- @inlinable public func encryptToBase64(cipher: OICommons.Cipher) throws -> Swift.String? {
1138
- try self.bytes.encrypt(cipher: cipher).toBase64()
1139
- }
1140
- @inlinable public func authenticate<A>(with authenticator: A) throws -> Swift.String where A : OICommons.Authenticator {
1141
- try self.bytes.authenticate(with: authenticator).toHexString()
1142
- }
1143
- }
1144
- public enum HardwareStatusManager {
1145
- public static func checkCameraPermission(completion: @escaping (_ granted: Swift.Bool) -> Swift.Void)
1146
- public static func isConnectedToNetwork() -> Swift.Bool
1147
- public static func isOnPhoneCall() -> Swift.Bool
1148
- }
1149
- final public class Blowfish {
1150
- public enum Error : Swift.Error {
1151
- case dataPaddingRequired
1152
- case invalidKeyOrInitializationVector
1153
- case invalidInitializationVector
1154
- case invalidBlockMode
1155
- public static func == (a: OICommons.Blowfish.Error, b: OICommons.Blowfish.Error) -> Swift.Bool
1156
- public func hash(into hasher: inout Swift.Hasher)
1157
- public var hashValue: Swift.Int {
1158
- get
1159
- }
1160
- }
1161
- public static let blockSize: Swift.Int
1162
- final public let keySize: Swift.Int
1163
- public init(key: Swift.Array<Swift.UInt8>, blockMode: OICommons.BlockMode = CBC(iv: Array<UInt8>(repeating: 0, count: Blowfish.blockSize)), padding: OICommons.Padding) throws
1164
- @objc deinit
1165
- }
1166
- extension OICommons.Blowfish : OICommons.Cipher {
1167
- final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
1168
- final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
1169
- }
1170
- extension Swift.Array where Element == Swift.UInt8 {
1171
- public func toBase64() -> Swift.String?
1172
- public init(base64: Swift.String)
1173
- }
1174
- extension OICommons.Blowfish {
1175
- convenience public init(key: Swift.String, iv: Swift.String, padding: OICommons.Padding = .pkcs7) throws
1176
- }
1177
- extension UIKit.UIDevice {
1178
- @_Concurrency.MainActor(unsafe) public static func vibrate()
1179
- }
1180
- extension UIKit.UIImage {
1181
- public static func fromGif(resourceName: Swift.String, bundle externalBundle: Foundation.Bundle? = nil, durationPerFrame duration: CoreFoundation.CGFloat) -> UIKit.UIImage?
1182
- }
1183
- public class ClosureSleeve {
1184
- public init(attachTo: Swift.AnyObject, closure: @escaping () -> Swift.Void)
1185
- @objc public func invoke()
1186
- @objc deinit
1187
- }
1188
- extension UIKit.UIControl {
1189
- @_Concurrency.MainActor(unsafe) public func addAction(for controlEvents: UIKit.UIControl.Event = .primaryActionTriggered, action: @escaping () -> Swift.Void)
1190
- }
1191
- extension UIKit.UIViewController {
1192
- @_Concurrency.MainActor(unsafe) public func showAlert(title: Swift.String?, message: Swift.String)
1193
- }
1194
- public struct Constants {
1195
- public static var FaceCaptchaImageHeight: Swift.Int
1196
- public static var FaceCaptchaImageWidth: Swift.Int
1197
- public static var FaceCaptchaImageQuality: Swift.Double
1198
- public static var DocLandscapeImageHeight: Swift.Int
1199
- public static var DocLandscapeImageWidth: Swift.Int
1200
- public static var DocPortraitImageHeight: Swift.Int
1201
- public static var DocPortraitImageWidth: Swift.Int
1202
- public static var DocImageQuality: Swift.Double
1203
- }
1204
- public protocol Updatable {
1205
- mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
1206
- mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws
1207
- }
1208
- extension OICommons.Updatable {
1209
- @inlinable public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
1210
- let processed = try update(withBytes: bytes, isLast: isLast)
1211
- if !processed.isEmpty {
1212
- output(processed)
1213
- }
1214
- }
1215
- @inlinable public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
1216
- try self.update(withBytes: bytes, isLast: isLast)
1217
- }
1218
- @inlinable public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
1219
- try self.update(withBytes: bytes.slice, isLast: isLast)
1220
- }
1221
- @inlinable public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
1222
- try self.update(withBytes: bytes.slice, isLast: isLast, output: output)
1223
- }
1224
- @inlinable public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
1225
- try self.update(withBytes: bytes, isLast: true)
1226
- }
1227
- @inlinable public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
1228
- try self.finish(withBytes: bytes.slice)
1229
- }
1230
- @inlinable public mutating func finish() throws -> Swift.Array<Swift.UInt8> {
1231
- try self.update(withBytes: [], isLast: true)
1232
- }
1233
- @inlinable public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
1234
- let processed = try update(withBytes: bytes, isLast: true)
1235
- if !processed.isEmpty {
1236
- output(processed)
1237
- }
1238
- }
1239
- @inlinable public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
1240
- try self.finish(withBytes: bytes.slice, output: output)
1241
- }
1242
- @inlinable public mutating func finish(output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
1243
- try self.finish(withBytes: [], output: output)
1244
- }
1245
- }
1246
- @_hasMissingDesignatedInitializers final public class AEADChaCha20Poly1305 : OICommons.AEAD {
1247
- public static let kLen: Swift.Int
1248
- public static var ivRange: Swift.Range<Swift.Int>
1249
- public static func encrypt(_ plainText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>) throws -> (cipherText: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>)
1250
- public static func decrypt(_ cipherText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>) throws -> (plainText: Swift.Array<Swift.UInt8>, success: Swift.Bool)
1251
- @objc deinit
1252
- }
1253
- public struct OFB : OICommons.BlockMode {
1254
- public enum Error : Swift.Error {
1255
- case invalidInitializationVector
1256
- public static func == (a: OICommons.OFB.Error, b: OICommons.OFB.Error) -> Swift.Bool
1257
- public func hash(into hasher: inout Swift.Hasher)
1258
- public var hashValue: Swift.Int {
1259
- get
1260
- }
1261
- }
1262
- public let options: OICommons.BlockModeOption
1263
- public let customBlockSize: Swift.Int?
1264
- public init(iv: Swift.Array<Swift.UInt8>)
1265
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1266
- }
1267
- final public class ChaCha20 {
1268
- public enum Error : Swift.Error {
1269
- case invalidKeyOrInitializationVector
1270
- case notSupported
1271
- public static func == (a: OICommons.ChaCha20.Error, b: OICommons.ChaCha20.Error) -> Swift.Bool
1272
- public func hash(into hasher: inout Swift.Hasher)
1273
- public var hashValue: Swift.Int {
1274
- get
1275
- }
1276
- }
1277
- public static let blockSize: Swift.Int
1278
- final public let keySize: Swift.Int
1279
- public init(key: Swift.Array<Swift.UInt8>, iv nonce: Swift.Array<Swift.UInt8>) throws
1280
- @objc deinit
1281
- }
1282
- extension OICommons.ChaCha20 : OICommons.Cipher {
1283
- final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1284
- final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1285
- }
1286
- extension OICommons.ChaCha20 {
1287
- public struct ChaChaEncryptor : OICommons.Cryptor, OICommons.Updatable {
1288
- public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
1289
- public func seek(to: Swift.Int) throws
1290
- }
1291
- }
1292
- extension OICommons.ChaCha20 {
1293
- public struct ChaChaDecryptor : OICommons.Cryptor, OICommons.Updatable {
1294
- public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = true) throws -> Swift.Array<Swift.UInt8>
1295
- public func seek(to: Swift.Int) throws
1296
- }
1297
- }
1298
- extension OICommons.ChaCha20 : OICommons.Cryptors {
1299
- final public func makeEncryptor() -> OICommons.Cryptor & OICommons.Updatable
1300
- final public func makeDecryptor() -> OICommons.Cryptor & OICommons.Updatable
1301
- }
1302
- public class CMAC : OICommons.Authenticator {
1303
- public enum Error : Swift.Error {
1304
- case wrongKeyLength
1305
- public static func == (a: OICommons.CMAC.Error, b: OICommons.CMAC.Error) -> Swift.Bool
1306
- public func hash(into hasher: inout Swift.Hasher)
1307
- public var hashValue: Swift.Int {
1308
- get
1309
- }
1310
- }
1311
- public init(key: Swift.Array<Swift.UInt8>) throws
1312
- public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1313
- public func authenticate(_ bytes: Swift.Array<Swift.UInt8>, cipher: OICommons.Cipher) throws -> Swift.Array<Swift.UInt8>
1314
- @objc deinit
1315
- }
1316
- @_hasMissingDesignatedInitializers public class Logger {
1317
- public static let isLogEnabled: Swift.Bool
1318
- public static func log(_ items: Any...)
1319
- @objc deinit
1320
- }
1321
- extension UIKit.UIImage {
1322
- public func resizeImage(targetSize: CoreFoundation.CGSize) -> UIKit.UIImage?
1323
- public func toBase64(withSizeInMb expectedSizeInMb: Swift.Float) -> Swift.String?
1324
- }
1325
- extension Swift.String {
1326
- public func decryptBase64ToString(cipher: OICommons.Cipher) throws -> Swift.String
1327
- public func decryptBase64(cipher: OICommons.Cipher) throws -> Swift.Array<Swift.UInt8>
1328
- }
1329
- final public class HMAC : OICommons.Authenticator {
1330
- public enum Error : Swift.Error {
1331
- case authenticateError
1332
- case invalidInput
1333
- public static func == (a: OICommons.HMAC.Error, b: OICommons.HMAC.Error) -> Swift.Bool
1334
- public func hash(into hasher: inout Swift.Hasher)
1335
- public var hashValue: Swift.Int {
1336
- get
1337
- }
1338
- }
1339
- public enum Variant {
1340
- case sha1, sha256, sha384, sha512, md5
1341
- public static func == (a: OICommons.HMAC.Variant, b: OICommons.HMAC.Variant) -> Swift.Bool
1342
- public func hash(into hasher: inout Swift.Hasher)
1343
- public var hashValue: Swift.Int {
1344
- get
1345
- }
1346
- }
1347
- public init(key: Swift.Array<Swift.UInt8>, variant: OICommons.HMAC.Variant = .md5)
1348
- final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1349
- @objc deinit
1350
- }
1351
- public enum CipherError : Swift.Error {
1352
- case encrypt
1353
- case decrypt
1354
- public static func == (a: OICommons.CipherError, b: OICommons.CipherError) -> Swift.Bool
1355
- public func hash(into hasher: inout Swift.Hasher)
1356
- public var hashValue: Swift.Int {
1357
- get
1358
- }
1359
- }
1360
- public protocol Cipher : AnyObject {
1361
- var keySize: Swift.Int { get }
1362
- func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1363
- func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1364
- func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1365
- func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1366
- }
1367
- extension OICommons.Cipher {
1368
- public func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1369
- public func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1370
- }
1371
- extension Swift.Optional where Wrapped == Swift.String {
1372
- public var orEmpty: Swift.String {
1373
- get
1374
- }
1375
- }
1376
- extension Foundation.Data {
1377
- public func checksum() -> Swift.UInt16
1378
- public func md5() -> Foundation.Data
1379
- public func sha1() -> Foundation.Data
1380
- public func sha224() -> Foundation.Data
1381
- public func sha256() -> Foundation.Data
1382
- public func sha384() -> Foundation.Data
1383
- public func sha512() -> Foundation.Data
1384
- public func sha3(_ variant: OICommons.SHA3.Variant) -> Foundation.Data
1385
- public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
1386
- public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
1387
- public func crc16(seed: Swift.UInt16? = nil) -> Foundation.Data
1388
- public func encrypt(cipher: OICommons.Cipher) throws -> Foundation.Data
1389
- public func decrypt(cipher: OICommons.Cipher) throws -> Foundation.Data
1390
- public func authenticate(with authenticator: OICommons.Authenticator) throws -> Foundation.Data
1391
- }
1392
- extension Foundation.Data {
1393
- public init(hex: Swift.String)
1394
- public var bytes: Swift.Array<Swift.UInt8> {
1395
- get
1396
- }
1397
- public func toHexString() -> Swift.String
1398
- }
1399
- public enum Bit : Swift.Int {
1400
- case zero
1401
- case one
1402
- public init?(rawValue: Swift.Int)
1403
- public typealias RawValue = Swift.Int
1404
- public var rawValue: Swift.Int {
1405
- get
1406
- }
1407
- }
1408
- extension OICommons.Bit {
1409
- @inlinable internal func inverted() -> OICommons.Bit {
1410
- self == .zero ? .one : .zero
1411
- }
1412
- }
1413
- final public class Rabbit {
1414
- public enum Error : Swift.Error {
1415
- case invalidKeyOrInitializationVector
1416
- public static func == (a: OICommons.Rabbit.Error, b: OICommons.Rabbit.Error) -> Swift.Bool
1417
- public func hash(into hasher: inout Swift.Hasher)
1418
- public var hashValue: Swift.Int {
1419
- get
1420
- }
1421
- }
1422
- public static let ivSize: Swift.Int
1423
- public static let keySize: Swift.Int
1424
- public static let blockSize: Swift.Int
1425
- final public var keySize: Swift.Int {
1426
- get
1427
- }
1428
- convenience public init(key: Swift.Array<Swift.UInt8>) throws
1429
- public init(key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>?) throws
1430
- @objc deinit
1431
- }
1432
- extension OICommons.Rabbit : OICommons.Cipher {
1433
- final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1434
- final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1435
- }
1436
- @inlinable internal func rotateLeft(_ value: Swift.UInt8, by: Swift.UInt8) -> Swift.UInt8 {
1437
- ((value << by) & 0xff) | (value >> (8 - by))
1438
- }
1439
- @inlinable internal func rotateLeft(_ value: Swift.UInt16, by: Swift.UInt16) -> Swift.UInt16 {
1440
- ((value << by) & 0xffff) | (value >> (16 - by))
1441
- }
1442
- @inlinable internal func rotateLeft(_ value: Swift.UInt32, by: Swift.UInt32) -> Swift.UInt32 {
1443
- ((value << by) & 0xffffffff) | (value >> (32 - by))
1444
- }
1445
- @inlinable internal func rotateLeft(_ value: Swift.UInt64, by: Swift.UInt64) -> Swift.UInt64 {
1446
- (value << by) | (value >> (64 - by))
1447
- }
1448
- @inlinable internal func rotateRight(_ value: Swift.UInt16, by: Swift.UInt16) -> Swift.UInt16 {
1449
- (value >> by) | (value << (16 - by))
1450
- }
1451
- @inlinable internal func rotateRight(_ value: Swift.UInt32, by: Swift.UInt32) -> Swift.UInt32 {
1452
- (value >> by) | (value << (32 - by))
1453
- }
1454
- @inlinable internal func rotateRight(_ value: Swift.UInt64, by: Swift.UInt64) -> Swift.UInt64 {
1455
- ((value >> by) | (value << (64 - by)))
1456
- }
1457
- @inlinable internal func reversed(_ uint8: Swift.UInt8) -> Swift.UInt8 {
1458
- var v = uint8
1459
- v = (v & 0xf0) >> 4 | (v & 0x0f) << 4
1460
- v = (v & 0xcc) >> 2 | (v & 0x33) << 2
1461
- v = (v & 0xaa) >> 1 | (v & 0x55) << 1
1462
- return v
1463
- }
1464
- @inlinable internal func reversed(_ uint32: Swift.UInt32) -> Swift.UInt32 {
1465
- var v = uint32
1466
- v = ((v >> 1) & 0x55555555) | ((v & 0x55555555) << 1)
1467
- v = ((v >> 2) & 0x33333333) | ((v & 0x33333333) << 2)
1468
- v = ((v >> 4) & 0x0f0f0f0f) | ((v & 0x0f0f0f0f) << 4)
1469
- v = ((v >> 8) & 0x00ff00ff) | ((v & 0x00ff00ff) << 8)
1470
- v = ((v >> 16) & 0xffff) | ((v & 0xffff) << 16)
1471
- return v
1472
- }
1473
- @inlinable internal func xor<T, V>(_ left: T, _ right: V) -> Swift.ArraySlice<Swift.UInt8> where T : Swift.RandomAccessCollection, V : Swift.RandomAccessCollection, T.Element == Swift.UInt8, T.Index == Swift.Int, V.Element == Swift.UInt8, V.Index == Swift.Int {
1474
- return xor(left, right).slice
1475
- }
1476
- @inlinable internal func xor<T, V>(_ left: T, _ right: V) -> Swift.Array<Swift.UInt8> where T : Swift.RandomAccessCollection, V : Swift.RandomAccessCollection, T.Element == Swift.UInt8, T.Index == Swift.Int, V.Element == Swift.UInt8, V.Index == Swift.Int {
1477
- let length = Swift.min(left.count, right.count)
1478
-
1479
- let buf = UnsafeMutablePointer<UInt8>.allocate(capacity: length)
1480
- buf.initialize(repeating: 0, count: length)
1481
- defer {
1482
- buf.deinitialize(count: length)
1483
- buf.deallocate()
1484
- }
1485
-
1486
- // xor
1487
- for i in 0..<length {
1488
- buf[i] = left[left.startIndex.advanced(by: i)] ^ right[right.startIndex.advanced(by: i)]
1489
- }
1490
-
1491
- return Array(UnsafeBufferPointer(start: buf, count: length))
1492
- }
1493
- @inline(__always) @inlinable internal func bitPadding(to data: inout Swift.Array<Swift.UInt8>, blockSize: Swift.Int, allowance: Swift.Int = 0) {
1494
- let msgLength = data.count
1495
- // Step 1. Append Padding Bits
1496
- // append one bit (UInt8 with one bit) to message
1497
- data.append(0x80)
1498
-
1499
- // Step 2. append "0" bit until message length in bits ≡ 448 (mod 512)
1500
- let max = blockSize - allowance // 448, 986
1501
- if msgLength % blockSize < max { // 448
1502
- data += Array<UInt8>(repeating: 0, count: max - 1 - (msgLength % blockSize))
1503
- } else {
1504
- data += Array<UInt8>(repeating: 0, count: blockSize + max - 1 - (msgLength % blockSize))
1505
- }
1506
- }
1507
- extension OICommons.Rabbit {
1508
- convenience public init(key: Swift.String) throws
1509
- convenience public init(key: Swift.String, iv: Swift.String) throws
1510
- }
1511
- public struct HKDF {
1512
- public enum Error : Swift.Error {
1513
- case invalidInput
1514
- case derivedKeyTooLong
1515
- public static func == (a: OICommons.HKDF.Error, b: OICommons.HKDF.Error) -> Swift.Bool
1516
- public func hash(into hasher: inout Swift.Hasher)
1517
- public var hashValue: Swift.Int {
1518
- get
1519
- }
1520
- }
1521
- public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>? = nil, info: Swift.Array<Swift.UInt8>? = nil, keyLength: Swift.Int? = nil, variant: OICommons.HMAC.Variant = .sha256) throws
1522
- public func calculate() throws -> Swift.Array<Swift.UInt8>
1523
- }
1524
- @usableFromInline
1525
- final internal class StreamDecryptor : OICommons.Cryptor, OICommons.Updatable {
1526
- @usableFromInline
1527
- final internal let blockSize: Swift.Int
1528
- @usableFromInline
1529
- final internal var worker: OICommons.CipherModeWorker
1530
- @usableFromInline
1531
- final internal let padding: OICommons.Padding
1532
- @usableFromInline
1533
- final internal var accumulated: [Swift.UInt8]
1534
- @usableFromInline
1535
- final internal var lastBlockRemainder: Swift.Int
1536
- @usableFromInline
1537
- internal init(blockSize: Swift.Int, padding: OICommons.Padding, _ worker: OICommons.CipherModeWorker) throws
1538
- @inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8> {
1539
- self.accumulated += bytes
1540
-
1541
- let toProcess = self.accumulated.prefix(max(self.accumulated.count - self.worker.additionalBufferSize, 0))
1542
-
1543
- if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
1544
- // will truncate suffix if needed
1545
- try finalizingWorker.willDecryptLast(bytes: self.accumulated.slice)
1546
- }
1547
-
1548
- var processedBytesCount = 0
1549
- var plaintext = Array<UInt8>(reserveCapacity: bytes.count + self.worker.additionalBufferSize)
1550
- for chunk in toProcess.batched(by: self.blockSize) {
1551
- plaintext += self.worker.decrypt(block: chunk)
1552
- processedBytesCount += chunk.count
1553
- }
1554
-
1555
- if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
1556
- plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
1557
- }
1558
-
1559
- // omit unecessary calculation if not needed
1560
- if self.padding != .noPadding {
1561
- self.lastBlockRemainder = plaintext.count.quotientAndRemainder(dividingBy: self.blockSize).remainder
1562
- }
1563
-
1564
- if isLast {
1565
- // CTR doesn't need padding. Really. Add padding to the last block if really want. but... don't.
1566
- plaintext = self.padding.remove(from: plaintext, blockSize: self.blockSize - self.lastBlockRemainder)
1567
- }
1568
-
1569
- self.accumulated.removeFirst(processedBytesCount) // super-slow
1570
-
1571
- if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
1572
- plaintext = Array(try finalizingWorker.finalize(decrypt: plaintext.slice))
1573
- }
1574
-
1575
- return plaintext
1576
- }
1577
- @inlinable final public func seek(to position: Swift.Int) throws {
1578
- guard var worker = self.worker as? SeekableModeWorker else {
1579
- fatalError("Not supported")
1580
- }
1581
-
1582
- try worker.seek(to: position)
1583
- self.worker = worker
1584
- }
1585
- @objc @usableFromInline
1586
- deinit
1587
- }
1588
- @objc @_Concurrency.MainActor(unsafe) public class CustomShape : OICommons.ViewInViewCode {
1589
- public typealias ShapeBuilder = (_ shape: UIKit.UIView, _ rect: CoreFoundation.CGRect) -> Swift.Void
1590
- @_Concurrency.MainActor(unsafe) public var path: UIKit.UIBezierPath?
1591
- @_Concurrency.MainActor(unsafe) public init(shapeBuilder: @escaping OICommons.CustomShape.ShapeBuilder)
1592
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func draw(_ rect: CoreFoundation.CGRect)
1593
- @objc deinit
1594
- }
1595
- public struct CBC : OICommons.BlockMode {
1596
- public enum Error : Swift.Error {
1597
- case invalidInitializationVector
1598
- public static func == (a: OICommons.CBC.Error, b: OICommons.CBC.Error) -> Swift.Bool
1599
- public func hash(into hasher: inout Swift.Hasher)
1600
- public var hashValue: Swift.Int {
1601
- get
1602
- }
1603
- }
1604
- public let options: OICommons.BlockModeOption
1605
- public let customBlockSize: Swift.Int?
1606
- public init(iv: Swift.Array<Swift.UInt8>)
1607
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1608
- }
1609
- public protocol Cryptors : AnyObject {
1610
- func makeEncryptor() throws -> OICommons.Cryptor & OICommons.Updatable
1611
- func makeDecryptor() throws -> OICommons.Cryptor & OICommons.Updatable
1612
- static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
1613
- }
1614
- extension OICommons.Cryptors {
1615
- public static func randomIV(_ count: Swift.Int) -> Swift.Array<Swift.UInt8>
1616
- }
1617
- public protocol Authenticator {
1618
- func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
1619
- }
1620
- extension OICommons.AES : OICommons.Cryptors {
1621
- @inlinable final public func makeEncryptor() throws -> OICommons.Cryptor & OICommons.Updatable {
1622
- let blockSize = blockMode.customBlockSize ?? AES.blockSize
1623
- let worker = try blockMode.worker(blockSize: blockSize, cipherOperation: encrypt, encryptionOperation: encrypt)
1624
- if worker is StreamModeWorker {
1625
- return try StreamEncryptor(blockSize: blockSize, padding: padding, worker)
1626
- }
1627
- return try BlockEncryptor(blockSize: blockSize, padding: padding, worker)
1628
- }
1629
- @inlinable final public func makeDecryptor() throws -> OICommons.Cryptor & OICommons.Updatable {
1630
- let blockSize = blockMode.customBlockSize ?? AES.blockSize
1631
- let cipherOperation: CipherOperationOnBlock = blockMode.options.contains(.useEncryptToDecrypt) == true ? encrypt : decrypt
1632
- let worker = try blockMode.worker(blockSize: blockSize, cipherOperation: cipherOperation, encryptionOperation: encrypt)
1633
- if worker is StreamModeWorker {
1634
- return try StreamDecryptor(blockSize: blockSize, padding: padding, worker)
1635
- }
1636
- return try BlockDecryptor(blockSize: blockSize, padding: padding, worker)
1637
- }
1638
- }
1639
- public struct CCM {
1640
- public enum Error : Swift.Error {
1641
- case invalidInitializationVector
1642
- case invalidParameter
1643
- case fail
1644
- public static func == (a: OICommons.CCM.Error, b: OICommons.CCM.Error) -> Swift.Bool
1645
- public func hash(into hasher: inout Swift.Hasher)
1646
- public var hashValue: Swift.Int {
1647
- get
1648
- }
1649
- }
1650
- public let options: OICommons.BlockModeOption
1651
- public let customBlockSize: Swift.Int?
1652
- public var authenticationTag: Swift.Array<Swift.UInt8>?
1653
- public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
1654
- public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
1655
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1656
- }
1657
- public typealias CipherOperationOnBlock = (_ block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>?
1658
- public protocol BlockMode {
1659
- var options: OICommons.BlockModeOption { get }
1660
- @inlinable func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1661
- var customBlockSize: Swift.Int? { get }
1662
- }
1663
- @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class ViewInViewCode : UIKit.UIView {
1664
- @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
1665
- @_Concurrency.MainActor(unsafe) @objc dynamic public init()
1666
- @available(*, unavailable)
1667
- @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
1668
- @objc deinit
1669
- }
1670
- public class BlockDecryptor : OICommons.Cryptor, OICommons.Updatable {
1671
- @usableFromInline
1672
- final internal let blockSize: Swift.Int
1673
- @usableFromInline
1674
- final internal let padding: OICommons.Padding
1675
- @usableFromInline
1676
- internal var worker: OICommons.CipherModeWorker
1677
- @usableFromInline
1678
- internal var accumulated: [Swift.UInt8]
1679
- @usableFromInline
1680
- internal init(blockSize: Swift.Int, padding: OICommons.Padding, _ worker: OICommons.CipherModeWorker) throws
1681
- @inlinable public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
1682
- self.accumulated += bytes
1683
-
1684
- // If a worker (eg GCM) can combine ciphertext + tag
1685
- // we need to remove tag from the ciphertext.
1686
- if !isLast && self.accumulated.count < self.blockSize + self.worker.additionalBufferSize {
1687
- return []
1688
- }
1689
-
1690
- let accumulatedWithoutSuffix: Array<UInt8>
1691
- if self.worker.additionalBufferSize > 0 {
1692
- // FIXME: how slow is that?
1693
- accumulatedWithoutSuffix = Array(self.accumulated.prefix(self.accumulated.count - self.worker.additionalBufferSize))
1694
- } else {
1695
- accumulatedWithoutSuffix = self.accumulated
1696
- }
1697
-
1698
- var processedBytesCount = 0
1699
- var plaintext = Array<UInt8>(reserveCapacity: accumulatedWithoutSuffix.count)
1700
- // Processing in a block-size manner. It's good for block modes, but bad for stream modes.
1701
- for var chunk in accumulatedWithoutSuffix.batched(by: self.blockSize) {
1702
- if isLast || (accumulatedWithoutSuffix.count - processedBytesCount) >= blockSize {
1703
- let isLastChunk = processedBytesCount + chunk.count == accumulatedWithoutSuffix.count
1704
-
1705
- if isLast, isLastChunk, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
1706
- chunk = try finalizingWorker.willDecryptLast(bytes: chunk + accumulated.suffix(worker.additionalBufferSize)) // tag size
1707
- }
1708
-
1709
- if !chunk.isEmpty {
1710
- plaintext += worker.decrypt(block: chunk)
1711
- }
1712
-
1713
- if isLast, isLastChunk, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
1714
- plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
1715
- }
1716
-
1717
- processedBytesCount += chunk.count
1718
- }
1719
- }
1720
- accumulated.removeFirst(processedBytesCount) // super-slow
1721
-
1722
- if isLast {
1723
- if accumulatedWithoutSuffix.isEmpty, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
1724
- try finalizingWorker.willDecryptLast(bytes: self.accumulated.suffix(self.worker.additionalBufferSize))
1725
- plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
1726
- }
1727
- plaintext = self.padding.remove(from: plaintext, blockSize: self.blockSize)
1728
- }
1729
-
1730
- return plaintext
1731
- }
1732
- public func seek(to position: Swift.Int) throws
1733
- @objc deinit
1734
- }
1735
- public enum PKCS7 {
1736
- }
1737
- final public class GCM : OICommons.BlockMode {
1738
- public enum Mode {
1739
- case combined
1740
- case detached
1741
- public static func == (a: OICommons.GCM.Mode, b: OICommons.GCM.Mode) -> Swift.Bool
1742
- public func hash(into hasher: inout Swift.Hasher)
1743
- public var hashValue: Swift.Int {
1744
- get
1745
- }
1746
- }
1747
- final public let options: OICommons.BlockModeOption
1748
- public enum Error : Swift.Error {
1749
- case invalidInitializationVector
1750
- case fail
1751
- public static func == (a: OICommons.GCM.Error, b: OICommons.GCM.Error) -> Swift.Bool
1752
- public func hash(into hasher: inout Swift.Hasher)
1753
- public var hashValue: Swift.Int {
1754
- get
1755
- }
1756
- }
1757
- final public let customBlockSize: Swift.Int?
1758
- final public var authenticationTag: Swift.Array<Swift.UInt8>?
1759
- public init(iv: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: OICommons.GCM.Mode = .detached)
1760
- convenience public init(iv: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: OICommons.GCM.Mode = .detached)
1761
- final public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1762
- @objc deinit
1763
- }
1764
- extension OICommons.ChaCha20 {
1765
- convenience public init(key: Swift.String, iv: Swift.String) throws
1766
- }
1767
- public struct PCBC : OICommons.BlockMode {
1768
- public enum Error : Swift.Error {
1769
- case invalidInitializationVector
1770
- public static func == (a: OICommons.PCBC.Error, b: OICommons.PCBC.Error) -> Swift.Bool
1771
- public func hash(into hasher: inout Swift.Hasher)
1772
- public var hashValue: Swift.Int {
1773
- get
1774
- }
1775
- }
1776
- public let options: OICommons.BlockModeOption
1777
- public let customBlockSize: Swift.Int?
1778
- public init(iv: Swift.Array<Swift.UInt8>)
1779
- public func worker(blockSize: Swift.Int, cipherOperation: @escaping OICommons.CipherOperationOnBlock, encryptionOperation: @escaping OICommons.CipherOperationOnBlock) throws -> OICommons.CipherModeWorker
1780
- }
1781
- public enum PKCS5 {
1782
- }
1783
- public protocol PaddingProtocol {
1784
- func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
1785
- func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
1786
- }
1787
- public enum Padding : OICommons.PaddingProtocol {
1788
- case noPadding, zeroPadding, pkcs7, pkcs5, iso78164
1789
- public func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
1790
- public func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
1791
- public static func == (a: OICommons.Padding, b: OICommons.Padding) -> Swift.Bool
1792
- public func hash(into hasher: inout Swift.Hasher)
1793
- public var hashValue: Swift.Int {
1794
- get
1795
- }
1796
- }
1797
- extension UIKit.UIImage {
1798
- public func cropToRect(rect: CoreFoundation.CGRect) -> UIKit.UIImage
1799
- }
1800
- extension OICommons.AES.Error : Swift.Equatable {}
1801
- extension OICommons.AES.Error : Swift.Hashable {}
1802
- extension OICommons.AES.Variant : Swift.Equatable {}
1803
- extension OICommons.AES.Variant : Swift.Hashable {}
1804
- extension OICommons.AES.Variant : Swift.RawRepresentable {}
1805
- extension OICommons.OCB.Mode : Swift.Equatable {}
1806
- extension OICommons.OCB.Mode : Swift.Hashable {}
1807
- extension OICommons.OCB.Error : Swift.Equatable {}
1808
- extension OICommons.OCB.Error : Swift.Hashable {}
1809
- extension OICommons.Environment : Swift.Equatable {}
1810
- extension OICommons.Environment : Swift.Hashable {}
1811
- extension OICommons.Environment : Swift.RawRepresentable {}
1812
- extension OICommons.PKCS5.PBKDF1.Error : Swift.Equatable {}
1813
- extension OICommons.PKCS5.PBKDF1.Error : Swift.Hashable {}
1814
- extension OICommons.PKCS5.PBKDF1.Variant : Swift.Equatable {}
1815
- extension OICommons.PKCS5.PBKDF1.Variant : Swift.Hashable {}
1816
- extension OICommons.CTR : OICommons.BlockMode {}
1817
- extension OICommons.CTR.Error : Swift.Equatable {}
1818
- extension OICommons.CTR.Error : Swift.Hashable {}
1819
- extension OICommons.PKCS5.PBKDF2.Error : Swift.Equatable {}
1820
- extension OICommons.PKCS5.PBKDF2.Error : Swift.Hashable {}
1821
- extension OICommons.SHA3.Variant : Swift.Equatable {}
1822
- extension OICommons.SHA3.Variant : Swift.Hashable {}
1823
- extension OICommons.SHA2.Variant : Swift.Equatable {}
1824
- extension OICommons.SHA2.Variant : Swift.Hashable {}
1825
- extension OICommons.CFB.Error : Swift.Equatable {}
1826
- extension OICommons.CFB.Error : Swift.Hashable {}
1827
- extension OICommons.CFB.SegmentSize : Swift.Equatable {}
1828
- extension OICommons.CFB.SegmentSize : Swift.Hashable {}
1829
- extension OICommons.CFB.SegmentSize : Swift.RawRepresentable {}
1830
- extension OICommons.Poly1305.Error : Swift.Equatable {}
1831
- extension OICommons.Poly1305.Error : Swift.Hashable {}
1832
- extension OICommons.Blowfish.Error : Swift.Equatable {}
1833
- extension OICommons.Blowfish.Error : Swift.Hashable {}
1834
- extension OICommons.OFB.Error : Swift.Equatable {}
1835
- extension OICommons.OFB.Error : Swift.Hashable {}
1836
- extension OICommons.ChaCha20.Error : Swift.Equatable {}
1837
- extension OICommons.ChaCha20.Error : Swift.Hashable {}
1838
- extension OICommons.CMAC.Error : Swift.Equatable {}
1839
- extension OICommons.CMAC.Error : Swift.Hashable {}
1840
- extension OICommons.HMAC.Error : Swift.Equatable {}
1841
- extension OICommons.HMAC.Error : Swift.Hashable {}
1842
- extension OICommons.HMAC.Variant : Swift.Equatable {}
1843
- extension OICommons.HMAC.Variant : Swift.Hashable {}
1844
- extension OICommons.CipherError : Swift.Equatable {}
1845
- extension OICommons.CipherError : Swift.Hashable {}
1846
- extension OICommons.Bit : Swift.Equatable {}
1847
- extension OICommons.Bit : Swift.Hashable {}
1848
- extension OICommons.Bit : Swift.RawRepresentable {}
1849
- extension OICommons.Rabbit.Error : Swift.Equatable {}
1850
- extension OICommons.Rabbit.Error : Swift.Hashable {}
1851
- extension OICommons.HKDF.Error : Swift.Equatable {}
1852
- extension OICommons.HKDF.Error : Swift.Hashable {}
1853
- extension OICommons.CBC.Error : Swift.Equatable {}
1854
- extension OICommons.CBC.Error : Swift.Hashable {}
1855
- extension OICommons.CCM : OICommons.BlockMode {}
1856
- extension OICommons.CCM.Error : Swift.Equatable {}
1857
- extension OICommons.CCM.Error : Swift.Hashable {}
1858
- extension OICommons.GCM.Mode : Swift.Equatable {}
1859
- extension OICommons.GCM.Mode : Swift.Hashable {}
1860
- extension OICommons.GCM.Error : Swift.Equatable {}
1861
- extension OICommons.GCM.Error : Swift.Hashable {}
1862
- extension OICommons.PCBC.Error : Swift.Equatable {}
1863
- extension OICommons.PCBC.Error : Swift.Hashable {}
1864
- extension OICommons.Padding : Swift.Equatable {}
1865
- extension OICommons.Padding : Swift.Hashable {}