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,1005 @@
1
+ /*
2
+ * Copyright 1999-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_X509V3_H
11
+ # define HEADER_X509V3_H
12
+
13
+ # include <openssl/bio.h>
14
+ # include <openssl/x509.h>
15
+ # include <openssl/conf.h>
16
+
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
21
+ /* Forward reference */
22
+ struct v3_ext_method;
23
+ struct v3_ext_ctx;
24
+
25
+ /* Useful typedefs */
26
+
27
+ typedef void *(*X509V3_EXT_NEW)(void);
28
+ typedef void (*X509V3_EXT_FREE) (void *);
29
+ typedef void *(*X509V3_EXT_D2I)(void *, const unsigned char **, long);
30
+ typedef int (*X509V3_EXT_I2D) (void *, unsigned char **);
31
+ typedef STACK_OF(CONF_VALUE) *
32
+ (*X509V3_EXT_I2V) (const struct v3_ext_method *method, void *ext,
33
+ STACK_OF(CONF_VALUE) *extlist);
34
+ typedef void *(*X509V3_EXT_V2I)(const struct v3_ext_method *method,
35
+ struct v3_ext_ctx *ctx,
36
+ STACK_OF(CONF_VALUE) *values);
37
+ typedef char *(*X509V3_EXT_I2S)(const struct v3_ext_method *method,
38
+ void *ext);
39
+ typedef void *(*X509V3_EXT_S2I)(const struct v3_ext_method *method,
40
+ struct v3_ext_ctx *ctx, const char *str);
41
+ typedef int (*X509V3_EXT_I2R) (const struct v3_ext_method *method, void *ext,
42
+ BIO *out, int indent);
43
+ typedef void *(*X509V3_EXT_R2I)(const struct v3_ext_method *method,
44
+ struct v3_ext_ctx *ctx, const char *str);
45
+
46
+ /* V3 extension structure */
47
+
48
+ struct v3_ext_method {
49
+ int ext_nid;
50
+ int ext_flags;
51
+ /* If this is set the following four fields are ignored */
52
+ ASN1_ITEM_EXP *it;
53
+ /* Old style ASN1 calls */
54
+ X509V3_EXT_NEW ext_new;
55
+ X509V3_EXT_FREE ext_free;
56
+ X509V3_EXT_D2I d2i;
57
+ X509V3_EXT_I2D i2d;
58
+ /* The following pair is used for string extensions */
59
+ X509V3_EXT_I2S i2s;
60
+ X509V3_EXT_S2I s2i;
61
+ /* The following pair is used for multi-valued extensions */
62
+ X509V3_EXT_I2V i2v;
63
+ X509V3_EXT_V2I v2i;
64
+ /* The following are used for raw extensions */
65
+ X509V3_EXT_I2R i2r;
66
+ X509V3_EXT_R2I r2i;
67
+ void *usr_data; /* Any extension specific data */
68
+ };
69
+
70
+ typedef struct X509V3_CONF_METHOD_st {
71
+ char *(*get_string) (void *db, const char *section, const char *value);
72
+ STACK_OF(CONF_VALUE) *(*get_section) (void *db, const char *section);
73
+ void (*free_string) (void *db, char *string);
74
+ void (*free_section) (void *db, STACK_OF(CONF_VALUE) *section);
75
+ } X509V3_CONF_METHOD;
76
+
77
+ /* Context specific info */
78
+ struct v3_ext_ctx {
79
+ # define CTX_TEST 0x1
80
+ # define X509V3_CTX_REPLACE 0x2
81
+ int flags;
82
+ X509 *issuer_cert;
83
+ X509 *subject_cert;
84
+ X509_REQ *subject_req;
85
+ X509_CRL *crl;
86
+ X509V3_CONF_METHOD *db_meth;
87
+ void *db;
88
+ /* Maybe more here */
89
+ };
90
+
91
+ typedef struct v3_ext_method X509V3_EXT_METHOD;
92
+
93
+ DEFINE_STACK_OF(X509V3_EXT_METHOD)
94
+
95
+ /* ext_flags values */
96
+ # define X509V3_EXT_DYNAMIC 0x1
97
+ # define X509V3_EXT_CTX_DEP 0x2
98
+ # define X509V3_EXT_MULTILINE 0x4
99
+
100
+ typedef BIT_STRING_BITNAME ENUMERATED_NAMES;
101
+
102
+ typedef struct BASIC_CONSTRAINTS_st {
103
+ int ca;
104
+ ASN1_INTEGER *pathlen;
105
+ } BASIC_CONSTRAINTS;
106
+
107
+ typedef struct PKEY_USAGE_PERIOD_st {
108
+ ASN1_GENERALIZEDTIME *notBefore;
109
+ ASN1_GENERALIZEDTIME *notAfter;
110
+ } PKEY_USAGE_PERIOD;
111
+
112
+ typedef struct otherName_st {
113
+ ASN1_OBJECT *type_id;
114
+ ASN1_TYPE *value;
115
+ } OTHERNAME;
116
+
117
+ typedef struct EDIPartyName_st {
118
+ ASN1_STRING *nameAssigner;
119
+ ASN1_STRING *partyName;
120
+ } EDIPARTYNAME;
121
+
122
+ typedef struct GENERAL_NAME_st {
123
+ # define GEN_OTHERNAME 0
124
+ # define GEN_EMAIL 1
125
+ # define GEN_DNS 2
126
+ # define GEN_X400 3
127
+ # define GEN_DIRNAME 4
128
+ # define GEN_EDIPARTY 5
129
+ # define GEN_URI 6
130
+ # define GEN_IPADD 7
131
+ # define GEN_RID 8
132
+ int type;
133
+ union {
134
+ char *ptr;
135
+ OTHERNAME *otherName; /* otherName */
136
+ ASN1_IA5STRING *rfc822Name;
137
+ ASN1_IA5STRING *dNSName;
138
+ ASN1_TYPE *x400Address;
139
+ X509_NAME *directoryName;
140
+ EDIPARTYNAME *ediPartyName;
141
+ ASN1_IA5STRING *uniformResourceIdentifier;
142
+ ASN1_OCTET_STRING *iPAddress;
143
+ ASN1_OBJECT *registeredID;
144
+ /* Old names */
145
+ ASN1_OCTET_STRING *ip; /* iPAddress */
146
+ X509_NAME *dirn; /* dirn */
147
+ ASN1_IA5STRING *ia5; /* rfc822Name, dNSName,
148
+ * uniformResourceIdentifier */
149
+ ASN1_OBJECT *rid; /* registeredID */
150
+ ASN1_TYPE *other; /* x400Address */
151
+ } d;
152
+ } GENERAL_NAME;
153
+
154
+ typedef struct ACCESS_DESCRIPTION_st {
155
+ ASN1_OBJECT *method;
156
+ GENERAL_NAME *location;
157
+ } ACCESS_DESCRIPTION;
158
+
159
+ typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
160
+
161
+ typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
162
+
163
+ typedef STACK_OF(ASN1_INTEGER) TLS_FEATURE;
164
+
165
+ DEFINE_STACK_OF(GENERAL_NAME)
166
+ typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
167
+ DEFINE_STACK_OF(GENERAL_NAMES)
168
+
169
+ DEFINE_STACK_OF(ACCESS_DESCRIPTION)
170
+
171
+ typedef struct DIST_POINT_NAME_st {
172
+ int type;
173
+ union {
174
+ GENERAL_NAMES *fullname;
175
+ STACK_OF(X509_NAME_ENTRY) *relativename;
176
+ } name;
177
+ /* If relativename then this contains the full distribution point name */
178
+ X509_NAME *dpname;
179
+ } DIST_POINT_NAME;
180
+ /* All existing reasons */
181
+ # define CRLDP_ALL_REASONS 0x807f
182
+
183
+ # define CRL_REASON_NONE -1
184
+ # define CRL_REASON_UNSPECIFIED 0
185
+ # define CRL_REASON_KEY_COMPROMISE 1
186
+ # define CRL_REASON_CA_COMPROMISE 2
187
+ # define CRL_REASON_AFFILIATION_CHANGED 3
188
+ # define CRL_REASON_SUPERSEDED 4
189
+ # define CRL_REASON_CESSATION_OF_OPERATION 5
190
+ # define CRL_REASON_CERTIFICATE_HOLD 6
191
+ # define CRL_REASON_REMOVE_FROM_CRL 8
192
+ # define CRL_REASON_PRIVILEGE_WITHDRAWN 9
193
+ # define CRL_REASON_AA_COMPROMISE 10
194
+
195
+ struct DIST_POINT_st {
196
+ DIST_POINT_NAME *distpoint;
197
+ ASN1_BIT_STRING *reasons;
198
+ GENERAL_NAMES *CRLissuer;
199
+ int dp_reasons;
200
+ };
201
+
202
+ typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
203
+
204
+ DEFINE_STACK_OF(DIST_POINT)
205
+
206
+ struct AUTHORITY_KEYID_st {
207
+ ASN1_OCTET_STRING *keyid;
208
+ GENERAL_NAMES *issuer;
209
+ ASN1_INTEGER *serial;
210
+ };
211
+
212
+ /* Strong extranet structures */
213
+
214
+ typedef struct SXNET_ID_st {
215
+ ASN1_INTEGER *zone;
216
+ ASN1_OCTET_STRING *user;
217
+ } SXNETID;
218
+
219
+ DEFINE_STACK_OF(SXNETID)
220
+
221
+ typedef struct SXNET_st {
222
+ ASN1_INTEGER *version;
223
+ STACK_OF(SXNETID) *ids;
224
+ } SXNET;
225
+
226
+ typedef struct NOTICEREF_st {
227
+ ASN1_STRING *organization;
228
+ STACK_OF(ASN1_INTEGER) *noticenos;
229
+ } NOTICEREF;
230
+
231
+ typedef struct USERNOTICE_st {
232
+ NOTICEREF *noticeref;
233
+ ASN1_STRING *exptext;
234
+ } USERNOTICE;
235
+
236
+ typedef struct POLICYQUALINFO_st {
237
+ ASN1_OBJECT *pqualid;
238
+ union {
239
+ ASN1_IA5STRING *cpsuri;
240
+ USERNOTICE *usernotice;
241
+ ASN1_TYPE *other;
242
+ } d;
243
+ } POLICYQUALINFO;
244
+
245
+ DEFINE_STACK_OF(POLICYQUALINFO)
246
+
247
+ typedef struct POLICYINFO_st {
248
+ ASN1_OBJECT *policyid;
249
+ STACK_OF(POLICYQUALINFO) *qualifiers;
250
+ } POLICYINFO;
251
+
252
+ typedef STACK_OF(POLICYINFO) CERTIFICATEPOLICIES;
253
+
254
+ DEFINE_STACK_OF(POLICYINFO)
255
+
256
+ typedef struct POLICY_MAPPING_st {
257
+ ASN1_OBJECT *issuerDomainPolicy;
258
+ ASN1_OBJECT *subjectDomainPolicy;
259
+ } POLICY_MAPPING;
260
+
261
+ DEFINE_STACK_OF(POLICY_MAPPING)
262
+
263
+ typedef STACK_OF(POLICY_MAPPING) POLICY_MAPPINGS;
264
+
265
+ typedef struct GENERAL_SUBTREE_st {
266
+ GENERAL_NAME *base;
267
+ ASN1_INTEGER *minimum;
268
+ ASN1_INTEGER *maximum;
269
+ } GENERAL_SUBTREE;
270
+
271
+ DEFINE_STACK_OF(GENERAL_SUBTREE)
272
+
273
+ struct NAME_CONSTRAINTS_st {
274
+ STACK_OF(GENERAL_SUBTREE) *permittedSubtrees;
275
+ STACK_OF(GENERAL_SUBTREE) *excludedSubtrees;
276
+ };
277
+
278
+ typedef struct POLICY_CONSTRAINTS_st {
279
+ ASN1_INTEGER *requireExplicitPolicy;
280
+ ASN1_INTEGER *inhibitPolicyMapping;
281
+ } POLICY_CONSTRAINTS;
282
+
283
+ /* Proxy certificate structures, see RFC 3820 */
284
+ typedef struct PROXY_POLICY_st {
285
+ ASN1_OBJECT *policyLanguage;
286
+ ASN1_OCTET_STRING *policy;
287
+ } PROXY_POLICY;
288
+
289
+ typedef struct PROXY_CERT_INFO_EXTENSION_st {
290
+ ASN1_INTEGER *pcPathLengthConstraint;
291
+ PROXY_POLICY *proxyPolicy;
292
+ } PROXY_CERT_INFO_EXTENSION;
293
+
294
+ DECLARE_ASN1_FUNCTIONS(PROXY_POLICY)
295
+ DECLARE_ASN1_FUNCTIONS(PROXY_CERT_INFO_EXTENSION)
296
+
297
+ struct ISSUING_DIST_POINT_st {
298
+ DIST_POINT_NAME *distpoint;
299
+ int onlyuser;
300
+ int onlyCA;
301
+ ASN1_BIT_STRING *onlysomereasons;
302
+ int indirectCRL;
303
+ int onlyattr;
304
+ };
305
+
306
+ /* Values in idp_flags field */
307
+ /* IDP present */
308
+ # define IDP_PRESENT 0x1
309
+ /* IDP values inconsistent */
310
+ # define IDP_INVALID 0x2
311
+ /* onlyuser true */
312
+ # define IDP_ONLYUSER 0x4
313
+ /* onlyCA true */
314
+ # define IDP_ONLYCA 0x8
315
+ /* onlyattr true */
316
+ # define IDP_ONLYATTR 0x10
317
+ /* indirectCRL true */
318
+ # define IDP_INDIRECT 0x20
319
+ /* onlysomereasons present */
320
+ # define IDP_REASONS 0x40
321
+
322
+ # define X509V3_conf_err(val) ERR_add_error_data(6, "section:", val->section, \
323
+ ",name:", val->name, ",value:", val->value);
324
+
325
+ # define X509V3_set_ctx_test(ctx) \
326
+ X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)
327
+ # define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL;
328
+
329
+ # define EXT_BITSTRING(nid, table) { nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \
330
+ 0,0,0,0, \
331
+ 0,0, \
332
+ (X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \
333
+ (X509V3_EXT_V2I)v2i_ASN1_BIT_STRING, \
334
+ NULL, NULL, \
335
+ table}
336
+
337
+ # define EXT_IA5STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \
338
+ 0,0,0,0, \
339
+ (X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \
340
+ (X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \
341
+ 0,0,0,0, \
342
+ NULL}
343
+
344
+ # define EXT_END { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
345
+
346
+ /* X509_PURPOSE stuff */
347
+
348
+ # define EXFLAG_BCONS 0x1
349
+ # define EXFLAG_KUSAGE 0x2
350
+ # define EXFLAG_XKUSAGE 0x4
351
+ # define EXFLAG_NSCERT 0x8
352
+
353
+ # define EXFLAG_CA 0x10
354
+ /* Really self issued not necessarily self signed */
355
+ # define EXFLAG_SI 0x20
356
+ # define EXFLAG_V1 0x40
357
+ # define EXFLAG_INVALID 0x80
358
+ # define EXFLAG_SET 0x100
359
+ # define EXFLAG_CRITICAL 0x200
360
+ # define EXFLAG_PROXY 0x400
361
+
362
+ # define EXFLAG_INVALID_POLICY 0x800
363
+ # define EXFLAG_FRESHEST 0x1000
364
+ /* Self signed */
365
+ # define EXFLAG_SS 0x2000
366
+
367
+ # define KU_DIGITAL_SIGNATURE 0x0080
368
+ # define KU_NON_REPUDIATION 0x0040
369
+ # define KU_KEY_ENCIPHERMENT 0x0020
370
+ # define KU_DATA_ENCIPHERMENT 0x0010
371
+ # define KU_KEY_AGREEMENT 0x0008
372
+ # define KU_KEY_CERT_SIGN 0x0004
373
+ # define KU_CRL_SIGN 0x0002
374
+ # define KU_ENCIPHER_ONLY 0x0001
375
+ # define KU_DECIPHER_ONLY 0x8000
376
+
377
+ # define NS_SSL_CLIENT 0x80
378
+ # define NS_SSL_SERVER 0x40
379
+ # define NS_SMIME 0x20
380
+ # define NS_OBJSIGN 0x10
381
+ # define NS_SSL_CA 0x04
382
+ # define NS_SMIME_CA 0x02
383
+ # define NS_OBJSIGN_CA 0x01
384
+ # define NS_ANY_CA (NS_SSL_CA|NS_SMIME_CA|NS_OBJSIGN_CA)
385
+
386
+ # define XKU_SSL_SERVER 0x1
387
+ # define XKU_SSL_CLIENT 0x2
388
+ # define XKU_SMIME 0x4
389
+ # define XKU_CODE_SIGN 0x8
390
+ # define XKU_SGC 0x10
391
+ # define XKU_OCSP_SIGN 0x20
392
+ # define XKU_TIMESTAMP 0x40
393
+ # define XKU_DVCS 0x80
394
+ # define XKU_ANYEKU 0x100
395
+
396
+ # define X509_PURPOSE_DYNAMIC 0x1
397
+ # define X509_PURPOSE_DYNAMIC_NAME 0x2
398
+
399
+ typedef struct x509_purpose_st {
400
+ int purpose;
401
+ int trust; /* Default trust ID */
402
+ int flags;
403
+ int (*check_purpose) (const struct x509_purpose_st *, const X509 *, int);
404
+ char *name;
405
+ char *sname;
406
+ void *usr_data;
407
+ } X509_PURPOSE;
408
+
409
+ # define X509_PURPOSE_SSL_CLIENT 1
410
+ # define X509_PURPOSE_SSL_SERVER 2
411
+ # define X509_PURPOSE_NS_SSL_SERVER 3
412
+ # define X509_PURPOSE_SMIME_SIGN 4
413
+ # define X509_PURPOSE_SMIME_ENCRYPT 5
414
+ # define X509_PURPOSE_CRL_SIGN 6
415
+ # define X509_PURPOSE_ANY 7
416
+ # define X509_PURPOSE_OCSP_HELPER 8
417
+ # define X509_PURPOSE_TIMESTAMP_SIGN 9
418
+
419
+ # define X509_PURPOSE_MIN 1
420
+ # define X509_PURPOSE_MAX 9
421
+
422
+ /* Flags for X509V3_EXT_print() */
423
+
424
+ # define X509V3_EXT_UNKNOWN_MASK (0xfL << 16)
425
+ /* Return error for unknown extensions */
426
+ # define X509V3_EXT_DEFAULT 0
427
+ /* Print error for unknown extensions */
428
+ # define X509V3_EXT_ERROR_UNKNOWN (1L << 16)
429
+ /* ASN1 parse unknown extensions */
430
+ # define X509V3_EXT_PARSE_UNKNOWN (2L << 16)
431
+ /* BIO_dump unknown extensions */
432
+ # define X509V3_EXT_DUMP_UNKNOWN (3L << 16)
433
+
434
+ /* Flags for X509V3_add1_i2d */
435
+
436
+ # define X509V3_ADD_OP_MASK 0xfL
437
+ # define X509V3_ADD_DEFAULT 0L
438
+ # define X509V3_ADD_APPEND 1L
439
+ # define X509V3_ADD_REPLACE 2L
440
+ # define X509V3_ADD_REPLACE_EXISTING 3L
441
+ # define X509V3_ADD_KEEP_EXISTING 4L
442
+ # define X509V3_ADD_DELETE 5L
443
+ # define X509V3_ADD_SILENT 0x10
444
+
445
+ DEFINE_STACK_OF(X509_PURPOSE)
446
+
447
+ DECLARE_ASN1_FUNCTIONS(BASIC_CONSTRAINTS)
448
+
449
+ DECLARE_ASN1_FUNCTIONS(SXNET)
450
+ DECLARE_ASN1_FUNCTIONS(SXNETID)
451
+
452
+ int SXNET_add_id_asc(SXNET **psx, const char *zone, const char *user, int userlen);
453
+ int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, const char *user,
454
+ int userlen);
455
+ int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *izone, const char *user,
456
+ int userlen);
457
+
458
+ ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, const char *zone);
459
+ ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone);
460
+ ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone);
461
+
462
+ DECLARE_ASN1_FUNCTIONS(AUTHORITY_KEYID)
463
+
464
+ DECLARE_ASN1_FUNCTIONS(PKEY_USAGE_PERIOD)
465
+
466
+ DECLARE_ASN1_FUNCTIONS(GENERAL_NAME)
467
+ GENERAL_NAME *GENERAL_NAME_dup(GENERAL_NAME *a);
468
+ int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b);
469
+
470
+ ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
471
+ X509V3_CTX *ctx,
472
+ STACK_OF(CONF_VALUE) *nval);
473
+ STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
474
+ ASN1_BIT_STRING *bits,
475
+ STACK_OF(CONF_VALUE) *extlist);
476
+ char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
477
+ ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
478
+ X509V3_CTX *ctx, const char *str);
479
+
480
+ STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
481
+ GENERAL_NAME *gen,
482
+ STACK_OF(CONF_VALUE) *ret);
483
+ int GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen);
484
+
485
+ DECLARE_ASN1_FUNCTIONS(GENERAL_NAMES)
486
+
487
+ STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
488
+ GENERAL_NAMES *gen,
489
+ STACK_OF(CONF_VALUE) *extlist);
490
+ GENERAL_NAMES *v2i_GENERAL_NAMES(const X509V3_EXT_METHOD *method,
491
+ X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
492
+
493
+ DECLARE_ASN1_FUNCTIONS(OTHERNAME)
494
+ DECLARE_ASN1_FUNCTIONS(EDIPARTYNAME)
495
+ int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b);
496
+ void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value);
497
+ void *GENERAL_NAME_get0_value(GENERAL_NAME *a, int *ptype);
498
+ int GENERAL_NAME_set0_othername(GENERAL_NAME *gen,
499
+ ASN1_OBJECT *oid, ASN1_TYPE *value);
500
+ int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen,
501
+ ASN1_OBJECT **poid, ASN1_TYPE **pvalue);
502
+
503
+ char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
504
+ const ASN1_OCTET_STRING *ia5);
505
+ ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
506
+ X509V3_CTX *ctx, const char *str);
507
+
508
+ DECLARE_ASN1_FUNCTIONS(EXTENDED_KEY_USAGE)
509
+ int i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION *a);
510
+
511
+ DECLARE_ASN1_ALLOC_FUNCTIONS(TLS_FEATURE)
512
+
513
+ DECLARE_ASN1_FUNCTIONS(CERTIFICATEPOLICIES)
514
+ DECLARE_ASN1_FUNCTIONS(POLICYINFO)
515
+ DECLARE_ASN1_FUNCTIONS(POLICYQUALINFO)
516
+ DECLARE_ASN1_FUNCTIONS(USERNOTICE)
517
+ DECLARE_ASN1_FUNCTIONS(NOTICEREF)
518
+
519
+ DECLARE_ASN1_FUNCTIONS(CRL_DIST_POINTS)
520
+ DECLARE_ASN1_FUNCTIONS(DIST_POINT)
521
+ DECLARE_ASN1_FUNCTIONS(DIST_POINT_NAME)
522
+ DECLARE_ASN1_FUNCTIONS(ISSUING_DIST_POINT)
523
+
524
+ int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
525
+
526
+ int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc);
527
+ int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc);
528
+
529
+ DECLARE_ASN1_FUNCTIONS(ACCESS_DESCRIPTION)
530
+ DECLARE_ASN1_FUNCTIONS(AUTHORITY_INFO_ACCESS)
531
+
532
+ DECLARE_ASN1_ITEM(POLICY_MAPPING)
533
+ DECLARE_ASN1_ALLOC_FUNCTIONS(POLICY_MAPPING)
534
+ DECLARE_ASN1_ITEM(POLICY_MAPPINGS)
535
+
536
+ DECLARE_ASN1_ITEM(GENERAL_SUBTREE)
537
+ DECLARE_ASN1_ALLOC_FUNCTIONS(GENERAL_SUBTREE)
538
+
539
+ DECLARE_ASN1_ITEM(NAME_CONSTRAINTS)
540
+ DECLARE_ASN1_ALLOC_FUNCTIONS(NAME_CONSTRAINTS)
541
+
542
+ DECLARE_ASN1_ALLOC_FUNCTIONS(POLICY_CONSTRAINTS)
543
+ DECLARE_ASN1_ITEM(POLICY_CONSTRAINTS)
544
+
545
+ GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out,
546
+ const X509V3_EXT_METHOD *method,
547
+ X509V3_CTX *ctx, int gen_type,
548
+ const char *value, int is_nc);
549
+
550
+ # ifdef HEADER_CONF_H
551
+ GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method,
552
+ X509V3_CTX *ctx, CONF_VALUE *cnf);
553
+ GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out,
554
+ const X509V3_EXT_METHOD *method,
555
+ X509V3_CTX *ctx, CONF_VALUE *cnf,
556
+ int is_nc);
557
+ void X509V3_conf_free(CONF_VALUE *val);
558
+
559
+ X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid,
560
+ const char *value);
561
+ X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name,
562
+ const char *value);
563
+ int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section,
564
+ STACK_OF(X509_EXTENSION) **sk);
565
+ int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
566
+ X509 *cert);
567
+ int X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
568
+ X509_REQ *req);
569
+ int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section,
570
+ X509_CRL *crl);
571
+
572
+ X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
573
+ X509V3_CTX *ctx, int ext_nid,
574
+ const char *value);
575
+ X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
576
+ const char *name, const char *value);
577
+ int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
578
+ const char *section, X509 *cert);
579
+ int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
580
+ const char *section, X509_REQ *req);
581
+ int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
582
+ const char *section, X509_CRL *crl);
583
+
584
+ int X509V3_add_value_bool_nf(const char *name, int asn1_bool,
585
+ STACK_OF(CONF_VALUE) **extlist);
586
+ int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool);
587
+ int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint);
588
+ void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf);
589
+ void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
590
+ # endif
591
+
592
+ char *X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section);
593
+ STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section);
594
+ void X509V3_string_free(X509V3_CTX *ctx, char *str);
595
+ void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section);
596
+ void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,
597
+ X509_REQ *req, X509_CRL *crl, int flags);
598
+
599
+ int X509V3_add_value(const char *name, const char *value,
600
+ STACK_OF(CONF_VALUE) **extlist);
601
+ int X509V3_add_value_uchar(const char *name, const unsigned char *value,
602
+ STACK_OF(CONF_VALUE) **extlist);
603
+ int X509V3_add_value_bool(const char *name, int asn1_bool,
604
+ STACK_OF(CONF_VALUE) **extlist);
605
+ int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint,
606
+ STACK_OF(CONF_VALUE) **extlist);
607
+ char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const ASN1_INTEGER *aint);
608
+ ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, const char *value);
609
+ char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, const ASN1_ENUMERATED *aint);
610
+ char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth,
611
+ const ASN1_ENUMERATED *aint);
612
+ int X509V3_EXT_add(X509V3_EXT_METHOD *ext);
613
+ int X509V3_EXT_add_list(X509V3_EXT_METHOD *extlist);
614
+ int X509V3_EXT_add_alias(int nid_to, int nid_from);
615
+ void X509V3_EXT_cleanup(void);
616
+
617
+ const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
618
+ const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid);
619
+ int X509V3_add_standard_extensions(void);
620
+ STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line);
621
+ void *X509V3_EXT_d2i(X509_EXTENSION *ext);
622
+ void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
623
+ int *idx);
624
+
625
+ X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
626
+ int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
627
+ int crit, unsigned long flags);
628
+
629
+ #if OPENSSL_API_COMPAT < 0x10100000L
630
+ /* The new declarations are in crypto.h, but the old ones were here. */
631
+ # define hex_to_string OPENSSL_buf2hexstr
632
+ # define string_to_hex OPENSSL_hexstr2buf
633
+ #endif
634
+
635
+ void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent,
636
+ int ml);
637
+ int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag,
638
+ int indent);
639
+ #ifndef OPENSSL_NO_STDIO
640
+ int X509V3_EXT_print_fp(FILE *out, X509_EXTENSION *ext, int flag, int indent);
641
+ #endif
642
+ int X509V3_extensions_print(BIO *out, const char *title,
643
+ const STACK_OF(X509_EXTENSION) *exts,
644
+ unsigned long flag, int indent);
645
+
646
+ int X509_check_ca(X509 *x);
647
+ int X509_check_purpose(X509 *x, int id, int ca);
648
+ int X509_supported_extension(X509_EXTENSION *ex);
649
+ int X509_PURPOSE_set(int *p, int purpose);
650
+ int X509_check_issued(X509 *issuer, X509 *subject);
651
+ int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid);
652
+ void X509_set_proxy_flag(X509 *x);
653
+ void X509_set_proxy_pathlen(X509 *x, long l);
654
+ long X509_get_proxy_pathlen(X509 *x);
655
+
656
+ uint32_t X509_get_extension_flags(X509 *x);
657
+ uint32_t X509_get_key_usage(X509 *x);
658
+ uint32_t X509_get_extended_key_usage(X509 *x);
659
+ const ASN1_OCTET_STRING *X509_get0_subject_key_id(X509 *x);
660
+
661
+ int X509_PURPOSE_get_count(void);
662
+ X509_PURPOSE *X509_PURPOSE_get0(int idx);
663
+ int X509_PURPOSE_get_by_sname(const char *sname);
664
+ int X509_PURPOSE_get_by_id(int id);
665
+ int X509_PURPOSE_add(int id, int trust, int flags,
666
+ int (*ck) (const X509_PURPOSE *, const X509 *, int),
667
+ const char *name, const char *sname, void *arg);
668
+ char *X509_PURPOSE_get0_name(const X509_PURPOSE *xp);
669
+ char *X509_PURPOSE_get0_sname(const X509_PURPOSE *xp);
670
+ int X509_PURPOSE_get_trust(const X509_PURPOSE *xp);
671
+ void X509_PURPOSE_cleanup(void);
672
+ int X509_PURPOSE_get_id(const X509_PURPOSE *);
673
+
674
+ STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
675
+ STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x);
676
+ void X509_email_free(STACK_OF(OPENSSL_STRING) *sk);
677
+ STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x);
678
+ /* Flags for X509_check_* functions */
679
+
680
+ /*
681
+ * Always check subject name for host match even if subject alt names present
682
+ */
683
+ # define X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT 0x1
684
+ /* Disable wildcard matching for dnsName fields and common name. */
685
+ # define X509_CHECK_FLAG_NO_WILDCARDS 0x2
686
+ /* Wildcards must not match a partial label. */
687
+ # define X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS 0x4
688
+ /* Allow (non-partial) wildcards to match multiple labels. */
689
+ # define X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS 0x8
690
+ /* Constraint verifier subdomain patterns to match a single labels. */
691
+ # define X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS 0x10
692
+ /* Never check the subject CN */
693
+ # define X509_CHECK_FLAG_NEVER_CHECK_SUBJECT 0x20
694
+ /*
695
+ * Match reference identifiers starting with "." to any sub-domain.
696
+ * This is a non-public flag, turned on implicitly when the subject
697
+ * reference identity is a DNS name.
698
+ */
699
+ # define _X509_CHECK_FLAG_DOT_SUBDOMAINS 0x8000
700
+
701
+ int X509_check_host(X509 *x, const char *chk, size_t chklen,
702
+ unsigned int flags, char **peername);
703
+ int X509_check_email(X509 *x, const char *chk, size_t chklen,
704
+ unsigned int flags);
705
+ int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,
706
+ unsigned int flags);
707
+ int X509_check_ip_asc(X509 *x, const char *ipasc, unsigned int flags);
708
+
709
+ ASN1_OCTET_STRING *a2i_IPADDRESS(const char *ipasc);
710
+ ASN1_OCTET_STRING *a2i_IPADDRESS_NC(const char *ipasc);
711
+ int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk,
712
+ unsigned long chtype);
713
+
714
+ void X509_POLICY_NODE_print(BIO *out, X509_POLICY_NODE *node, int indent);
715
+ DEFINE_STACK_OF(X509_POLICY_NODE)
716
+
717
+ #ifndef OPENSSL_NO_RFC3779
718
+ typedef struct ASRange_st {
719
+ ASN1_INTEGER *min, *max;
720
+ } ASRange;
721
+
722
+ # define ASIdOrRange_id 0
723
+ # define ASIdOrRange_range 1
724
+
725
+ typedef struct ASIdOrRange_st {
726
+ int type;
727
+ union {
728
+ ASN1_INTEGER *id;
729
+ ASRange *range;
730
+ } u;
731
+ } ASIdOrRange;
732
+
733
+ typedef STACK_OF(ASIdOrRange) ASIdOrRanges;
734
+ DEFINE_STACK_OF(ASIdOrRange)
735
+
736
+ # define ASIdentifierChoice_inherit 0
737
+ # define ASIdentifierChoice_asIdsOrRanges 1
738
+
739
+ typedef struct ASIdentifierChoice_st {
740
+ int type;
741
+ union {
742
+ ASN1_NULL *inherit;
743
+ ASIdOrRanges *asIdsOrRanges;
744
+ } u;
745
+ } ASIdentifierChoice;
746
+
747
+ typedef struct ASIdentifiers_st {
748
+ ASIdentifierChoice *asnum, *rdi;
749
+ } ASIdentifiers;
750
+
751
+ DECLARE_ASN1_FUNCTIONS(ASRange)
752
+ DECLARE_ASN1_FUNCTIONS(ASIdOrRange)
753
+ DECLARE_ASN1_FUNCTIONS(ASIdentifierChoice)
754
+ DECLARE_ASN1_FUNCTIONS(ASIdentifiers)
755
+
756
+ typedef struct IPAddressRange_st {
757
+ ASN1_BIT_STRING *min, *max;
758
+ } IPAddressRange;
759
+
760
+ # define IPAddressOrRange_addressPrefix 0
761
+ # define IPAddressOrRange_addressRange 1
762
+
763
+ typedef struct IPAddressOrRange_st {
764
+ int type;
765
+ union {
766
+ ASN1_BIT_STRING *addressPrefix;
767
+ IPAddressRange *addressRange;
768
+ } u;
769
+ } IPAddressOrRange;
770
+
771
+ typedef STACK_OF(IPAddressOrRange) IPAddressOrRanges;
772
+ DEFINE_STACK_OF(IPAddressOrRange)
773
+
774
+ # define IPAddressChoice_inherit 0
775
+ # define IPAddressChoice_addressesOrRanges 1
776
+
777
+ typedef struct IPAddressChoice_st {
778
+ int type;
779
+ union {
780
+ ASN1_NULL *inherit;
781
+ IPAddressOrRanges *addressesOrRanges;
782
+ } u;
783
+ } IPAddressChoice;
784
+
785
+ typedef struct IPAddressFamily_st {
786
+ ASN1_OCTET_STRING *addressFamily;
787
+ IPAddressChoice *ipAddressChoice;
788
+ } IPAddressFamily;
789
+
790
+ typedef STACK_OF(IPAddressFamily) IPAddrBlocks;
791
+ DEFINE_STACK_OF(IPAddressFamily)
792
+
793
+ DECLARE_ASN1_FUNCTIONS(IPAddressRange)
794
+ DECLARE_ASN1_FUNCTIONS(IPAddressOrRange)
795
+ DECLARE_ASN1_FUNCTIONS(IPAddressChoice)
796
+ DECLARE_ASN1_FUNCTIONS(IPAddressFamily)
797
+
798
+ /*
799
+ * API tag for elements of the ASIdentifer SEQUENCE.
800
+ */
801
+ # define V3_ASID_ASNUM 0
802
+ # define V3_ASID_RDI 1
803
+
804
+ /*
805
+ * AFI values, assigned by IANA. It'd be nice to make the AFI
806
+ * handling code totally generic, but there are too many little things
807
+ * that would need to be defined for other address families for it to
808
+ * be worth the trouble.
809
+ */
810
+ # define IANA_AFI_IPV4 1
811
+ # define IANA_AFI_IPV6 2
812
+
813
+ /*
814
+ * Utilities to construct and extract values from RFC3779 extensions,
815
+ * since some of the encodings (particularly for IP address prefixes
816
+ * and ranges) are a bit tedious to work with directly.
817
+ */
818
+ int X509v3_asid_add_inherit(ASIdentifiers *asid, int which);
819
+ int X509v3_asid_add_id_or_range(ASIdentifiers *asid, int which,
820
+ ASN1_INTEGER *min, ASN1_INTEGER *max);
821
+ int X509v3_addr_add_inherit(IPAddrBlocks *addr,
822
+ const unsigned afi, const unsigned *safi);
823
+ int X509v3_addr_add_prefix(IPAddrBlocks *addr,
824
+ const unsigned afi, const unsigned *safi,
825
+ unsigned char *a, const int prefixlen);
826
+ int X509v3_addr_add_range(IPAddrBlocks *addr,
827
+ const unsigned afi, const unsigned *safi,
828
+ unsigned char *min, unsigned char *max);
829
+ unsigned X509v3_addr_get_afi(const IPAddressFamily *f);
830
+ int X509v3_addr_get_range(IPAddressOrRange *aor, const unsigned afi,
831
+ unsigned char *min, unsigned char *max,
832
+ const int length);
833
+
834
+ /*
835
+ * Canonical forms.
836
+ */
837
+ int X509v3_asid_is_canonical(ASIdentifiers *asid);
838
+ int X509v3_addr_is_canonical(IPAddrBlocks *addr);
839
+ int X509v3_asid_canonize(ASIdentifiers *asid);
840
+ int X509v3_addr_canonize(IPAddrBlocks *addr);
841
+
842
+ /*
843
+ * Tests for inheritance and containment.
844
+ */
845
+ int X509v3_asid_inherits(ASIdentifiers *asid);
846
+ int X509v3_addr_inherits(IPAddrBlocks *addr);
847
+ int X509v3_asid_subset(ASIdentifiers *a, ASIdentifiers *b);
848
+ int X509v3_addr_subset(IPAddrBlocks *a, IPAddrBlocks *b);
849
+
850
+ /*
851
+ * Check whether RFC 3779 extensions nest properly in chains.
852
+ */
853
+ int X509v3_asid_validate_path(X509_STORE_CTX *);
854
+ int X509v3_addr_validate_path(X509_STORE_CTX *);
855
+ int X509v3_asid_validate_resource_set(STACK_OF(X509) *chain,
856
+ ASIdentifiers *ext,
857
+ int allow_inheritance);
858
+ int X509v3_addr_validate_resource_set(STACK_OF(X509) *chain,
859
+ IPAddrBlocks *ext, int allow_inheritance);
860
+
861
+ #endif /* OPENSSL_NO_RFC3779 */
862
+
863
+ /* BEGIN ERROR CODES */
864
+ /*
865
+ * The following lines are auto generated by the script mkerr.pl. Any changes
866
+ * made after this point may be overwritten when the script is next run.
867
+ */
868
+
869
+ int ERR_load_X509V3_strings(void);
870
+
871
+ /* Error codes for the X509V3 functions. */
872
+
873
+ /* Function codes. */
874
+ # define X509V3_F_A2I_GENERAL_NAME 164
875
+ # define X509V3_F_ADDR_VALIDATE_PATH_INTERNAL 166
876
+ # define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE 161
877
+ # define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL 162
878
+ # define X509V3_F_COPY_EMAIL 122
879
+ # define X509V3_F_COPY_ISSUER 123
880
+ # define X509V3_F_DO_DIRNAME 144
881
+ # define X509V3_F_DO_EXT_I2D 135
882
+ # define X509V3_F_DO_EXT_NCONF 151
883
+ # define X509V3_F_GNAMES_FROM_SECTNAME 156
884
+ # define X509V3_F_I2S_ASN1_ENUMERATED 121
885
+ # define X509V3_F_I2S_ASN1_IA5STRING 149
886
+ # define X509V3_F_I2S_ASN1_INTEGER 120
887
+ # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 138
888
+ # define X509V3_F_NOTICE_SECTION 132
889
+ # define X509V3_F_NREF_NOS 133
890
+ # define X509V3_F_POLICY_SECTION 131
891
+ # define X509V3_F_PROCESS_PCI_VALUE 150
892
+ # define X509V3_F_R2I_CERTPOL 130
893
+ # define X509V3_F_R2I_PCI 155
894
+ # define X509V3_F_S2I_ASN1_IA5STRING 100
895
+ # define X509V3_F_S2I_ASN1_INTEGER 108
896
+ # define X509V3_F_S2I_ASN1_OCTET_STRING 112
897
+ # define X509V3_F_S2I_SKEY_ID 115
898
+ # define X509V3_F_SET_DIST_POINT_NAME 158
899
+ # define X509V3_F_SXNET_ADD_ID_ASC 125
900
+ # define X509V3_F_SXNET_ADD_ID_INTEGER 126
901
+ # define X509V3_F_SXNET_ADD_ID_ULONG 127
902
+ # define X509V3_F_SXNET_GET_ID_ASC 128
903
+ # define X509V3_F_SXNET_GET_ID_ULONG 129
904
+ # define X509V3_F_V2I_ASIDENTIFIERS 163
905
+ # define X509V3_F_V2I_ASN1_BIT_STRING 101
906
+ # define X509V3_F_V2I_AUTHORITY_INFO_ACCESS 139
907
+ # define X509V3_F_V2I_AUTHORITY_KEYID 119
908
+ # define X509V3_F_V2I_BASIC_CONSTRAINTS 102
909
+ # define X509V3_F_V2I_CRLD 134
910
+ # define X509V3_F_V2I_EXTENDED_KEY_USAGE 103
911
+ # define X509V3_F_V2I_GENERAL_NAMES 118
912
+ # define X509V3_F_V2I_GENERAL_NAME_EX 117
913
+ # define X509V3_F_V2I_IDP 157
914
+ # define X509V3_F_V2I_IPADDRBLOCKS 159
915
+ # define X509V3_F_V2I_ISSUER_ALT 153
916
+ # define X509V3_F_V2I_NAME_CONSTRAINTS 147
917
+ # define X509V3_F_V2I_POLICY_CONSTRAINTS 146
918
+ # define X509V3_F_V2I_POLICY_MAPPINGS 145
919
+ # define X509V3_F_V2I_SUBJECT_ALT 154
920
+ # define X509V3_F_V2I_TLS_FEATURE 165
921
+ # define X509V3_F_V3_GENERIC_EXTENSION 116
922
+ # define X509V3_F_X509V3_ADD1_I2D 140
923
+ # define X509V3_F_X509V3_ADD_VALUE 105
924
+ # define X509V3_F_X509V3_EXT_ADD 104
925
+ # define X509V3_F_X509V3_EXT_ADD_ALIAS 106
926
+ # define X509V3_F_X509V3_EXT_I2D 136
927
+ # define X509V3_F_X509V3_EXT_NCONF 152
928
+ # define X509V3_F_X509V3_GET_SECTION 142
929
+ # define X509V3_F_X509V3_GET_STRING 143
930
+ # define X509V3_F_X509V3_GET_VALUE_BOOL 110
931
+ # define X509V3_F_X509V3_PARSE_LIST 109
932
+ # define X509V3_F_X509_PURPOSE_ADD 137
933
+ # define X509V3_F_X509_PURPOSE_SET 141
934
+
935
+ /* Reason codes. */
936
+ # define X509V3_R_BAD_IP_ADDRESS 118
937
+ # define X509V3_R_BAD_OBJECT 119
938
+ # define X509V3_R_BN_DEC2BN_ERROR 100
939
+ # define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101
940
+ # define X509V3_R_DIRNAME_ERROR 149
941
+ # define X509V3_R_DISTPOINT_ALREADY_SET 160
942
+ # define X509V3_R_DUPLICATE_ZONE_ID 133
943
+ # define X509V3_R_ERROR_CONVERTING_ZONE 131
944
+ # define X509V3_R_ERROR_CREATING_EXTENSION 144
945
+ # define X509V3_R_ERROR_IN_EXTENSION 128
946
+ # define X509V3_R_EXPECTED_A_SECTION_NAME 137
947
+ # define X509V3_R_EXTENSION_EXISTS 145
948
+ # define X509V3_R_EXTENSION_NAME_ERROR 115
949
+ # define X509V3_R_EXTENSION_NOT_FOUND 102
950
+ # define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103
951
+ # define X509V3_R_EXTENSION_VALUE_ERROR 116
952
+ # define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151
953
+ # define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152
954
+ # define X509V3_R_INVALID_ASNUMBER 162
955
+ # define X509V3_R_INVALID_ASRANGE 163
956
+ # define X509V3_R_INVALID_BOOLEAN_STRING 104
957
+ # define X509V3_R_INVALID_EXTENSION_STRING 105
958
+ # define X509V3_R_INVALID_INHERITANCE 165
959
+ # define X509V3_R_INVALID_IPADDRESS 166
960
+ # define X509V3_R_INVALID_MULTIPLE_RDNS 161
961
+ # define X509V3_R_INVALID_NAME 106
962
+ # define X509V3_R_INVALID_NULL_ARGUMENT 107
963
+ # define X509V3_R_INVALID_NULL_NAME 108
964
+ # define X509V3_R_INVALID_NULL_VALUE 109
965
+ # define X509V3_R_INVALID_NUMBER 140
966
+ # define X509V3_R_INVALID_NUMBERS 141
967
+ # define X509V3_R_INVALID_OBJECT_IDENTIFIER 110
968
+ # define X509V3_R_INVALID_OPTION 138
969
+ # define X509V3_R_INVALID_POLICY_IDENTIFIER 134
970
+ # define X509V3_R_INVALID_PROXY_POLICY_SETTING 153
971
+ # define X509V3_R_INVALID_PURPOSE 146
972
+ # define X509V3_R_INVALID_SAFI 164
973
+ # define X509V3_R_INVALID_SECTION 135
974
+ # define X509V3_R_INVALID_SYNTAX 143
975
+ # define X509V3_R_ISSUER_DECODE_ERROR 126
976
+ # define X509V3_R_MISSING_VALUE 124
977
+ # define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142
978
+ # define X509V3_R_NO_CONFIG_DATABASE 136
979
+ # define X509V3_R_NO_ISSUER_CERTIFICATE 121
980
+ # define X509V3_R_NO_ISSUER_DETAILS 127
981
+ # define X509V3_R_NO_POLICY_IDENTIFIER 139
982
+ # define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154
983
+ # define X509V3_R_NO_PUBLIC_KEY 114
984
+ # define X509V3_R_NO_SUBJECT_DETAILS 125
985
+ # define X509V3_R_OPERATION_NOT_DEFINED 148
986
+ # define X509V3_R_OTHERNAME_ERROR 147
987
+ # define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155
988
+ # define X509V3_R_POLICY_PATH_LENGTH 156
989
+ # define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157
990
+ # define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159
991
+ # define X509V3_R_SECTION_NOT_FOUND 150
992
+ # define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122
993
+ # define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123
994
+ # define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111
995
+ # define X509V3_R_UNKNOWN_EXTENSION 129
996
+ # define X509V3_R_UNKNOWN_EXTENSION_NAME 130
997
+ # define X509V3_R_UNKNOWN_OPTION 120
998
+ # define X509V3_R_UNSUPPORTED_OPTION 117
999
+ # define X509V3_R_UNSUPPORTED_TYPE 167
1000
+ # define X509V3_R_USER_TOO_LONG 132
1001
+
1002
+ # ifdef __cplusplus
1003
+ }
1004
+ # endif
1005
+ #endif