rho-tau-extensions 5.5.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (661) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +2 -0
  3. data/LICENSE +21 -0
  4. data/README.md +6 -0
  5. data/Rakefile +90 -0
  6. data/libs/crosswalk.rb +2 -0
  7. data/libs/crosswalk/crosswalk.rb +2 -0
  8. data/libs/crosswalk/ext.yml +21 -0
  9. data/libs/crosswalk/ext/Crosswalk.xml +27 -0
  10. data/libs/crosswalk/ext/build +19 -0
  11. data/libs/crosswalk/ext/build.bat +29 -0
  12. data/libs/crosswalk/ext/platform/android/AndroidManifest.xml +9 -0
  13. data/libs/crosswalk/ext/platform/android/Rakefile +141 -0
  14. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
  15. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
  16. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
  17. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
  18. data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
  19. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png +0 -0
  20. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png +0 -0
  21. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/color_picker_advanced_select_handle.png +0 -0
  22. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
  23. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_down.9.png +0 -0
  24. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_up.9.png +0 -0
  25. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_menu_share_holo_light.png +0 -0
  26. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_search.png +0 -0
  27. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_warning.png +0 -0
  28. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ondemand_overlay.9.png +0 -0
  29. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/verify_checkmark.png +0 -0
  30. data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
  31. data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
  32. data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_borderless_compat.xml +10 -0
  33. data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_compat.xml +9 -0
  34. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble.9.png +0 -0
  35. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble_arrow_up.png +0 -0
  36. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/color_picker_advanced_select_handle.png +0 -0
  37. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
  38. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_down.9.png +0 -0
  39. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_up.9.png +0 -0
  40. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_menu_share_holo_light.png +0 -0
  41. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_search.png +0 -0
  42. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_warning.png +0 -0
  43. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ondemand_overlay.9.png +0 -0
  44. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/verify_checkmark.png +0 -0
  45. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_menu_share_holo_light.png +0 -0
  46. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_search.png +0 -0
  47. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_warning.png +0 -0
  48. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/verify_checkmark.png +0 -0
  49. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_menu_share_holo_light.png +0 -0
  50. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_search.png +0 -0
  51. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_warning.png +0 -0
  52. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/verify_checkmark.png +0 -0
  53. data/libs/crosswalk/ext/platform/android/adds/res/drawable/autofill_chip_inset.xml +15 -0
  54. data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble.9.png +0 -0
  55. data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble_arrow_up.png +0 -0
  56. data/libs/crosswalk/ext/platform/android/adds/res/drawable/button_compat_shape.xml +9 -0
  57. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_button_background.xml +36 -0
  58. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_advanced_select_handle.png +0 -0
  59. data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_border.xml +12 -0
  60. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_label_color.xml +11 -0
  61. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background.xml +13 -0
  62. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_down.9.png +0 -0
  63. data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_up.9.png +0 -0
  64. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_menu_share_holo_light.png +0 -0
  65. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_search.png +0 -0
  66. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_warning.png +0 -0
  67. data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +19 -0
  68. data/libs/crosswalk/ext/platform/android/adds/res/drawable/ondemand_overlay.9.png +0 -0
  69. data/libs/crosswalk/ext/platform/android/adds/res/drawable/verify_checkmark.png +0 -0
  70. data/libs/crosswalk/ext/platform/android/adds/res/layout-land/date_time_picker_dialog.xml +42 -0
  71. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_keyboard_accessory_item.xml +40 -0
  72. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +18 -0
  73. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_advanced_component.xml +46 -0
  74. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_content.xml +51 -0
  75. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_title.xml +41 -0
  76. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/date_time_suggestion.xml +35 -0
  77. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +58 -0
  78. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/multi_field_time_picker_dialog.xml +122 -0
  79. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/two_field_date_picker.xml +38 -0
  80. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/validation_message_bubble.xml +72 -0
  81. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_icon.xml +13 -0
  82. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_item.xml +17 -0
  83. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +7 -0
  84. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_advanced_component.xml +30 -0
  85. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_content.xml +36 -0
  86. data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_title.xml +25 -0
  87. data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_picker_dialog.xml +42 -0
  88. data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_suggestion.xml +16 -0
  89. data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +34 -0
  90. data/libs/crosswalk/ext/platform/android/adds/res/layout/multi_field_time_picker_dialog.xml +50 -0
  91. data/libs/crosswalk/ext/platform/android/adds/res/layout/two_field_date_picker.xml +26 -0
  92. data/libs/crosswalk/ext/platform/android/adds/res/layout/validation_message_bubble.xml +47 -0
  93. data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +54 -0
  94. data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +206 -0
  95. data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +231 -0
  96. data/libs/crosswalk/ext/platform/android/adds/res/raw/empty.wav +0 -0
  97. data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
  98. data/libs/crosswalk/ext/platform/android/adds/res/raw/launch_screen_api.js +9 -0
  99. data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +359 -0
  100. data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +144 -0
  101. data/libs/crosswalk/ext/platform/android/adds/res/raw/wifidirect_api.js +227 -0
  102. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
  103. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_content_strings.xml +15 -0
  104. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +47 -0
  105. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_content_strings.xml +15 -0
  106. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +47 -0
  107. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_content_strings.xml +15 -0
  108. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +47 -0
  109. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_content_strings.xml +15 -0
  110. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +47 -0
  111. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_content_strings.xml +15 -0
  112. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +47 -0
  113. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_content_strings.xml +15 -0
  114. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +47 -0
  115. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_content_strings.xml +15 -0
  116. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +47 -0
  117. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_content_strings.xml +15 -0
  118. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +47 -0
  119. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_content_strings.xml +15 -0
  120. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +47 -0
  121. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_content_strings.xml +15 -0
  122. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +47 -0
  123. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_content_strings.xml +15 -0
  124. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +47 -0
  125. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_content_strings.xml +15 -0
  126. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +47 -0
  127. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_content_strings.xml +15 -0
  128. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +47 -0
  129. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_content_strings.xml +15 -0
  130. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +47 -0
  131. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_content_strings.xml +15 -0
  132. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +47 -0
  133. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_content_strings.xml +15 -0
  134. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +47 -0
  135. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_content_strings.xml +15 -0
  136. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +47 -0
  137. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_content_strings.xml +15 -0
  138. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +47 -0
  139. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_content_strings.xml +15 -0
  140. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +47 -0
  141. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_content_strings.xml +15 -0
  142. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +47 -0
  143. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_content_strings.xml +15 -0
  144. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +47 -0
  145. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_content_strings.xml +15 -0
  146. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +47 -0
  147. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_content_strings.xml +15 -0
  148. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +47 -0
  149. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_content_strings.xml +15 -0
  150. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +47 -0
  151. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_content_strings.xml +15 -0
  152. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +47 -0
  153. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_content_strings.xml +15 -0
  154. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +47 -0
  155. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_content_strings.xml +15 -0
  156. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +47 -0
  157. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_content_strings.xml +15 -0
  158. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +47 -0
  159. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_content_strings.xml +15 -0
  160. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +47 -0
  161. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_content_strings.xml +15 -0
  162. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +47 -0
  163. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_content_strings.xml +15 -0
  164. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +47 -0
  165. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_content_strings.xml +15 -0
  166. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +47 -0
  167. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_content_strings.xml +15 -0
  168. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +47 -0
  169. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_content_strings.xml +15 -0
  170. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +47 -0
  171. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_content_strings.xml +15 -0
  172. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +47 -0
  173. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_content_strings.xml +15 -0
  174. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +47 -0
  175. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_content_strings.xml +15 -0
  176. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +47 -0
  177. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_content_strings.xml +15 -0
  178. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +47 -0
  179. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_content_strings.xml +15 -0
  180. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +47 -0
  181. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_content_strings.xml +15 -0
  182. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +47 -0
  183. data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +16 -0
  184. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/styles.xml +19 -0
  185. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/ui_java_styles.xml +41 -0
  186. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/styles.xml +14 -0
  187. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/ui_java_styles.xml +14 -0
  188. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_content_strings.xml +15 -0
  189. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +47 -0
  190. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_content_strings.xml +15 -0
  191. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +47 -0
  192. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_content_strings.xml +15 -0
  193. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +47 -0
  194. data/libs/crosswalk/ext/platform/android/adds/res/values/android_content_strings.xml +15 -0
  195. data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +47 -0
  196. data/libs/crosswalk/ext/platform/android/adds/res/values/android_xwalk_strings.xml +17 -0
  197. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +9 -0
  198. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_dimens.xml +31 -0
  199. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_strings.xml +16 -0
  200. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_styles.xml +101 -0
  201. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +28 -0
  202. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_attrs.xml +11 -0
  203. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_colors.xml +13 -0
  204. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_internal_java_strings.xml +16 -0
  205. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_java_strings.xml +16 -0
  206. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_dimens.xml +11 -0
  207. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +7 -0
  208. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_styles.xml +40 -0
  209. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_values.xml +10 -0
  210. data/libs/crosswalk/ext/platform/android/ext_java.files +14 -0
  211. data/libs/crosswalk/ext/platform/android/ext_native.files +7 -0
  212. data/libs/crosswalk/ext/platform/android/jni/Crosswalk_impl.cpp +61 -0
  213. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/Crosswalk.java +14 -0
  214. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkFactory.java +18 -0
  215. data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkSingleton.java +24 -0
  216. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/CrosswalkExtension.java +16 -0
  217. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/RhodesListener.java +18 -0
  218. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWResourceClient.java +182 -0
  219. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWUIClient.java +125 -0
  220. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +368 -0
  221. data/libs/crosswalk/ext/platform/iphone/Crosswalk.xcodeproj/project.pbxproj +368 -0
  222. data/libs/crosswalk/ext/platform/iphone/Crosswalk_Prefix.pch +7 -0
  223. data/libs/crosswalk/ext/platform/iphone/Rakefile +73 -0
  224. data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.h +14 -0
  225. data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.m +24 -0
  226. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkFactorySingleton.m +16 -0
  227. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSetup.m +9 -0
  228. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.h +17 -0
  229. data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.m +23 -0
  230. data/libs/crosswalk/ext/platform/iphone/impl/readme.txt +7 -0
  231. data/libs/crosswalk/ext/platform/qt/Crosswalk.pro +66 -0
  232. data/libs/crosswalk/ext/platform/qt/Rakefile +35 -0
  233. data/libs/crosswalk/ext/platform/qt/src/Crosswalk_impl.cpp +77 -0
  234. data/libs/crosswalk/ext/platform/wm/Crosswalk.sln +52 -0
  235. data/libs/crosswalk/ext/platform/wm/Crosswalk.vcproj +714 -0
  236. data/libs/crosswalk/ext/platform/wm/Crosswalk.vsprops +15 -0
  237. data/libs/crosswalk/ext/platform/wm/src/Crosswalk_impl.cpp +77 -0
  238. data/libs/crosswalk/ext/platform/wp8/Crosswalk.props +18 -0
  239. data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj +170 -0
  240. data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj.filters +50 -0
  241. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.csproj +119 -0
  242. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.props +8 -0
  243. data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.targets +7 -0
  244. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.props +18 -0
  245. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj +185 -0
  246. data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj.filters +58 -0
  247. data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cpp +76 -0
  248. data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cs +69 -0
  249. data/libs/crosswalk/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
  250. data/libs/enterprise-barcode/ext.yml +13 -0
  251. data/libs/enterprise-barcode/ext/barcode.xml +2144 -0
  252. data/libs/enterprise-barcode/ext/build +17 -0
  253. data/libs/enterprise-barcode/ext/build.bat +29 -0
  254. data/libs/enterprise-barcode/ext/platform/android/AndroidManifest.xml +31 -0
  255. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/AUTHORS +58 -0
  256. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/CHANGES +266 -0
  257. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/COPYING +201 -0
  258. data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/README +11 -0
  259. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/cancel_icon.png +0 -0
  260. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/ok_icon.png +0 -0
  261. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/retake_icon.png +0 -0
  262. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/cancel_icon.png +0 -0
  263. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/ok_icon.png +0 -0
  264. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/retake_icon.png +0 -0
  265. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/layout/capture.xml +122 -0
  266. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/raw/beep.ogg +0 -0
  267. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/attrs.xml +20 -0
  268. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/colors.xml +42 -0
  269. data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/ids.xml +31 -0
  270. data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
  271. data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
  272. data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
  273. data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +524 -0
  274. data/libs/enterprise-barcode/ext/platform/iphone/Barcode_Prefix.pch +7 -0
  275. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.h +27 -0
  276. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.mm +231 -0
  277. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.h +95 -0
  278. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.m +1017 -0
  279. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.h +7 -0
  280. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +58 -0
  281. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactoryRegister.mm +18 -0
  282. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.h +16 -0
  283. data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.mm +32 -0
  284. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.cpp +25 -0
  285. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.h +15 -0
  286. data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.mm +159 -0
  287. data/libs/enterprise-barcode/ext/platform/iphone/Classes/barcode.m +123 -0
  288. data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +69 -0
  289. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/COPYING +27 -0
  290. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCameraSimulator.h +45 -0
  291. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h +111 -0
  292. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h +60 -0
  293. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImage.h +69 -0
  294. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h +51 -0
  295. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h +142 -0
  296. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h +135 -0
  297. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h +130 -0
  298. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h +34 -0
  299. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h +71 -0
  300. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar.h +1497 -0
  301. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h +202 -0
  302. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h +187 -0
  303. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Image.h +321 -0
  304. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h +130 -0
  305. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h +223 -0
  306. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h +162 -0
  307. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h +528 -0
  308. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Video.h +170 -0
  309. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Window.h +136 -0
  310. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/LICENSE +504 -0
  311. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/README +59 -0
  312. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-back.png +0 -0
  313. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-help.html +88 -0
  314. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png +0 -0
  315. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-samples.png +0 -0
  316. data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/libzbar.a +0 -0
  317. data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.h +21 -0
  318. data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.m +132 -0
  319. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.h +10 -0
  320. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.m +16 -0
  321. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactorySingleton.m +16 -0
  322. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSetup.m +8 -0
  323. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.h +17 -0
  324. data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.m +22 -0
  325. data/libs/enterprise-barcode/ext/platform/iphone/impl/readme.txt +7 -0
  326. data/libs/enterprise-barcode/ext/platform/wm/Barcode.sln +44 -0
  327. data/libs/enterprise-barcode/ext/platform/wm/Barcode.vcproj +836 -0
  328. data/libs/enterprise-barcode/ext/platform/wm/Barcode.vsprops +15 -0
  329. data/libs/enterprise-barcode/ext/platform/wm/readme.txt +0 -0
  330. data/libs/enterprise-barcode/ext/platform/wm/src/Barcode_impl.cpp +376 -0
  331. data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.cpp +173 -0
  332. data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.h +149 -0
  333. data/libs/enterprise-barcode/ext/platform/wm/src/EMDKInterfaceAbstraction.cpp +476 -0
  334. data/libs/enterprise-barcode/ext/platform/wm/src/GetDecoderProperties.cpp +1195 -0
  335. data/libs/enterprise-barcode/ext/platform/wm/src/GetScannerProperties.cpp +553 -0
  336. data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.cpp +177 -0
  337. data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h +40 -0
  338. data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.cpp +76 -0
  339. data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.h +44 -0
  340. data/libs/enterprise-barcode/ext/platform/wm/src/RSM.cpp +1211 -0
  341. data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.cpp +2609 -0
  342. data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.h +1099 -0
  343. data/libs/enterprise-barcode/ext/platform/wm/src/ScannerDefines.h +322 -0
  344. data/libs/enterprise-barcode/ext/platform/wm/src/SetDecoderProperties.cpp +2106 -0
  345. data/libs/enterprise-barcode/ext/platform/wm/src/SetScannerProperties.cpp +1060 -0
  346. data/libs/enterprise-barcode/ext/platform/wm/src/Utilities.cpp +184 -0
  347. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.csproj +119 -0
  348. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.props +8 -0
  349. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.targets +35 -0
  350. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.props +18 -0
  351. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj +185 -0
  352. data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj.filters +58 -0
  353. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.dll +0 -0
  354. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.winmd +0 -0
  355. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.xml +4813 -0
  356. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.dll +0 -0
  357. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
  358. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.xml +41 -0
  359. data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/OpticalReaderLib.dll +0 -0
  360. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.XML +68 -0
  361. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.dll +0 -0
  362. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.csproj +120 -0
  363. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.sln +34 -0
  364. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml +32 -0
  365. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml.cs +235 -0
  366. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/OpticalReaderTask.cs +182 -0
  367. data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/Properties/AssemblyInfo.cs +37 -0
  368. data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.dll +0 -0
  369. data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.xml +341 -0
  370. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.dll +0 -0
  371. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.winmd +0 -0
  372. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.xml +4813 -0
  373. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.dll +0 -0
  374. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
  375. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.xml +41 -0
  376. data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/OpticalReaderLib.dll +0 -0
  377. data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.XML +10324 -0
  378. data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.dll +0 -0
  379. data/libs/enterprise-barcode/ext/platform/wp8/src/Barcode_impl.cs +630 -0
  380. data/libs/enterprise-barcode/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
  381. data/libs/enterprise-barcode/public/api/generated/Rho.Barcode.js +772 -0
  382. data/libs/ie/rhobrowser.dll +0 -0
  383. data/libs/nodejs.rb +2 -0
  384. data/libs/nodejs/ext.yml +25 -0
  385. data/libs/nodejs/ext/Nodejs.xml +37 -0
  386. data/libs/nodejs/ext/build +19 -0
  387. data/libs/nodejs/ext/build.bat +29 -0
  388. data/libs/nodejs/ext/platform/android/Rakefile +161 -0
  389. data/libs/nodejs/ext/platform/android/ext_native.files +8 -0
  390. data/libs/nodejs/ext/platform/android/jxCore/jx.h +134 -0
  391. data/libs/nodejs/ext/platform/android/jxCore/jx_result.h +221 -0
  392. data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
  393. data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
  394. data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
  395. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
  396. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
  397. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
  398. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
  399. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
  400. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
  401. data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
  402. data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
  403. data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
  404. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
  405. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
  406. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
  407. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
  408. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
  409. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
  410. data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
  411. data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
  412. data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
  413. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
  414. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
  415. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
  416. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
  417. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
  418. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
  419. data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +350 -0
  420. data/libs/nodejs/ext/platform/iphone/Nodejs_Prefix.pch +7 -0
  421. data/libs/nodejs/ext/platform/iphone/Rakefile +73 -0
  422. data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +134 -0
  423. data/libs/nodejs/ext/platform/iphone/jxCore/jx_result.h +221 -0
  424. data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
  425. data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
  426. data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
  427. data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
  428. data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
  429. data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
  430. data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
  431. data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
  432. data/libs/nodejs/ext/shared/jxcore/jx.h +134 -0
  433. data/libs/nodejs/ext/shared/jxcore/jx_result.h +221 -0
  434. data/libs/nodejs/ext/shared/jxcoretau.cpp +454 -0
  435. data/libs/nodejs/ext/shared/jxcoretau.h +20 -0
  436. data/libs/nodejs/ext/shared/nodejs_impl.cpp +106 -0
  437. data/libs/nodejs/nodejs.rb +2 -0
  438. data/libs/openssl-edge.rb +2 -0
  439. data/libs/openssl-edge/ext.yml +4 -0
  440. data/libs/openssl-edge/ext/Rakefile +145 -0
  441. data/libs/openssl-edge/ext/android/Rakefile +107 -0
  442. data/libs/openssl-edge/ext/android/ext_native.files +32 -0
  443. data/libs/openssl-edge/ext/android/extconf.h +91 -0
  444. data/libs/openssl-edge/ext/build +12 -0
  445. data/libs/openssl-edge/ext/build.bat +5 -0
  446. data/libs/openssl-edge/ext/extconf.rb +141 -0
  447. data/libs/openssl-edge/ext/openssl.pro +109 -0
  448. data/libs/openssl-edge/ext/openssl.sln +52 -0
  449. data/libs/openssl-edge/ext/openssl.vcproj +1010 -0
  450. data/libs/openssl-edge/ext/openssl_missing.c +1163 -0
  451. data/libs/openssl-edge/ext/openssl_missing.h +537 -0
  452. data/libs/openssl-edge/ext/ossl.c +1203 -0
  453. data/libs/openssl-edge/ext/ossl.h +242 -0
  454. data/libs/openssl-edge/ext/ossl_asn1.c +2008 -0
  455. data/libs/openssl-edge/ext/ossl_asn1.h +66 -0
  456. data/libs/openssl-edge/ext/ossl_bio.c +118 -0
  457. data/libs/openssl-edge/ext/ossl_bio.h +19 -0
  458. data/libs/openssl-edge/ext/ossl_bn.c +1153 -0
  459. data/libs/openssl-edge/ext/ossl_bn.h +23 -0
  460. data/libs/openssl-edge/ext/ossl_cipher.c +1085 -0
  461. data/libs/openssl-edge/ext/ossl_cipher.h +20 -0
  462. data/libs/openssl-edge/ext/ossl_config.c +89 -0
  463. data/libs/openssl-edge/ext/ossl_config.h +19 -0
  464. data/libs/openssl-edge/ext/ossl_digest.c +453 -0
  465. data/libs/openssl-edge/ext/ossl_digest.h +20 -0
  466. data/libs/openssl-edge/ext/ossl_engine.c +580 -0
  467. data/libs/openssl-edge/ext/ossl_engine.h +19 -0
  468. data/libs/openssl-edge/ext/ossl_hmac.c +398 -0
  469. data/libs/openssl-edge/ext/ossl_hmac.h +18 -0
  470. data/libs/openssl-edge/ext/ossl_ns_spki.c +406 -0
  471. data/libs/openssl-edge/ext/ossl_ns_spki.h +19 -0
  472. data/libs/openssl-edge/ext/ossl_ocsp.c +2013 -0
  473. data/libs/openssl-edge/ext/ossl_ocsp.h +23 -0
  474. data/libs/openssl-edge/ext/ossl_pkcs12.c +261 -0
  475. data/libs/openssl-edge/ext/ossl_pkcs12.h +13 -0
  476. data/libs/openssl-edge/ext/ossl_pkcs5.c +180 -0
  477. data/libs/openssl-edge/ext/ossl_pkcs5.h +6 -0
  478. data/libs/openssl-edge/ext/ossl_pkcs7.c +1157 -0
  479. data/libs/openssl-edge/ext/ossl_pkcs7.h +20 -0
  480. data/libs/openssl-edge/ext/ossl_pkey.c +469 -0
  481. data/libs/openssl-edge/ext/ossl_pkey.h +245 -0
  482. data/libs/openssl-edge/ext/ossl_pkey_dh.c +650 -0
  483. data/libs/openssl-edge/ext/ossl_pkey_dsa.c +672 -0
  484. data/libs/openssl-edge/ext/ossl_pkey_ec.c +1806 -0
  485. data/libs/openssl-edge/ext/ossl_pkey_rsa.c +768 -0
  486. data/libs/openssl-edge/ext/ossl_rand.c +238 -0
  487. data/libs/openssl-edge/ext/ossl_rand.h +18 -0
  488. data/libs/openssl-edge/ext/ossl_ssl.c +2724 -0
  489. data/libs/openssl-edge/ext/ossl_ssl.h +41 -0
  490. data/libs/openssl-edge/ext/ossl_ssl_session.c +352 -0
  491. data/libs/openssl-edge/ext/ossl_version.h +15 -0
  492. data/libs/openssl-edge/ext/ossl_x509.c +186 -0
  493. data/libs/openssl-edge/ext/ossl_x509.h +119 -0
  494. data/libs/openssl-edge/ext/ossl_x509attr.c +328 -0
  495. data/libs/openssl-edge/ext/ossl_x509cert.c +863 -0
  496. data/libs/openssl-edge/ext/ossl_x509crl.c +565 -0
  497. data/libs/openssl-edge/ext/ossl_x509ext.c +480 -0
  498. data/libs/openssl-edge/ext/ossl_x509name.c +547 -0
  499. data/libs/openssl-edge/ext/ossl_x509req.c +492 -0
  500. data/libs/openssl-edge/ext/ossl_x509revoked.c +279 -0
  501. data/libs/openssl-edge/ext/ossl_x509store.c +846 -0
  502. data/libs/openssl-edge/ext/ruby_missing.h +32 -0
  503. data/libs/openssl-edge/openssl-edge.rb +2 -0
  504. data/libs/openssl-edge/openssl.rb +24 -0
  505. data/libs/openssl-edge/openssl/bn.rb +35 -0
  506. data/libs/openssl-edge/openssl/buffering.rb +341 -0
  507. data/libs/openssl-edge/openssl/cipher.rb +65 -0
  508. data/libs/openssl-edge/openssl/digest.rb +61 -0
  509. data/libs/openssl-edge/openssl/ssl-internal.rb +180 -0
  510. data/libs/openssl-edge/openssl/ssl.rb +1 -0
  511. data/libs/openssl-edge/openssl/x509-internal.rb +153 -0
  512. data/libs/openssl-edge/openssl/x509.rb +1 -0
  513. data/libs/openssl.so-edge.rb +2 -0
  514. data/libs/openssl.so-edge/ext.yml +8 -0
  515. data/libs/openssl.so-edge/ext/Rakefile +140 -0
  516. data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
  517. data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
  518. data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
  519. data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
  520. data/libs/openssl.so-edge/ext/build +12 -0
  521. data/libs/openssl.so-edge/ext/build.bat +1 -0
  522. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dh/dh_locl.h +56 -0
  523. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dsa/dsa_locl.h +76 -0
  524. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/evp/evp_locl.h +66 -0
  525. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/hmac/hmac_lcl.h +33 -0
  526. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/asn1_int.h +94 -0
  527. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/async.h +14 -0
  528. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_conf.h +28 -0
  529. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_dh.h +17 -0
  530. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_int.h +82 -0
  531. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_srp.h +32 -0
  532. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/chacha.h +49 -0
  533. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib.h +81 -0
  534. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib_int.h +31 -0
  535. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/dso_conf.h +16 -0
  536. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/engine.h +20 -0
  537. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/err_int.h +17 -0
  538. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/evp_int.h +382 -0
  539. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/md32_common.h +383 -0
  540. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/objects.h +12 -0
  541. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/poly1305.h +19 -0
  542. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/rand.h +20 -0
  543. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/x509_int.h +267 -0
  544. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/ocsp/ocsp_lcl.h +216 -0
  545. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/rsa/rsa_locl.h +96 -0
  546. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/x509/x509_lcl.h +142 -0
  547. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/e_os.h +520 -0
  548. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/bio.h +26 -0
  549. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/comp.h +12 -0
  550. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/conf.h +32 -0
  551. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/constant_time_locl.h +185 -0
  552. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dane.h +103 -0
  553. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +216 -0
  554. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/err.h +15 -0
  555. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/numbers.h +68 -0
  556. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_dir.h +63 -0
  557. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_str.h +17 -0
  558. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +42 -0
  559. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_EPILOGUE.H +16 -0
  560. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_PROLOGUE.H +20 -0
  561. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/aes.h +92 -0
  562. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +1096 -0
  563. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1_mac.h +10 -0
  564. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +924 -0
  565. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/async.h +98 -0
  566. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +854 -0
  567. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/blowfish.h +61 -0
  568. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +575 -0
  569. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +76 -0
  570. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/camellia.h +83 -0
  571. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cast.h +53 -0
  572. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h +41 -0
  573. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cms.h +512 -0
  574. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/comp.h +72 -0
  575. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +216 -0
  576. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf_api.h +40 -0
  577. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +463 -0
  578. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +518 -0
  579. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/des.h +174 -0
  580. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +343 -0
  581. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +282 -0
  582. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dtls1.h +56 -0
  583. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +311 -0
  584. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ebcdic.h +33 -0
  585. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +1581 -0
  586. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdh.h +10 -0
  587. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdsa.h +10 -0
  588. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +842 -0
  589. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +259 -0
  590. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +1586 -0
  591. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/hmac.h +49 -0
  592. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/idea.h +64 -0
  593. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/kdf.h +75 -0
  594. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +204 -0
  595. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md2.h +44 -0
  596. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md4.h +51 -0
  597. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md5.h +50 -0
  598. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/mdc2.h +42 -0
  599. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/modes.h +203 -0
  600. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/obj_mac.h +4577 -0
  601. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +1097 -0
  602. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +409 -0
  603. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +169 -0
  604. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h.in +141 -0
  605. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +105 -0
  606. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ossl_typ.h +190 -0
  607. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem.h +501 -0
  608. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem2.h +20 -0
  609. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs12.h +282 -0
  610. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs7.h +404 -0
  611. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rand.h +89 -0
  612. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc2.h +51 -0
  613. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc4.h +36 -0
  614. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc5.h +63 -0
  615. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ripemd.h +47 -0
  616. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +588 -0
  617. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/safestack.h +164 -0
  618. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +98 -0
  619. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/sha.h +119 -0
  620. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srp.h +131 -0
  621. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +50 -0
  622. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +2527 -0
  623. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl2.h +24 -0
  624. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +307 -0
  625. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/stack.h +78 -0
  626. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/symhacks.h +52 -0
  627. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +972 -0
  628. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ts.h +643 -0
  629. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/txt_db.h +57 -0
  630. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +368 -0
  631. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/whrlpool.h +48 -0
  632. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1123 -0
  633. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +539 -0
  634. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1005 -0
  635. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/packet_locl.h +555 -0
  636. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record.h +240 -0
  637. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record_locl.h +114 -0
  638. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/ssl_locl.h +2127 -0
  639. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem.h +123 -0
  640. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem_locl.h +124 -0
  641. data/libs/openssl.so-edge/openssl.so.rb +2 -0
  642. data/libs/webkit.rb +2 -0
  643. data/libs/webkit/ext.yml +4 -0
  644. data/libs/webkit/ext/build +12 -0
  645. data/libs/webkit/ext/build.bat +7 -0
  646. data/libs/webkit/ext/wm/Rakefile +61 -0
  647. data/libs/webkit/ext/wm/RhoMsgs.cpp +17 -0
  648. data/libs/webkit/ext/wm/RhoMsgs.h +14 -0
  649. data/libs/webkit/ext/wm/RhoWKBrowserEngine.cpp +736 -0
  650. data/libs/webkit/ext/wm/RhoWKBrowserEngine.h +105 -0
  651. data/libs/webkit/ext/wm/lib/npapi/rhobridge.dll +0 -0
  652. data/libs/webkit/ext/wm/lib/rhoengine_defs.h +80 -0
  653. data/libs/webkit/ext/wm/lib/rhowebkit.dll +0 -0
  654. data/libs/webkit/ext/wm/webkit.sln +36 -0
  655. data/libs/webkit/ext/wm/webkit.suo +0 -0
  656. data/libs/webkit/ext/wm/webkit.vcproj +800 -0
  657. data/libs/webkit/ext/wm/webkit.vsprops +20 -0
  658. data/libs/webkit/webkit.rb +2 -0
  659. data/rho-tau-extensions.gemspec +23 -0
  660. data/version +1 -0
  661. metadata +705 -0
@@ -0,0 +1,76 @@
1
+ /*
2
+ * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef HEADER_BUFFER_H
11
+ # define HEADER_BUFFER_H
12
+
13
+ # include <openssl/ossl_typ.h>
14
+ # ifndef HEADER_CRYPTO_H
15
+ # include <openssl/crypto.h>
16
+ # endif
17
+
18
+
19
+ #ifdef __cplusplus
20
+ extern "C" {
21
+ #endif
22
+
23
+ # include <stddef.h>
24
+
25
+ # if !defined(NO_SYS_TYPES_H)
26
+ # include <sys/types.h>
27
+ # endif
28
+
29
+ /*
30
+ * These names are outdated as of OpenSSL 1.1; a future release
31
+ * will move them to be deprecated.
32
+ */
33
+ # define BUF_strdup(s) OPENSSL_strdup(s)
34
+ # define BUF_strndup(s, size) OPENSSL_strndup(s, size)
35
+ # define BUF_memdup(data, size) OPENSSL_memdup(data, size)
36
+ # define BUF_strlcpy(dst, src, size) OPENSSL_strlcpy(dst, src, size)
37
+ # define BUF_strlcat(dst, src, size) OPENSSL_strlcat(dst, src, size)
38
+ # define BUF_strnlen(str, maxlen) OPENSSL_strnlen(str, maxlen)
39
+
40
+ struct buf_mem_st {
41
+ size_t length; /* current number of bytes */
42
+ char *data;
43
+ size_t max; /* size of buffer */
44
+ unsigned long flags;
45
+ };
46
+
47
+ # define BUF_MEM_FLAG_SECURE 0x01
48
+
49
+ BUF_MEM *BUF_MEM_new(void);
50
+ BUF_MEM *BUF_MEM_new_ex(unsigned long flags);
51
+ void BUF_MEM_free(BUF_MEM *a);
52
+ size_t BUF_MEM_grow(BUF_MEM *str, size_t len);
53
+ size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
54
+ void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
55
+
56
+ /* BEGIN ERROR CODES */
57
+ /*
58
+ * The following lines are auto generated by the script mkerr.pl. Any changes
59
+ * made after this point may be overwritten when the script is next run.
60
+ */
61
+
62
+ int ERR_load_BUF_strings(void);
63
+
64
+ /* Error codes for the BUF functions. */
65
+
66
+ /* Function codes. */
67
+ # define BUF_F_BUF_MEM_GROW 100
68
+ # define BUF_F_BUF_MEM_GROW_CLEAN 105
69
+ # define BUF_F_BUF_MEM_NEW 101
70
+
71
+ /* Reason codes. */
72
+
73
+ # ifdef __cplusplus
74
+ }
75
+ # endif
76
+ #endif
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef HEADER_CAMELLIA_H
11
+ # define HEADER_CAMELLIA_H
12
+
13
+ # include <openssl/opensslconf.h>
14
+
15
+ # ifndef OPENSSL_NO_CAMELLIA
16
+ # include <stddef.h>
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
21
+ # define CAMELLIA_ENCRYPT 1
22
+ # define CAMELLIA_DECRYPT 0
23
+
24
+ /*
25
+ * Because array size can't be a const in C, the following two are macros.
26
+ * Both sizes are in bytes.
27
+ */
28
+
29
+ /* This should be a hidden type, but EVP requires that the size be known */
30
+
31
+ # define CAMELLIA_BLOCK_SIZE 16
32
+ # define CAMELLIA_TABLE_BYTE_LEN 272
33
+ # define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4)
34
+
35
+ typedef unsigned int KEY_TABLE_TYPE[CAMELLIA_TABLE_WORD_LEN]; /* to match
36
+ * with WORD */
37
+
38
+ struct camellia_key_st {
39
+ union {
40
+ double d; /* ensures 64-bit align */
41
+ KEY_TABLE_TYPE rd_key;
42
+ } u;
43
+ int grand_rounds;
44
+ };
45
+ typedef struct camellia_key_st CAMELLIA_KEY;
46
+
47
+ int Camellia_set_key(const unsigned char *userKey, const int bits,
48
+ CAMELLIA_KEY *key);
49
+
50
+ void Camellia_encrypt(const unsigned char *in, unsigned char *out,
51
+ const CAMELLIA_KEY *key);
52
+ void Camellia_decrypt(const unsigned char *in, unsigned char *out,
53
+ const CAMELLIA_KEY *key);
54
+
55
+ void Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out,
56
+ const CAMELLIA_KEY *key, const int enc);
57
+ void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out,
58
+ size_t length, const CAMELLIA_KEY *key,
59
+ unsigned char *ivec, const int enc);
60
+ void Camellia_cfb128_encrypt(const unsigned char *in, unsigned char *out,
61
+ size_t length, const CAMELLIA_KEY *key,
62
+ unsigned char *ivec, int *num, const int enc);
63
+ void Camellia_cfb1_encrypt(const unsigned char *in, unsigned char *out,
64
+ size_t length, const CAMELLIA_KEY *key,
65
+ unsigned char *ivec, int *num, const int enc);
66
+ void Camellia_cfb8_encrypt(const unsigned char *in, unsigned char *out,
67
+ size_t length, const CAMELLIA_KEY *key,
68
+ unsigned char *ivec, int *num, const int enc);
69
+ void Camellia_ofb128_encrypt(const unsigned char *in, unsigned char *out,
70
+ size_t length, const CAMELLIA_KEY *key,
71
+ unsigned char *ivec, int *num);
72
+ void Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out,
73
+ size_t length, const CAMELLIA_KEY *key,
74
+ unsigned char ivec[CAMELLIA_BLOCK_SIZE],
75
+ unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE],
76
+ unsigned int *num);
77
+
78
+ # ifdef __cplusplus
79
+ }
80
+ # endif
81
+ # endif
82
+
83
+ #endif
@@ -0,0 +1,53 @@
1
+ /*
2
+ * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef HEADER_CAST_H
11
+ # define HEADER_CAST_H
12
+
13
+ # include <openssl/opensslconf.h>
14
+
15
+ # ifndef OPENSSL_NO_CAST
16
+ # ifdef __cplusplus
17
+ extern "C" {
18
+ # endif
19
+
20
+ # define CAST_ENCRYPT 1
21
+ # define CAST_DECRYPT 0
22
+
23
+ # define CAST_LONG unsigned int
24
+
25
+ # define CAST_BLOCK 8
26
+ # define CAST_KEY_LENGTH 16
27
+
28
+ typedef struct cast_key_st {
29
+ CAST_LONG data[32];
30
+ int short_key; /* Use reduced rounds for short key */
31
+ } CAST_KEY;
32
+
33
+ void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
34
+ void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
35
+ const CAST_KEY *key, int enc);
36
+ void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key);
37
+ void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key);
38
+ void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out,
39
+ long length, const CAST_KEY *ks, unsigned char *iv,
40
+ int enc);
41
+ void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out,
42
+ long length, const CAST_KEY *schedule,
43
+ unsigned char *ivec, int *num, int enc);
44
+ void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
45
+ long length, const CAST_KEY *schedule,
46
+ unsigned char *ivec, int *num);
47
+
48
+ # ifdef __cplusplus
49
+ }
50
+ # endif
51
+ # endif
52
+
53
+ #endif
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef HEADER_CMAC_H
11
+ # define HEADER_CMAC_H
12
+
13
+ # ifndef OPENSSL_NO_CMAC
14
+
15
+ #ifdef __cplusplus
16
+ extern "C" {
17
+ #endif
18
+
19
+ # include <openssl/evp.h>
20
+
21
+ /* Opaque */
22
+ typedef struct CMAC_CTX_st CMAC_CTX;
23
+
24
+ CMAC_CTX *CMAC_CTX_new(void);
25
+ void CMAC_CTX_cleanup(CMAC_CTX *ctx);
26
+ void CMAC_CTX_free(CMAC_CTX *ctx);
27
+ EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx);
28
+ int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in);
29
+
30
+ int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
31
+ const EVP_CIPHER *cipher, ENGINE *impl);
32
+ int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen);
33
+ int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen);
34
+ int CMAC_resume(CMAC_CTX *ctx);
35
+
36
+ #ifdef __cplusplus
37
+ }
38
+ #endif
39
+
40
+ # endif
41
+ #endif
@@ -0,0 +1,512 @@
1
+ /*
2
+ * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the OpenSSL license (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef HEADER_CMS_H
11
+ # define HEADER_CMS_H
12
+
13
+ # include <openssl/opensslconf.h>
14
+
15
+ # ifndef OPENSSL_NO_CMS
16
+ # include <openssl/x509.h>
17
+ # include <openssl/x509v3.h>
18
+ # ifdef __cplusplus
19
+ extern "C" {
20
+ # endif
21
+
22
+ typedef struct CMS_ContentInfo_st CMS_ContentInfo;
23
+ typedef struct CMS_SignerInfo_st CMS_SignerInfo;
24
+ typedef struct CMS_CertificateChoices CMS_CertificateChoices;
25
+ typedef struct CMS_RevocationInfoChoice_st CMS_RevocationInfoChoice;
26
+ typedef struct CMS_RecipientInfo_st CMS_RecipientInfo;
27
+ typedef struct CMS_ReceiptRequest_st CMS_ReceiptRequest;
28
+ typedef struct CMS_Receipt_st CMS_Receipt;
29
+ typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey;
30
+ typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute;
31
+
32
+ DEFINE_STACK_OF(CMS_SignerInfo)
33
+ DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
34
+ DEFINE_STACK_OF(CMS_RecipientInfo)
35
+ DEFINE_STACK_OF(CMS_RevocationInfoChoice)
36
+ DECLARE_ASN1_FUNCTIONS(CMS_ContentInfo)
37
+ DECLARE_ASN1_FUNCTIONS(CMS_ReceiptRequest)
38
+ DECLARE_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
39
+
40
+ # define CMS_SIGNERINFO_ISSUER_SERIAL 0
41
+ # define CMS_SIGNERINFO_KEYIDENTIFIER 1
42
+
43
+ # define CMS_RECIPINFO_NONE -1
44
+ # define CMS_RECIPINFO_TRANS 0
45
+ # define CMS_RECIPINFO_AGREE 1
46
+ # define CMS_RECIPINFO_KEK 2
47
+ # define CMS_RECIPINFO_PASS 3
48
+ # define CMS_RECIPINFO_OTHER 4
49
+
50
+ /* S/MIME related flags */
51
+
52
+ # define CMS_TEXT 0x1
53
+ # define CMS_NOCERTS 0x2
54
+ # define CMS_NO_CONTENT_VERIFY 0x4
55
+ # define CMS_NO_ATTR_VERIFY 0x8
56
+ # define CMS_NOSIGS \
57
+ (CMS_NO_CONTENT_VERIFY|CMS_NO_ATTR_VERIFY)
58
+ # define CMS_NOINTERN 0x10
59
+ # define CMS_NO_SIGNER_CERT_VERIFY 0x20
60
+ # define CMS_NOVERIFY 0x20
61
+ # define CMS_DETACHED 0x40
62
+ # define CMS_BINARY 0x80
63
+ # define CMS_NOATTR 0x100
64
+ # define CMS_NOSMIMECAP 0x200
65
+ # define CMS_NOOLDMIMETYPE 0x400
66
+ # define CMS_CRLFEOL 0x800
67
+ # define CMS_STREAM 0x1000
68
+ # define CMS_NOCRL 0x2000
69
+ # define CMS_PARTIAL 0x4000
70
+ # define CMS_REUSE_DIGEST 0x8000
71
+ # define CMS_USE_KEYID 0x10000
72
+ # define CMS_DEBUG_DECRYPT 0x20000
73
+ # define CMS_KEY_PARAM 0x40000
74
+ # define CMS_ASCIICRLF 0x80000
75
+
76
+ const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
77
+
78
+ BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont);
79
+ int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio);
80
+
81
+ ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms);
82
+ int CMS_is_detached(CMS_ContentInfo *cms);
83
+ int CMS_set_detached(CMS_ContentInfo *cms, int detached);
84
+
85
+ # ifdef HEADER_PEM_H
86
+ DECLARE_PEM_rw_const(CMS, CMS_ContentInfo)
87
+ # endif
88
+ int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms);
89
+ CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms);
90
+ int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms);
91
+
92
+ BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms);
93
+ int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags);
94
+ int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in,
95
+ int flags);
96
+ CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont);
97
+ int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags);
98
+
99
+ int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont,
100
+ unsigned int flags);
101
+
102
+ CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
103
+ STACK_OF(X509) *certs, BIO *data,
104
+ unsigned int flags);
105
+
106
+ CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si,
107
+ X509 *signcert, EVP_PKEY *pkey,
108
+ STACK_OF(X509) *certs, unsigned int flags);
109
+
110
+ int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags);
111
+ CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags);
112
+
113
+ int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
114
+ unsigned int flags);
115
+ CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md,
116
+ unsigned int flags);
117
+
118
+ int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms,
119
+ const unsigned char *key, size_t keylen,
120
+ BIO *dcont, BIO *out, unsigned int flags);
121
+
122
+ CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher,
123
+ const unsigned char *key,
124
+ size_t keylen, unsigned int flags);
125
+
126
+ int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
127
+ const unsigned char *key, size_t keylen);
128
+
129
+ int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
130
+ X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags);
131
+
132
+ int CMS_verify_receipt(CMS_ContentInfo *rcms, CMS_ContentInfo *ocms,
133
+ STACK_OF(X509) *certs,
134
+ X509_STORE *store, unsigned int flags);
135
+
136
+ STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
137
+
138
+ CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
139
+ const EVP_CIPHER *cipher, unsigned int flags);
140
+
141
+ int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,
142
+ BIO *dcont, BIO *out, unsigned int flags);
143
+
144
+ int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);
145
+ int CMS_decrypt_set1_key(CMS_ContentInfo *cms,
146
+ unsigned char *key, size_t keylen,
147
+ const unsigned char *id, size_t idlen);
148
+ int CMS_decrypt_set1_password(CMS_ContentInfo *cms,
149
+ unsigned char *pass, ossl_ssize_t passlen);
150
+
151
+ STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);
152
+ int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);
153
+ EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri);
154
+ CMS_ContentInfo *CMS_EnvelopedData_create(const EVP_CIPHER *cipher);
155
+ CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
156
+ X509 *recip, unsigned int flags);
157
+ int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
158
+ int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);
159
+ int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,
160
+ EVP_PKEY **pk, X509 **recip,
161
+ X509_ALGOR **palg);
162
+ int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,
163
+ ASN1_OCTET_STRING **keyid,
164
+ X509_NAME **issuer,
165
+ ASN1_INTEGER **sno);
166
+
167
+ CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid,
168
+ unsigned char *key, size_t keylen,
169
+ unsigned char *id, size_t idlen,
170
+ ASN1_GENERALIZEDTIME *date,
171
+ ASN1_OBJECT *otherTypeId,
172
+ ASN1_TYPE *otherType);
173
+
174
+ int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri,
175
+ X509_ALGOR **palg,
176
+ ASN1_OCTET_STRING **pid,
177
+ ASN1_GENERALIZEDTIME **pdate,
178
+ ASN1_OBJECT **potherid,
179
+ ASN1_TYPE **pothertype);
180
+
181
+ int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri,
182
+ unsigned char *key, size_t keylen);
183
+
184
+ int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,
185
+ const unsigned char *id, size_t idlen);
186
+
187
+ int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,
188
+ unsigned char *pass,
189
+ ossl_ssize_t passlen);
190
+
191
+ CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms,
192
+ int iter, int wrap_nid,
193
+ int pbe_nid,
194
+ unsigned char *pass,
195
+ ossl_ssize_t passlen,
196
+ const EVP_CIPHER *kekciph);
197
+
198
+ int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
199
+ int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
200
+
201
+ int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
202
+ unsigned int flags);
203
+ CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags);
204
+
205
+ int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);
206
+ const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);
207
+
208
+ CMS_CertificateChoices *CMS_add0_CertificateChoices(CMS_ContentInfo *cms);
209
+ int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);
210
+ int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);
211
+ STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms);
212
+
213
+ CMS_RevocationInfoChoice *CMS_add0_RevocationInfoChoice(CMS_ContentInfo *cms);
214
+ int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl);
215
+ int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl);
216
+ STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms);
217
+
218
+ int CMS_SignedData_init(CMS_ContentInfo *cms);
219
+ CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
220
+ X509 *signer, EVP_PKEY *pk, const EVP_MD *md,
221
+ unsigned int flags);
222
+ EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);
223
+ EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);
224
+ STACK_OF(CMS_SignerInfo) *CMS_get0_SignerInfos(CMS_ContentInfo *cms);
225
+
226
+ void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
227
+ int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,
228
+ ASN1_OCTET_STRING **keyid,
229
+ X509_NAME **issuer, ASN1_INTEGER **sno);
230
+ int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
231
+ int CMS_set1_signers_certs(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
232
+ unsigned int flags);
233
+ void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk,
234
+ X509 **signer, X509_ALGOR **pdig,
235
+ X509_ALGOR **psig);
236
+ ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);
237
+ int CMS_SignerInfo_sign(CMS_SignerInfo *si);
238
+ int CMS_SignerInfo_verify(CMS_SignerInfo *si);
239
+ int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain);
240
+
241
+ int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs);
242
+ int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs,
243
+ int algnid, int keysize);
244
+ int CMS_add_standard_smimecap(STACK_OF(X509_ALGOR) **smcap);
245
+
246
+ int CMS_signed_get_attr_count(const CMS_SignerInfo *si);
247
+ int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
248
+ int lastpos);
249
+ int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj,
250
+ int lastpos);
251
+ X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);
252
+ X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);
253
+ int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
254
+ int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si,
255
+ const ASN1_OBJECT *obj, int type,
256
+ const void *bytes, int len);
257
+ int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si,
258
+ int nid, int type,
259
+ const void *bytes, int len);
260
+ int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si,
261
+ const char *attrname, int type,
262
+ const void *bytes, int len);
263
+ void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid,
264
+ int lastpos, int type);
265
+
266
+ int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si);
267
+ int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
268
+ int lastpos);
269
+ int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si,
270
+ const ASN1_OBJECT *obj, int lastpos);
271
+ X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);
272
+ X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);
273
+ int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
274
+ int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si,
275
+ const ASN1_OBJECT *obj, int type,
276
+ const void *bytes, int len);
277
+ int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si,
278
+ int nid, int type,
279
+ const void *bytes, int len);
280
+ int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si,
281
+ const char *attrname, int type,
282
+ const void *bytes, int len);
283
+ void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid,
284
+ int lastpos, int type);
285
+
286
+ # ifdef HEADER_X509V3_H
287
+
288
+ int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);
289
+ CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,
290
+ int allorfirst,
291
+ STACK_OF(GENERAL_NAMES)
292
+ *receiptList, STACK_OF(GENERAL_NAMES)
293
+ *receiptsTo);
294
+ int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
295
+ void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr,
296
+ ASN1_STRING **pcid,
297
+ int *pallorfirst,
298
+ STACK_OF(GENERAL_NAMES) **plist,
299
+ STACK_OF(GENERAL_NAMES) **prto);
300
+ # endif
301
+ int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,
302
+ X509_ALGOR **palg,
303
+ ASN1_OCTET_STRING **pukm);
304
+ STACK_OF(CMS_RecipientEncryptedKey)
305
+ *CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri);
306
+
307
+ int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri,
308
+ X509_ALGOR **pubalg,
309
+ ASN1_BIT_STRING **pubkey,
310
+ ASN1_OCTET_STRING **keyid,
311
+ X509_NAME **issuer,
312
+ ASN1_INTEGER **sno);
313
+
314
+ int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert);
315
+
316
+ int CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek,
317
+ ASN1_OCTET_STRING **keyid,
318
+ ASN1_GENERALIZEDTIME **tm,
319
+ CMS_OtherKeyAttribute **other,
320
+ X509_NAME **issuer, ASN1_INTEGER **sno);
321
+ int CMS_RecipientEncryptedKey_cert_cmp(CMS_RecipientEncryptedKey *rek,
322
+ X509 *cert);
323
+ int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk);
324
+ EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri);
325
+ int CMS_RecipientInfo_kari_decrypt(CMS_ContentInfo *cms,
326
+ CMS_RecipientInfo *ri,
327
+ CMS_RecipientEncryptedKey *rek);
328
+
329
+ int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
330
+ ASN1_OCTET_STRING *ukm, int keylen);
331
+
332
+ /* BEGIN ERROR CODES */
333
+ /*
334
+ * The following lines are auto generated by the script mkerr.pl. Any changes
335
+ * made after this point may be overwritten when the script is next run.
336
+ */
337
+
338
+ int ERR_load_CMS_strings(void);
339
+
340
+ /* Error codes for the CMS functions. */
341
+
342
+ /* Function codes. */
343
+ # define CMS_F_CHECK_CONTENT 99
344
+ # define CMS_F_CMS_ADD0_CERT 164
345
+ # define CMS_F_CMS_ADD0_RECIPIENT_KEY 100
346
+ # define CMS_F_CMS_ADD0_RECIPIENT_PASSWORD 165
347
+ # define CMS_F_CMS_ADD1_RECEIPTREQUEST 158
348
+ # define CMS_F_CMS_ADD1_RECIPIENT_CERT 101
349
+ # define CMS_F_CMS_ADD1_SIGNER 102
350
+ # define CMS_F_CMS_ADD1_SIGNINGTIME 103
351
+ # define CMS_F_CMS_COMPRESS 104
352
+ # define CMS_F_CMS_COMPRESSEDDATA_CREATE 105
353
+ # define CMS_F_CMS_COMPRESSEDDATA_INIT_BIO 106
354
+ # define CMS_F_CMS_COPY_CONTENT 107
355
+ # define CMS_F_CMS_COPY_MESSAGEDIGEST 108
356
+ # define CMS_F_CMS_DATA 109
357
+ # define CMS_F_CMS_DATAFINAL 110
358
+ # define CMS_F_CMS_DATAINIT 111
359
+ # define CMS_F_CMS_DECRYPT 112
360
+ # define CMS_F_CMS_DECRYPT_SET1_KEY 113
361
+ # define CMS_F_CMS_DECRYPT_SET1_PASSWORD 166
362
+ # define CMS_F_CMS_DECRYPT_SET1_PKEY 114
363
+ # define CMS_F_CMS_DIGESTALGORITHM_FIND_CTX 115
364
+ # define CMS_F_CMS_DIGESTALGORITHM_INIT_BIO 116
365
+ # define CMS_F_CMS_DIGESTEDDATA_DO_FINAL 117
366
+ # define CMS_F_CMS_DIGEST_VERIFY 118
367
+ # define CMS_F_CMS_ENCODE_RECEIPT 161
368
+ # define CMS_F_CMS_ENCRYPT 119
369
+ # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT_BIO 120
370
+ # define CMS_F_CMS_ENCRYPTEDDATA_DECRYPT 121
371
+ # define CMS_F_CMS_ENCRYPTEDDATA_ENCRYPT 122
372
+ # define CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY 123
373
+ # define CMS_F_CMS_ENVELOPEDDATA_CREATE 124
374
+ # define CMS_F_CMS_ENVELOPEDDATA_INIT_BIO 125
375
+ # define CMS_F_CMS_ENVELOPED_DATA_INIT 126
376
+ # define CMS_F_CMS_ENV_ASN1_CTRL 171
377
+ # define CMS_F_CMS_FINAL 127
378
+ # define CMS_F_CMS_GET0_CERTIFICATE_CHOICES 128
379
+ # define CMS_F_CMS_GET0_CONTENT 129
380
+ # define CMS_F_CMS_GET0_ECONTENT_TYPE 130
381
+ # define CMS_F_CMS_GET0_ENVELOPED 131
382
+ # define CMS_F_CMS_GET0_REVOCATION_CHOICES 132
383
+ # define CMS_F_CMS_GET0_SIGNED 133
384
+ # define CMS_F_CMS_MSGSIGDIGEST_ADD1 162
385
+ # define CMS_F_CMS_RECEIPTREQUEST_CREATE0 159
386
+ # define CMS_F_CMS_RECEIPT_VERIFY 160
387
+ # define CMS_F_CMS_RECIPIENTINFO_DECRYPT 134
388
+ # define CMS_F_CMS_RECIPIENTINFO_ENCRYPT 169
389
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_ENCRYPT 178
390
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG 175
391
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID 173
392
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_REKS 172
393
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_ORIG_ID_CMP 174
394
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_DECRYPT 135
395
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ENCRYPT 136
396
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_GET0_ID 137
397
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP 138
398
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_CERT_CMP 139
399
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_DECRYPT 140
400
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_ENCRYPT 141
401
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_ALGS 142
402
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_SIGNER_ID 143
403
+ # define CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT 167
404
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_KEY 144
405
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_PASSWORD 168
406
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_PKEY 145
407
+ # define CMS_F_CMS_SD_ASN1_CTRL 170
408
+ # define CMS_F_CMS_SET1_IAS 176
409
+ # define CMS_F_CMS_SET1_KEYID 177
410
+ # define CMS_F_CMS_SET1_SIGNERIDENTIFIER 146
411
+ # define CMS_F_CMS_SET_DETACHED 147
412
+ # define CMS_F_CMS_SIGN 148
413
+ # define CMS_F_CMS_SIGNED_DATA_INIT 149
414
+ # define CMS_F_CMS_SIGNERINFO_CONTENT_SIGN 150
415
+ # define CMS_F_CMS_SIGNERINFO_SIGN 151
416
+ # define CMS_F_CMS_SIGNERINFO_VERIFY 152
417
+ # define CMS_F_CMS_SIGNERINFO_VERIFY_CERT 153
418
+ # define CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT 154
419
+ # define CMS_F_CMS_SIGN_RECEIPT 163
420
+ # define CMS_F_CMS_STREAM 155
421
+ # define CMS_F_CMS_UNCOMPRESS 156
422
+ # define CMS_F_CMS_VERIFY 157
423
+
424
+ /* Reason codes. */
425
+ # define CMS_R_ADD_SIGNER_ERROR 99
426
+ # define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
427
+ # define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
428
+ # define CMS_R_CERTIFICATE_VERIFY_ERROR 100
429
+ # define CMS_R_CIPHER_INITIALISATION_ERROR 101
430
+ # define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
431
+ # define CMS_R_CMS_DATAFINAL_ERROR 103
432
+ # define CMS_R_CMS_LIB 104
433
+ # define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
434
+ # define CMS_R_CONTENT_NOT_FOUND 105
435
+ # define CMS_R_CONTENT_TYPE_MISMATCH 171
436
+ # define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
437
+ # define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
438
+ # define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
439
+ # define CMS_R_CONTENT_VERIFY_ERROR 109
440
+ # define CMS_R_CTRL_ERROR 110
441
+ # define CMS_R_CTRL_FAILURE 111
442
+ # define CMS_R_DECRYPT_ERROR 112
443
+ # define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
444
+ # define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
445
+ # define CMS_R_ERROR_SETTING_KEY 115
446
+ # define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
447
+ # define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
448
+ # define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
449
+ # define CMS_R_INVALID_KEY_LENGTH 118
450
+ # define CMS_R_MD_BIO_INIT_ERROR 119
451
+ # define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
452
+ # define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
453
+ # define CMS_R_MSGSIGDIGEST_ERROR 172
454
+ # define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
455
+ # define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
456
+ # define CMS_R_NEED_ONE_SIGNER 164
457
+ # define CMS_R_NOT_A_SIGNED_RECEIPT 165
458
+ # define CMS_R_NOT_ENCRYPTED_DATA 122
459
+ # define CMS_R_NOT_KEK 123
460
+ # define CMS_R_NOT_KEY_AGREEMENT 181
461
+ # define CMS_R_NOT_KEY_TRANSPORT 124
462
+ # define CMS_R_NOT_PWRI 177
463
+ # define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
464
+ # define CMS_R_NO_CIPHER 126
465
+ # define CMS_R_NO_CONTENT 127
466
+ # define CMS_R_NO_CONTENT_TYPE 173
467
+ # define CMS_R_NO_DEFAULT_DIGEST 128
468
+ # define CMS_R_NO_DIGEST_SET 129
469
+ # define CMS_R_NO_KEY 130
470
+ # define CMS_R_NO_KEY_OR_CERT 174
471
+ # define CMS_R_NO_MATCHING_DIGEST 131
472
+ # define CMS_R_NO_MATCHING_RECIPIENT 132
473
+ # define CMS_R_NO_MATCHING_SIGNATURE 166
474
+ # define CMS_R_NO_MSGSIGDIGEST 167
475
+ # define CMS_R_NO_PASSWORD 178
476
+ # define CMS_R_NO_PRIVATE_KEY 133
477
+ # define CMS_R_NO_PUBLIC_KEY 134
478
+ # define CMS_R_NO_RECEIPT_REQUEST 168
479
+ # define CMS_R_NO_SIGNERS 135
480
+ # define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
481
+ # define CMS_R_RECEIPT_DECODE_ERROR 169
482
+ # define CMS_R_RECIPIENT_ERROR 137
483
+ # define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
484
+ # define CMS_R_SIGNFINAL_ERROR 139
485
+ # define CMS_R_SMIME_TEXT_ERROR 140
486
+ # define CMS_R_STORE_INIT_ERROR 141
487
+ # define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
488
+ # define CMS_R_TYPE_NOT_DATA 143
489
+ # define CMS_R_TYPE_NOT_DIGESTED_DATA 144
490
+ # define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
491
+ # define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
492
+ # define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
493
+ # define CMS_R_UNKNOWN_CIPHER 148
494
+ # define CMS_R_UNKNOWN_DIGEST_ALGORIHM 149
495
+ # define CMS_R_UNKNOWN_ID 150
496
+ # define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
497
+ # define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
498
+ # define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
499
+ # define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
500
+ # define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
501
+ # define CMS_R_UNSUPPORTED_RECPIENTINFO_TYPE 155
502
+ # define CMS_R_UNSUPPORTED_TYPE 156
503
+ # define CMS_R_UNWRAP_ERROR 157
504
+ # define CMS_R_UNWRAP_FAILURE 180
505
+ # define CMS_R_VERIFICATION_FAILURE 158
506
+ # define CMS_R_WRAP_ERROR 159
507
+
508
+ # ifdef __cplusplus
509
+ }
510
+ # endif
511
+ # endif
512
+ #endif