rho-tau-extensions 5.5.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +2 -0
- data/LICENSE +21 -0
- data/README.md +6 -0
- data/Rakefile +90 -0
- data/libs/crosswalk.rb +2 -0
- data/libs/crosswalk/crosswalk.rb +2 -0
- data/libs/crosswalk/ext.yml +21 -0
- data/libs/crosswalk/ext/Crosswalk.xml +27 -0
- data/libs/crosswalk/ext/build +19 -0
- data/libs/crosswalk/ext/build.bat +29 -0
- data/libs/crosswalk/ext/platform/android/AndroidManifest.xml +9 -0
- data/libs/crosswalk/ext/platform/android/Rakefile +141 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_borderless_compat.xml +10 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_compat.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/autofill_chip_inset.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/button_compat_shape.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_button_background.xml +36 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_border.xml +12 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_label_color.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +19 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-land/date_time_picker_dialog.xml +42 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_keyboard_accessory_item.xml +40 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +18 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_advanced_component.xml +46 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_content.xml +51 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_title.xml +41 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/date_time_suggestion.xml +35 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +58 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/multi_field_time_picker_dialog.xml +122 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/two_field_date_picker.xml +38 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/validation_message_bubble.xml +72 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_icon.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_item.xml +17 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +7 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_advanced_component.xml +30 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_content.xml +36 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_title.xml +25 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_picker_dialog.xml +42 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_suggestion.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +34 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/multi_field_time_picker_dialog.xml +50 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/two_field_date_picker.xml +26 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/validation_message_bubble.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +54 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +206 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +231 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/empty.wav +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/launch_screen_api.js +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +359 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +144 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/wifidirect_api.js +227 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v17/styles.xml +19 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v17/ui_java_styles.xml +41 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v21/styles.xml +14 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v21/ui_java_styles.xml +14 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_xwalk_strings.xml +17 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_dimens.xml +31 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_styles.xml +101 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +28 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_attrs.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_colors.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_internal_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_dimens.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +7 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_styles.xml +40 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_values.xml +10 -0
- data/libs/crosswalk/ext/platform/android/ext_java.files +14 -0
- data/libs/crosswalk/ext/platform/android/ext_native.files +7 -0
- data/libs/crosswalk/ext/platform/android/jni/Crosswalk_impl.cpp +61 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/Crosswalk.java +14 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkFactory.java +18 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkSingleton.java +24 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/CrosswalkExtension.java +16 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/RhodesListener.java +18 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWResourceClient.java +182 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWUIClient.java +125 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +368 -0
- data/libs/crosswalk/ext/platform/iphone/Crosswalk.xcodeproj/project.pbxproj +368 -0
- data/libs/crosswalk/ext/platform/iphone/Crosswalk_Prefix.pch +7 -0
- data/libs/crosswalk/ext/platform/iphone/Rakefile +73 -0
- data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.h +14 -0
- data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.m +24 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkFactorySingleton.m +16 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSetup.m +9 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.h +17 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.m +23 -0
- data/libs/crosswalk/ext/platform/iphone/impl/readme.txt +7 -0
- data/libs/crosswalk/ext/platform/qt/Crosswalk.pro +66 -0
- data/libs/crosswalk/ext/platform/qt/Rakefile +35 -0
- data/libs/crosswalk/ext/platform/qt/src/Crosswalk_impl.cpp +77 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.sln +52 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.vcproj +714 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.vsprops +15 -0
- data/libs/crosswalk/ext/platform/wm/src/Crosswalk_impl.cpp +77 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.props +18 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj +170 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj.filters +50 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.csproj +119 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.props +8 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.targets +7 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.props +18 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj +185 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj.filters +58 -0
- data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cpp +76 -0
- data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cs +69 -0
- data/libs/crosswalk/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/ext.yml +13 -0
- data/libs/enterprise-barcode/ext/barcode.xml +2144 -0
- data/libs/enterprise-barcode/ext/build +17 -0
- data/libs/enterprise-barcode/ext/build.bat +29 -0
- data/libs/enterprise-barcode/ext/platform/android/AndroidManifest.xml +31 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/AUTHORS +58 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/CHANGES +266 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/COPYING +201 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/README +11 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/cancel_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/ok_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/retake_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/cancel_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/ok_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/retake_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/layout/capture.xml +122 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/raw/beep.ogg +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/attrs.xml +20 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/colors.xml +42 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/ids.xml +31 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +524 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Barcode_Prefix.pch +7 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.h +27 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.mm +231 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.h +95 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.m +1017 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.h +7 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +58 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactoryRegister.mm +18 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.h +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.mm +32 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.cpp +25 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.h +15 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.mm +159 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/barcode.m +123 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +69 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/COPYING +27 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCameraSimulator.h +45 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h +111 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h +60 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImage.h +69 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h +51 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h +142 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h +135 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h +130 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h +34 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h +71 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar.h +1497 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h +202 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h +187 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Image.h +321 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h +130 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h +223 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h +162 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h +528 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Video.h +170 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Window.h +136 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/LICENSE +504 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/README +59 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-back.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-help.html +88 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-samples.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/libzbar.a +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.h +21 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.m +132 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.h +10 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.m +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactorySingleton.m +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSetup.m +8 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.h +17 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.m +22 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/readme.txt +7 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.sln +44 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.vcproj +836 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.vsprops +15 -0
- data/libs/enterprise-barcode/ext/platform/wm/readme.txt +0 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Barcode_impl.cpp +376 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.cpp +173 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.h +149 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/EMDKInterfaceAbstraction.cpp +476 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/GetDecoderProperties.cpp +1195 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/GetScannerProperties.cpp +553 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.cpp +177 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h +40 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.cpp +76 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.h +44 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/RSM.cpp +1211 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.cpp +2609 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.h +1099 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/ScannerDefines.h +322 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/SetDecoderProperties.cpp +2106 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/SetScannerProperties.cpp +1060 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Utilities.cpp +184 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.csproj +119 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.props +8 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.targets +35 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.props +18 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj +185 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj.filters +58 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.xml +4813 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.xml +41 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/OpticalReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.XML +68 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.csproj +120 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.sln +34 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml +32 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml.cs +235 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/OpticalReaderTask.cs +182 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.xml +341 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.xml +4813 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.xml +41 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/OpticalReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.XML +10324 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/src/Barcode_impl.cs +630 -0
- data/libs/enterprise-barcode/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/public/api/generated/Rho.Barcode.js +772 -0
- data/libs/ie/rhobrowser.dll +0 -0
- data/libs/nodejs.rb +2 -0
- data/libs/nodejs/ext.yml +25 -0
- data/libs/nodejs/ext/Nodejs.xml +37 -0
- data/libs/nodejs/ext/build +19 -0
- data/libs/nodejs/ext/build.bat +29 -0
- data/libs/nodejs/ext/platform/android/Rakefile +161 -0
- data/libs/nodejs/ext/platform/android/ext_native.files +8 -0
- data/libs/nodejs/ext/platform/android/jxCore/jx.h +134 -0
- data/libs/nodejs/ext/platform/android/jxCore/jx_result.h +221 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
- data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +350 -0
- data/libs/nodejs/ext/platform/iphone/Nodejs_Prefix.pch +7 -0
- data/libs/nodejs/ext/platform/iphone/Rakefile +73 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +134 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/jx_result.h +221 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
- data/libs/nodejs/ext/shared/jxcore/jx.h +134 -0
- data/libs/nodejs/ext/shared/jxcore/jx_result.h +221 -0
- data/libs/nodejs/ext/shared/jxcoretau.cpp +454 -0
- data/libs/nodejs/ext/shared/jxcoretau.h +20 -0
- data/libs/nodejs/ext/shared/nodejs_impl.cpp +106 -0
- data/libs/nodejs/nodejs.rb +2 -0
- data/libs/openssl-edge.rb +2 -0
- data/libs/openssl-edge/ext.yml +4 -0
- data/libs/openssl-edge/ext/Rakefile +145 -0
- data/libs/openssl-edge/ext/android/Rakefile +107 -0
- data/libs/openssl-edge/ext/android/ext_native.files +32 -0
- data/libs/openssl-edge/ext/android/extconf.h +91 -0
- data/libs/openssl-edge/ext/build +12 -0
- data/libs/openssl-edge/ext/build.bat +5 -0
- data/libs/openssl-edge/ext/extconf.rb +141 -0
- data/libs/openssl-edge/ext/openssl.pro +109 -0
- data/libs/openssl-edge/ext/openssl.sln +52 -0
- data/libs/openssl-edge/ext/openssl.vcproj +1010 -0
- data/libs/openssl-edge/ext/openssl_missing.c +1163 -0
- data/libs/openssl-edge/ext/openssl_missing.h +537 -0
- data/libs/openssl-edge/ext/ossl.c +1203 -0
- data/libs/openssl-edge/ext/ossl.h +242 -0
- data/libs/openssl-edge/ext/ossl_asn1.c +2008 -0
- data/libs/openssl-edge/ext/ossl_asn1.h +66 -0
- data/libs/openssl-edge/ext/ossl_bio.c +118 -0
- data/libs/openssl-edge/ext/ossl_bio.h +19 -0
- data/libs/openssl-edge/ext/ossl_bn.c +1153 -0
- data/libs/openssl-edge/ext/ossl_bn.h +23 -0
- data/libs/openssl-edge/ext/ossl_cipher.c +1085 -0
- data/libs/openssl-edge/ext/ossl_cipher.h +20 -0
- data/libs/openssl-edge/ext/ossl_config.c +89 -0
- data/libs/openssl-edge/ext/ossl_config.h +19 -0
- data/libs/openssl-edge/ext/ossl_digest.c +453 -0
- data/libs/openssl-edge/ext/ossl_digest.h +20 -0
- data/libs/openssl-edge/ext/ossl_engine.c +580 -0
- data/libs/openssl-edge/ext/ossl_engine.h +19 -0
- data/libs/openssl-edge/ext/ossl_hmac.c +398 -0
- data/libs/openssl-edge/ext/ossl_hmac.h +18 -0
- data/libs/openssl-edge/ext/ossl_ns_spki.c +406 -0
- data/libs/openssl-edge/ext/ossl_ns_spki.h +19 -0
- data/libs/openssl-edge/ext/ossl_ocsp.c +2013 -0
- data/libs/openssl-edge/ext/ossl_ocsp.h +23 -0
- data/libs/openssl-edge/ext/ossl_pkcs12.c +261 -0
- data/libs/openssl-edge/ext/ossl_pkcs12.h +13 -0
- data/libs/openssl-edge/ext/ossl_pkcs5.c +180 -0
- data/libs/openssl-edge/ext/ossl_pkcs5.h +6 -0
- data/libs/openssl-edge/ext/ossl_pkcs7.c +1157 -0
- data/libs/openssl-edge/ext/ossl_pkcs7.h +20 -0
- data/libs/openssl-edge/ext/ossl_pkey.c +469 -0
- data/libs/openssl-edge/ext/ossl_pkey.h +245 -0
- data/libs/openssl-edge/ext/ossl_pkey_dh.c +650 -0
- data/libs/openssl-edge/ext/ossl_pkey_dsa.c +672 -0
- data/libs/openssl-edge/ext/ossl_pkey_ec.c +1806 -0
- data/libs/openssl-edge/ext/ossl_pkey_rsa.c +768 -0
- data/libs/openssl-edge/ext/ossl_rand.c +238 -0
- data/libs/openssl-edge/ext/ossl_rand.h +18 -0
- data/libs/openssl-edge/ext/ossl_ssl.c +2724 -0
- data/libs/openssl-edge/ext/ossl_ssl.h +41 -0
- data/libs/openssl-edge/ext/ossl_ssl_session.c +352 -0
- data/libs/openssl-edge/ext/ossl_version.h +15 -0
- data/libs/openssl-edge/ext/ossl_x509.c +186 -0
- data/libs/openssl-edge/ext/ossl_x509.h +119 -0
- data/libs/openssl-edge/ext/ossl_x509attr.c +328 -0
- data/libs/openssl-edge/ext/ossl_x509cert.c +863 -0
- data/libs/openssl-edge/ext/ossl_x509crl.c +565 -0
- data/libs/openssl-edge/ext/ossl_x509ext.c +480 -0
- data/libs/openssl-edge/ext/ossl_x509name.c +547 -0
- data/libs/openssl-edge/ext/ossl_x509req.c +492 -0
- data/libs/openssl-edge/ext/ossl_x509revoked.c +279 -0
- data/libs/openssl-edge/ext/ossl_x509store.c +846 -0
- data/libs/openssl-edge/ext/ruby_missing.h +32 -0
- data/libs/openssl-edge/openssl-edge.rb +2 -0
- data/libs/openssl-edge/openssl.rb +24 -0
- data/libs/openssl-edge/openssl/bn.rb +35 -0
- data/libs/openssl-edge/openssl/buffering.rb +341 -0
- data/libs/openssl-edge/openssl/cipher.rb +65 -0
- data/libs/openssl-edge/openssl/digest.rb +61 -0
- data/libs/openssl-edge/openssl/ssl-internal.rb +180 -0
- data/libs/openssl-edge/openssl/ssl.rb +1 -0
- data/libs/openssl-edge/openssl/x509-internal.rb +153 -0
- data/libs/openssl-edge/openssl/x509.rb +1 -0
- data/libs/openssl.so-edge.rb +2 -0
- data/libs/openssl.so-edge/ext.yml +8 -0
- data/libs/openssl.so-edge/ext/Rakefile +140 -0
- data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/build +12 -0
- data/libs/openssl.so-edge/ext/build.bat +1 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dh/dh_locl.h +56 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dsa/dsa_locl.h +76 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/evp/evp_locl.h +66 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/hmac/hmac_lcl.h +33 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/asn1_int.h +94 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/async.h +14 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_conf.h +28 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_dh.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_int.h +82 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_srp.h +32 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/chacha.h +49 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib.h +81 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib_int.h +31 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/dso_conf.h +16 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/engine.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/err_int.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/evp_int.h +382 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/md32_common.h +383 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/objects.h +12 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/poly1305.h +19 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/rand.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/x509_int.h +267 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/ocsp/ocsp_lcl.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/rsa/rsa_locl.h +96 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/x509/x509_lcl.h +142 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/e_os.h +520 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/bio.h +26 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/comp.h +12 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/conf.h +32 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/constant_time_locl.h +185 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dane.h +103 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/err.h +15 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/numbers.h +68 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_dir.h +63 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_str.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +42 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_EPILOGUE.H +16 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_PROLOGUE.H +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/aes.h +92 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +1096 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1_mac.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +924 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/async.h +98 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +854 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/blowfish.h +61 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +575 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +76 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/camellia.h +83 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cast.h +53 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h +41 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cms.h +512 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/comp.h +72 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf_api.h +40 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +463 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +518 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/des.h +174 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +343 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +282 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dtls1.h +56 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +311 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ebcdic.h +33 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +1581 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdh.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdsa.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +842 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +259 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +1586 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/hmac.h +49 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/idea.h +64 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/kdf.h +75 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +204 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md2.h +44 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md4.h +51 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md5.h +50 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/mdc2.h +42 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/modes.h +203 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/obj_mac.h +4577 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +1097 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +409 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +169 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h.in +141 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +105 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ossl_typ.h +190 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem.h +501 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem2.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs12.h +282 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs7.h +404 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rand.h +89 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc2.h +51 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc4.h +36 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc5.h +63 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ripemd.h +47 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +588 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/safestack.h +164 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +98 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/sha.h +119 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srp.h +131 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +50 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +2527 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl2.h +24 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +307 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/stack.h +78 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/symhacks.h +52 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +972 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ts.h +643 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/txt_db.h +57 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +368 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/whrlpool.h +48 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1123 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +539 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1005 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/packet_locl.h +555 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record.h +240 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record_locl.h +114 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/ssl_locl.h +2127 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem.h +123 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem_locl.h +124 -0
- data/libs/openssl.so-edge/openssl.so.rb +2 -0
- data/libs/webkit.rb +2 -0
- data/libs/webkit/ext.yml +4 -0
- data/libs/webkit/ext/build +12 -0
- data/libs/webkit/ext/build.bat +7 -0
- data/libs/webkit/ext/wm/Rakefile +61 -0
- data/libs/webkit/ext/wm/RhoMsgs.cpp +17 -0
- data/libs/webkit/ext/wm/RhoMsgs.h +14 -0
- data/libs/webkit/ext/wm/RhoWKBrowserEngine.cpp +736 -0
- data/libs/webkit/ext/wm/RhoWKBrowserEngine.h +105 -0
- data/libs/webkit/ext/wm/lib/npapi/rhobridge.dll +0 -0
- data/libs/webkit/ext/wm/lib/rhoengine_defs.h +80 -0
- data/libs/webkit/ext/wm/lib/rhowebkit.dll +0 -0
- data/libs/webkit/ext/wm/webkit.sln +36 -0
- data/libs/webkit/ext/wm/webkit.suo +0 -0
- data/libs/webkit/ext/wm/webkit.vcproj +800 -0
- data/libs/webkit/ext/wm/webkit.vsprops +20 -0
- data/libs/webkit/webkit.rb +2 -0
- data/rho-tau-extensions.gemspec +23 -0
- data/version +1 -0
- metadata +705 -0
@@ -0,0 +1,141 @@
|
|
1
|
+
/*
|
2
|
+
* {- join("\n * ", @autowarntext) -}
|
3
|
+
*
|
4
|
+
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
5
|
+
*
|
6
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
7
|
+
* this file except in compliance with the License. You can obtain a copy
|
8
|
+
* in the file LICENSE in the source distribution or at
|
9
|
+
* https://www.openssl.org/source/license.html
|
10
|
+
*/
|
11
|
+
|
12
|
+
#ifdef __cplusplus
|
13
|
+
extern "C" {
|
14
|
+
#endif
|
15
|
+
|
16
|
+
#ifdef OPENSSL_ALGORITHM_DEFINES
|
17
|
+
# error OPENSSL_ALGORITHM_DEFINES no longer supported
|
18
|
+
#endif
|
19
|
+
|
20
|
+
/*
|
21
|
+
* OpenSSL was configured with the following options:
|
22
|
+
*/
|
23
|
+
|
24
|
+
{- if (@{$config{openssl_sys_defines}}) {
|
25
|
+
foreach (@{$config{openssl_sys_defines}}) {
|
26
|
+
$OUT .= "#ifndef $_\n";
|
27
|
+
$OUT .= "# define $_ 1\n";
|
28
|
+
$OUT .= "#endif\n";
|
29
|
+
}
|
30
|
+
}
|
31
|
+
foreach (@{$config{openssl_api_defines}}) {
|
32
|
+
(my $macro, my $value) = $_ =~ /^(.*?)=(.*?)$/;
|
33
|
+
$OUT .= "#define OPENSSL_MIN_API $value\n";
|
34
|
+
}
|
35
|
+
if (@{$config{openssl_algorithm_defines}}) {
|
36
|
+
foreach (@{$config{openssl_algorithm_defines}}) {
|
37
|
+
$OUT .= "#ifndef $_\n";
|
38
|
+
$OUT .= "# define $_\n";
|
39
|
+
$OUT .= "#endif\n";
|
40
|
+
}
|
41
|
+
}
|
42
|
+
if (@{$config{openssl_thread_defines}}) {
|
43
|
+
foreach (@{$config{openssl_thread_defines}}) {
|
44
|
+
$OUT .= "#ifndef $_\n";
|
45
|
+
$OUT .= "# define $_\n";
|
46
|
+
$OUT .= "#endif\n";
|
47
|
+
}
|
48
|
+
}
|
49
|
+
if (@{$config{openssl_other_defines}}) {
|
50
|
+
foreach (@{$config{openssl_other_defines}}) {
|
51
|
+
$OUT .= "#ifndef $_\n";
|
52
|
+
$OUT .= "# define $_\n";
|
53
|
+
$OUT .= "#endif\n";
|
54
|
+
}
|
55
|
+
}
|
56
|
+
"";
|
57
|
+
-}
|
58
|
+
|
59
|
+
/*
|
60
|
+
* Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
|
61
|
+
* don't like that. This will hopefully silence them.
|
62
|
+
*/
|
63
|
+
#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
|
64
|
+
|
65
|
+
/*
|
66
|
+
* Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
|
67
|
+
* declarations of functions deprecated in or before <version>. Otherwise, they
|
68
|
+
* still won't see them if the library has been built to disable deprecated
|
69
|
+
* functions.
|
70
|
+
*/
|
71
|
+
#if defined(OPENSSL_NO_DEPRECATED)
|
72
|
+
# define DECLARE_DEPRECATED(f)
|
73
|
+
#elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
74
|
+
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
|
75
|
+
#else
|
76
|
+
# define DECLARE_DEPRECATED(f) f;
|
77
|
+
#endif
|
78
|
+
|
79
|
+
#ifndef OPENSSL_FILE
|
80
|
+
# ifdef OPENSSL_NO_FILENAMES
|
81
|
+
# define OPENSSL_FILE ""
|
82
|
+
# define OPENSSL_LINE 0
|
83
|
+
# else
|
84
|
+
# define OPENSSL_FILE __FILE__
|
85
|
+
# define OPENSSL_LINE __LINE__
|
86
|
+
# endif
|
87
|
+
#endif
|
88
|
+
|
89
|
+
#ifndef OPENSSL_MIN_API
|
90
|
+
# define OPENSSL_MIN_API 0
|
91
|
+
#endif
|
92
|
+
|
93
|
+
#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
|
94
|
+
# undef OPENSSL_API_COMPAT
|
95
|
+
# define OPENSSL_API_COMPAT OPENSSL_MIN_API
|
96
|
+
#endif
|
97
|
+
|
98
|
+
#if OPENSSL_API_COMPAT < 0x10100000L
|
99
|
+
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
|
100
|
+
#else
|
101
|
+
# define DEPRECATEDIN_1_1_0(f)
|
102
|
+
#endif
|
103
|
+
|
104
|
+
#if OPENSSL_API_COMPAT < 0x10000000L
|
105
|
+
# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
|
106
|
+
#else
|
107
|
+
# define DEPRECATEDIN_1_0_0(f)
|
108
|
+
#endif
|
109
|
+
|
110
|
+
#if OPENSSL_API_COMPAT < 0x00908000L
|
111
|
+
# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
|
112
|
+
#else
|
113
|
+
# define DEPRECATEDIN_0_9_8(f)
|
114
|
+
#endif
|
115
|
+
|
116
|
+
{- $target{cpuid_obj} ne "mem_clr.o" ? "#define OPENSSL_CPUID_OBJ" : "" -}
|
117
|
+
|
118
|
+
/* Generate 80386 code? */
|
119
|
+
{- $config{processor} eq "386" ? "#define" : "#undef" -} I386_ONLY
|
120
|
+
|
121
|
+
#undef OPENSSL_UNISTD
|
122
|
+
#define OPENSSL_UNISTD {- $target{unistd} -}
|
123
|
+
|
124
|
+
{- $config{export_var_as_fn} ? "#define" : "#undef" -} OPENSSL_EXPORT_VAR_AS_FUNCTION
|
125
|
+
|
126
|
+
/*
|
127
|
+
* The following are cipher-specific, but are part of the public API.
|
128
|
+
*/
|
129
|
+
#if !defined(OPENSSL_SYS_UEFI)
|
130
|
+
{- $config{bn_ll} ? "# define" : "# undef" -} BN_LLONG
|
131
|
+
/* Only one for the following should be defined */
|
132
|
+
{- $config{b64l} ? "# define" : "# undef" -} SIXTY_FOUR_BIT_LONG
|
133
|
+
{- $config{b64} ? "# define" : "# undef" -} SIXTY_FOUR_BIT
|
134
|
+
{- $config{b32} ? "# define" : "# undef" -} THIRTY_TWO_BIT
|
135
|
+
#endif
|
136
|
+
|
137
|
+
#define RC4_INT {- $config{rc4_int} -}
|
138
|
+
|
139
|
+
#ifdef __cplusplus
|
140
|
+
}
|
141
|
+
#endif
|
@@ -0,0 +1,105 @@
|
|
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_OPENSSLV_H
|
11
|
+
# define HEADER_OPENSSLV_H
|
12
|
+
|
13
|
+
#ifdef __cplusplus
|
14
|
+
extern "C" {
|
15
|
+
#endif
|
16
|
+
|
17
|
+
/*-
|
18
|
+
* Numeric release version identifier:
|
19
|
+
* MNNFFPPS: major minor fix patch status
|
20
|
+
* The status nibble has one of the values 0 for development, 1 to e for betas
|
21
|
+
* 1 to 14, and f for release. The patch level is exactly that.
|
22
|
+
* For example:
|
23
|
+
* 0.9.3-dev 0x00903000
|
24
|
+
* 0.9.3-beta1 0x00903001
|
25
|
+
* 0.9.3-beta2-dev 0x00903002
|
26
|
+
* 0.9.3-beta2 0x00903002 (same as ...beta2-dev)
|
27
|
+
* 0.9.3 0x0090300f
|
28
|
+
* 0.9.3a 0x0090301f
|
29
|
+
* 0.9.4 0x0090400f
|
30
|
+
* 1.2.3z 0x102031af
|
31
|
+
*
|
32
|
+
* For continuity reasons (because 0.9.5 is already out, and is coded
|
33
|
+
* 0x00905100), between 0.9.5 and 0.9.6 the coding of the patch level
|
34
|
+
* part is slightly different, by setting the highest bit. This means
|
35
|
+
* that 0.9.5a looks like this: 0x0090581f. At 0.9.6, we can start
|
36
|
+
* with 0x0090600S...
|
37
|
+
*
|
38
|
+
* (Prior to 0.9.3-dev a different scheme was used: 0.9.2b is 0x0922.)
|
39
|
+
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
|
40
|
+
* major minor fix final patch/beta)
|
41
|
+
*/
|
42
|
+
# define OPENSSL_VERSION_NUMBER 0x10100010L
|
43
|
+
# ifdef OPENSSL_FIPS
|
44
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.0a-fips-dev xx XXX xxxx"
|
45
|
+
# else
|
46
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.0a-dev xx XXX xxxx"
|
47
|
+
# endif
|
48
|
+
|
49
|
+
/*-
|
50
|
+
* The macros below are to be used for shared library (.so, .dll, ...)
|
51
|
+
* versioning. That kind of versioning works a bit differently between
|
52
|
+
* operating systems. The most usual scheme is to set a major and a minor
|
53
|
+
* number, and have the runtime loader check that the major number is equal
|
54
|
+
* to what it was at application link time, while the minor number has to
|
55
|
+
* be greater or equal to what it was at application link time. With this
|
56
|
+
* scheme, the version number is usually part of the file name, like this:
|
57
|
+
*
|
58
|
+
* libcrypto.so.0.9
|
59
|
+
*
|
60
|
+
* Some unixen also make a softlink with the major version number only:
|
61
|
+
*
|
62
|
+
* libcrypto.so.0
|
63
|
+
*
|
64
|
+
* On Tru64 and IRIX 6.x it works a little bit differently. There, the
|
65
|
+
* shared library version is stored in the file, and is actually a series
|
66
|
+
* of versions, separated by colons. The rightmost version present in the
|
67
|
+
* library when linking an application is stored in the application to be
|
68
|
+
* matched at run time. When the application is run, a check is done to
|
69
|
+
* see if the library version stored in the application matches any of the
|
70
|
+
* versions in the version string of the library itself.
|
71
|
+
* This version string can be constructed in any way, depending on what
|
72
|
+
* kind of matching is desired. However, to implement the same scheme as
|
73
|
+
* the one used in the other unixen, all compatible versions, from lowest
|
74
|
+
* to highest, should be part of the string. Consecutive builds would
|
75
|
+
* give the following versions strings:
|
76
|
+
*
|
77
|
+
* 3.0
|
78
|
+
* 3.0:3.1
|
79
|
+
* 3.0:3.1:3.2
|
80
|
+
* 4.0
|
81
|
+
* 4.0:4.1
|
82
|
+
*
|
83
|
+
* Notice how version 4 is completely incompatible with version, and
|
84
|
+
* therefore give the breach you can see.
|
85
|
+
*
|
86
|
+
* There may be other schemes as well that I haven't yet discovered.
|
87
|
+
*
|
88
|
+
* So, here's the way it works here: first of all, the library version
|
89
|
+
* number doesn't need at all to match the overall OpenSSL version.
|
90
|
+
* However, it's nice and more understandable if it actually does.
|
91
|
+
* The current library version is stored in the macro SHLIB_VERSION_NUMBER,
|
92
|
+
* which is just a piece of text in the format "M.m.e" (Major, minor, edit).
|
93
|
+
* For the sake of Tru64, IRIX, and any other OS that behaves in similar ways,
|
94
|
+
* we need to keep a history of version numbers, which is done in the
|
95
|
+
* macro SHLIB_VERSION_HISTORY. The numbers are separated by colons and
|
96
|
+
* should only keep the versions that are binary compatible with the current.
|
97
|
+
*/
|
98
|
+
# define SHLIB_VERSION_HISTORY ""
|
99
|
+
# define SHLIB_VERSION_NUMBER "1.1"
|
100
|
+
|
101
|
+
|
102
|
+
#ifdef __cplusplus
|
103
|
+
}
|
104
|
+
#endif
|
105
|
+
#endif /* HEADER_OPENSSLV_H */
|
@@ -0,0 +1,190 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2001-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_OPENSSL_TYPES_H
|
11
|
+
# define HEADER_OPENSSL_TYPES_H
|
12
|
+
|
13
|
+
#include <limits.h>
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
# include <openssl/e_os2.h>
|
20
|
+
|
21
|
+
# ifdef NO_ASN1_TYPEDEFS
|
22
|
+
# define ASN1_INTEGER ASN1_STRING
|
23
|
+
# define ASN1_ENUMERATED ASN1_STRING
|
24
|
+
# define ASN1_BIT_STRING ASN1_STRING
|
25
|
+
# define ASN1_OCTET_STRING ASN1_STRING
|
26
|
+
# define ASN1_PRINTABLESTRING ASN1_STRING
|
27
|
+
# define ASN1_T61STRING ASN1_STRING
|
28
|
+
# define ASN1_IA5STRING ASN1_STRING
|
29
|
+
# define ASN1_UTCTIME ASN1_STRING
|
30
|
+
# define ASN1_GENERALIZEDTIME ASN1_STRING
|
31
|
+
# define ASN1_TIME ASN1_STRING
|
32
|
+
# define ASN1_GENERALSTRING ASN1_STRING
|
33
|
+
# define ASN1_UNIVERSALSTRING ASN1_STRING
|
34
|
+
# define ASN1_BMPSTRING ASN1_STRING
|
35
|
+
# define ASN1_VISIBLESTRING ASN1_STRING
|
36
|
+
# define ASN1_UTF8STRING ASN1_STRING
|
37
|
+
# define ASN1_BOOLEAN int
|
38
|
+
# define ASN1_NULL int
|
39
|
+
# else
|
40
|
+
typedef struct asn1_string_st ASN1_INTEGER;
|
41
|
+
typedef struct asn1_string_st ASN1_ENUMERATED;
|
42
|
+
typedef struct asn1_string_st ASN1_BIT_STRING;
|
43
|
+
typedef struct asn1_string_st ASN1_OCTET_STRING;
|
44
|
+
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
|
45
|
+
typedef struct asn1_string_st ASN1_T61STRING;
|
46
|
+
typedef struct asn1_string_st ASN1_IA5STRING;
|
47
|
+
typedef struct asn1_string_st ASN1_GENERALSTRING;
|
48
|
+
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
|
49
|
+
typedef struct asn1_string_st ASN1_BMPSTRING;
|
50
|
+
typedef struct asn1_string_st ASN1_UTCTIME;
|
51
|
+
typedef struct asn1_string_st ASN1_TIME;
|
52
|
+
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
|
53
|
+
typedef struct asn1_string_st ASN1_VISIBLESTRING;
|
54
|
+
typedef struct asn1_string_st ASN1_UTF8STRING;
|
55
|
+
typedef struct asn1_string_st ASN1_STRING;
|
56
|
+
typedef int ASN1_BOOLEAN;
|
57
|
+
typedef int ASN1_NULL;
|
58
|
+
# endif
|
59
|
+
|
60
|
+
typedef struct asn1_object_st ASN1_OBJECT;
|
61
|
+
|
62
|
+
typedef struct ASN1_ITEM_st ASN1_ITEM;
|
63
|
+
typedef struct asn1_pctx_st ASN1_PCTX;
|
64
|
+
typedef struct asn1_sctx_st ASN1_SCTX;
|
65
|
+
|
66
|
+
# ifdef _WIN32
|
67
|
+
# undef X509_NAME
|
68
|
+
# undef X509_EXTENSIONS
|
69
|
+
# undef PKCS7_ISSUER_AND_SERIAL
|
70
|
+
# undef PKCS7_SIGNER_INFO
|
71
|
+
# undef OCSP_REQUEST
|
72
|
+
# undef OCSP_RESPONSE
|
73
|
+
# endif
|
74
|
+
|
75
|
+
# ifdef BIGNUM
|
76
|
+
# undef BIGNUM
|
77
|
+
# endif
|
78
|
+
struct dane_st;
|
79
|
+
typedef struct bio_st BIO;
|
80
|
+
typedef struct bignum_st BIGNUM;
|
81
|
+
typedef struct bignum_ctx BN_CTX;
|
82
|
+
typedef struct bn_blinding_st BN_BLINDING;
|
83
|
+
typedef struct bn_mont_ctx_st BN_MONT_CTX;
|
84
|
+
typedef struct bn_recp_ctx_st BN_RECP_CTX;
|
85
|
+
typedef struct bn_gencb_st BN_GENCB;
|
86
|
+
|
87
|
+
typedef struct buf_mem_st BUF_MEM;
|
88
|
+
|
89
|
+
typedef struct evp_cipher_st EVP_CIPHER;
|
90
|
+
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
|
91
|
+
typedef struct evp_md_st EVP_MD;
|
92
|
+
typedef struct evp_md_ctx_st EVP_MD_CTX;
|
93
|
+
typedef struct evp_pkey_st EVP_PKEY;
|
94
|
+
|
95
|
+
typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
|
96
|
+
|
97
|
+
typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
|
98
|
+
typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
|
99
|
+
|
100
|
+
typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
|
101
|
+
|
102
|
+
typedef struct hmac_ctx_st HMAC_CTX;
|
103
|
+
|
104
|
+
typedef struct dh_st DH;
|
105
|
+
typedef struct dh_method DH_METHOD;
|
106
|
+
|
107
|
+
typedef struct dsa_st DSA;
|
108
|
+
typedef struct dsa_method DSA_METHOD;
|
109
|
+
|
110
|
+
typedef struct rsa_st RSA;
|
111
|
+
typedef struct rsa_meth_st RSA_METHOD;
|
112
|
+
|
113
|
+
typedef struct ec_key_st EC_KEY;
|
114
|
+
typedef struct ec_key_method_st EC_KEY_METHOD;
|
115
|
+
|
116
|
+
typedef struct rand_meth_st RAND_METHOD;
|
117
|
+
|
118
|
+
typedef struct ssl_dane_st SSL_DANE;
|
119
|
+
typedef struct x509_st X509;
|
120
|
+
typedef struct X509_algor_st X509_ALGOR;
|
121
|
+
typedef struct X509_crl_st X509_CRL;
|
122
|
+
typedef struct x509_crl_method_st X509_CRL_METHOD;
|
123
|
+
typedef struct x509_revoked_st X509_REVOKED;
|
124
|
+
typedef struct X509_name_st X509_NAME;
|
125
|
+
typedef struct X509_pubkey_st X509_PUBKEY;
|
126
|
+
typedef struct x509_store_st X509_STORE;
|
127
|
+
typedef struct x509_store_ctx_st X509_STORE_CTX;
|
128
|
+
|
129
|
+
typedef struct x509_object_st X509_OBJECT;
|
130
|
+
typedef struct x509_lookup_st X509_LOOKUP;
|
131
|
+
typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
|
132
|
+
typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
|
133
|
+
|
134
|
+
typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
|
135
|
+
|
136
|
+
typedef struct v3_ext_ctx X509V3_CTX;
|
137
|
+
typedef struct conf_st CONF;
|
138
|
+
typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
|
139
|
+
|
140
|
+
typedef struct ui_st UI;
|
141
|
+
typedef struct ui_method_st UI_METHOD;
|
142
|
+
|
143
|
+
typedef struct engine_st ENGINE;
|
144
|
+
typedef struct ssl_st SSL;
|
145
|
+
typedef struct ssl_ctx_st SSL_CTX;
|
146
|
+
|
147
|
+
typedef struct comp_ctx_st COMP_CTX;
|
148
|
+
typedef struct comp_method_st COMP_METHOD;
|
149
|
+
|
150
|
+
typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
|
151
|
+
typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
|
152
|
+
typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
|
153
|
+
typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
|
154
|
+
|
155
|
+
typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
|
156
|
+
typedef struct DIST_POINT_st DIST_POINT;
|
157
|
+
typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
|
158
|
+
typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
|
159
|
+
|
160
|
+
typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
|
161
|
+
|
162
|
+
typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
|
163
|
+
typedef struct ocsp_response_st OCSP_RESPONSE;
|
164
|
+
typedef struct ocsp_responder_id_st OCSP_RESPID;
|
165
|
+
|
166
|
+
typedef struct sct_st SCT;
|
167
|
+
typedef struct sct_ctx_st SCT_CTX;
|
168
|
+
typedef struct ctlog_st CTLOG;
|
169
|
+
typedef struct ctlog_store_st CTLOG_STORE;
|
170
|
+
typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
|
171
|
+
|
172
|
+
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
|
173
|
+
defined(INTMAX_MAX) && defined(UINTMAX_MAX)
|
174
|
+
typedef intmax_t ossl_intmax_t;
|
175
|
+
typedef uintmax_t ossl_uintmax_t;
|
176
|
+
#else
|
177
|
+
/*
|
178
|
+
* Not long long, because the C-library can only be expected to provide
|
179
|
+
* strtoll(), strtoull() at the same time as intmax_t and strtoimax(),
|
180
|
+
* strtoumax(). Since we use these for parsing arguments, we need the
|
181
|
+
* conversion functions, not just the sizes.
|
182
|
+
*/
|
183
|
+
typedef long ossl_intmax_t;
|
184
|
+
typedef unsigned long ossl_uintmax_t;
|
185
|
+
#endif
|
186
|
+
|
187
|
+
#ifdef __cplusplus
|
188
|
+
}
|
189
|
+
#endif
|
190
|
+
#endif /* def HEADER_OPENSSL_TYPES_H */
|
@@ -0,0 +1,501 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
6
|
+
* in the file LICENSE in the source distribution or at
|
7
|
+
* https://www.openssl.org/source/license.html
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef HEADER_PEM_H
|
11
|
+
# define HEADER_PEM_H
|
12
|
+
|
13
|
+
# include <openssl/e_os2.h>
|
14
|
+
# include <openssl/bio.h>
|
15
|
+
# include <openssl/stack.h>
|
16
|
+
# include <openssl/evp.h>
|
17
|
+
# include <openssl/x509.h>
|
18
|
+
# include <openssl/pem2.h>
|
19
|
+
|
20
|
+
#ifdef __cplusplus
|
21
|
+
extern "C" {
|
22
|
+
#endif
|
23
|
+
|
24
|
+
# define PEM_BUFSIZE 1024
|
25
|
+
|
26
|
+
# define PEM_STRING_X509_OLD "X509 CERTIFICATE"
|
27
|
+
# define PEM_STRING_X509 "CERTIFICATE"
|
28
|
+
# define PEM_STRING_X509_TRUSTED "TRUSTED CERTIFICATE"
|
29
|
+
# define PEM_STRING_X509_REQ_OLD "NEW CERTIFICATE REQUEST"
|
30
|
+
# define PEM_STRING_X509_REQ "CERTIFICATE REQUEST"
|
31
|
+
# define PEM_STRING_X509_CRL "X509 CRL"
|
32
|
+
# define PEM_STRING_EVP_PKEY "ANY PRIVATE KEY"
|
33
|
+
# define PEM_STRING_PUBLIC "PUBLIC KEY"
|
34
|
+
# define PEM_STRING_RSA "RSA PRIVATE KEY"
|
35
|
+
# define PEM_STRING_RSA_PUBLIC "RSA PUBLIC KEY"
|
36
|
+
# define PEM_STRING_DSA "DSA PRIVATE KEY"
|
37
|
+
# define PEM_STRING_DSA_PUBLIC "DSA PUBLIC KEY"
|
38
|
+
# define PEM_STRING_PKCS7 "PKCS7"
|
39
|
+
# define PEM_STRING_PKCS7_SIGNED "PKCS #7 SIGNED DATA"
|
40
|
+
# define PEM_STRING_PKCS8 "ENCRYPTED PRIVATE KEY"
|
41
|
+
# define PEM_STRING_PKCS8INF "PRIVATE KEY"
|
42
|
+
# define PEM_STRING_DHPARAMS "DH PARAMETERS"
|
43
|
+
# define PEM_STRING_DHXPARAMS "X9.42 DH PARAMETERS"
|
44
|
+
# define PEM_STRING_SSL_SESSION "SSL SESSION PARAMETERS"
|
45
|
+
# define PEM_STRING_DSAPARAMS "DSA PARAMETERS"
|
46
|
+
# define PEM_STRING_ECDSA_PUBLIC "ECDSA PUBLIC KEY"
|
47
|
+
# define PEM_STRING_ECPARAMETERS "EC PARAMETERS"
|
48
|
+
# define PEM_STRING_ECPRIVATEKEY "EC PRIVATE KEY"
|
49
|
+
# define PEM_STRING_PARAMETERS "PARAMETERS"
|
50
|
+
# define PEM_STRING_CMS "CMS"
|
51
|
+
|
52
|
+
# define PEM_TYPE_ENCRYPTED 10
|
53
|
+
# define PEM_TYPE_MIC_ONLY 20
|
54
|
+
# define PEM_TYPE_MIC_CLEAR 30
|
55
|
+
# define PEM_TYPE_CLEAR 40
|
56
|
+
|
57
|
+
typedef struct pem_recip_st {
|
58
|
+
char *name;
|
59
|
+
X509_NAME *dn;
|
60
|
+
int cipher;
|
61
|
+
int key_enc;
|
62
|
+
/* char iv[8]; unused and wrong size */
|
63
|
+
} PEM_USER;
|
64
|
+
|
65
|
+
typedef struct pem_ctx_st {
|
66
|
+
int type; /* what type of object */
|
67
|
+
struct {
|
68
|
+
int version;
|
69
|
+
int mode;
|
70
|
+
} proc_type;
|
71
|
+
|
72
|
+
char *domain;
|
73
|
+
|
74
|
+
struct {
|
75
|
+
int cipher;
|
76
|
+
/*-
|
77
|
+
unused, and wrong size
|
78
|
+
unsigned char iv[8]; */
|
79
|
+
} DEK_info;
|
80
|
+
|
81
|
+
PEM_USER *originator;
|
82
|
+
|
83
|
+
int num_recipient;
|
84
|
+
PEM_USER **recipient;
|
85
|
+
|
86
|
+
/*-
|
87
|
+
XXX(ben): don#t think this is used!
|
88
|
+
STACK *x509_chain; / * certificate chain */
|
89
|
+
EVP_MD *md; /* signature type */
|
90
|
+
|
91
|
+
int md_enc; /* is the md encrypted or not? */
|
92
|
+
int md_len; /* length of md_data */
|
93
|
+
char *md_data; /* message digest, could be pkey encrypted */
|
94
|
+
|
95
|
+
EVP_CIPHER *dec; /* date encryption cipher */
|
96
|
+
int key_len; /* key length */
|
97
|
+
unsigned char *key; /* key */
|
98
|
+
/*-
|
99
|
+
unused, and wrong size
|
100
|
+
unsigned char iv[8]; */
|
101
|
+
|
102
|
+
int data_enc; /* is the data encrypted */
|
103
|
+
int data_len;
|
104
|
+
unsigned char *data;
|
105
|
+
} PEM_CTX;
|
106
|
+
|
107
|
+
/*
|
108
|
+
* These macros make the PEM_read/PEM_write functions easier to maintain and
|
109
|
+
* write. Now they are all implemented with either: IMPLEMENT_PEM_rw(...) or
|
110
|
+
* IMPLEMENT_PEM_rw_cb(...)
|
111
|
+
*/
|
112
|
+
|
113
|
+
# ifdef OPENSSL_NO_STDIO
|
114
|
+
|
115
|
+
# define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
|
116
|
+
# define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
|
117
|
+
# define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
|
118
|
+
# define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
|
119
|
+
# define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
|
120
|
+
# else
|
121
|
+
|
122
|
+
# define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
|
123
|
+
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
|
124
|
+
{ \
|
125
|
+
return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
|
126
|
+
}
|
127
|
+
|
128
|
+
# define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
|
129
|
+
int PEM_write_##name(FILE *fp, type *x) \
|
130
|
+
{ \
|
131
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
|
132
|
+
}
|
133
|
+
|
134
|
+
# define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
|
135
|
+
int PEM_write_##name(FILE *fp, const type *x) \
|
136
|
+
{ \
|
137
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
|
138
|
+
}
|
139
|
+
|
140
|
+
# define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
|
141
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
142
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, \
|
143
|
+
void *u) \
|
144
|
+
{ \
|
145
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
|
146
|
+
}
|
147
|
+
|
148
|
+
# define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
|
149
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
150
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, \
|
151
|
+
void *u) \
|
152
|
+
{ \
|
153
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
|
154
|
+
}
|
155
|
+
|
156
|
+
# endif
|
157
|
+
|
158
|
+
# define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
|
159
|
+
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
|
160
|
+
{ \
|
161
|
+
return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
|
162
|
+
}
|
163
|
+
|
164
|
+
# define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
|
165
|
+
int PEM_write_bio_##name(BIO *bp, type *x) \
|
166
|
+
{ \
|
167
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
|
168
|
+
}
|
169
|
+
|
170
|
+
# define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
|
171
|
+
int PEM_write_bio_##name(BIO *bp, const type *x) \
|
172
|
+
{ \
|
173
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
|
174
|
+
}
|
175
|
+
|
176
|
+
# define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
|
177
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
178
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
|
179
|
+
{ \
|
180
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
|
181
|
+
}
|
182
|
+
|
183
|
+
# define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
|
184
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
185
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
|
186
|
+
{ \
|
187
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
|
188
|
+
}
|
189
|
+
|
190
|
+
# define IMPLEMENT_PEM_write(name, type, str, asn1) \
|
191
|
+
IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
|
192
|
+
IMPLEMENT_PEM_write_fp(name, type, str, asn1)
|
193
|
+
|
194
|
+
# define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
|
195
|
+
IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
|
196
|
+
IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
|
197
|
+
|
198
|
+
# define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
|
199
|
+
IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
|
200
|
+
IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
|
201
|
+
|
202
|
+
# define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
|
203
|
+
IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
|
204
|
+
IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
|
205
|
+
|
206
|
+
# define IMPLEMENT_PEM_read(name, type, str, asn1) \
|
207
|
+
IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
|
208
|
+
IMPLEMENT_PEM_read_fp(name, type, str, asn1)
|
209
|
+
|
210
|
+
# define IMPLEMENT_PEM_rw(name, type, str, asn1) \
|
211
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
212
|
+
IMPLEMENT_PEM_write(name, type, str, asn1)
|
213
|
+
|
214
|
+
# define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
|
215
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
216
|
+
IMPLEMENT_PEM_write_const(name, type, str, asn1)
|
217
|
+
|
218
|
+
# define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
|
219
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
220
|
+
IMPLEMENT_PEM_write_cb(name, type, str, asn1)
|
221
|
+
|
222
|
+
/* These are the same except they are for the declarations */
|
223
|
+
|
224
|
+
# if defined(OPENSSL_NO_STDIO)
|
225
|
+
|
226
|
+
# define DECLARE_PEM_read_fp(name, type) /**/
|
227
|
+
# define DECLARE_PEM_write_fp(name, type) /**/
|
228
|
+
# define DECLARE_PEM_write_fp_const(name, type) /**/
|
229
|
+
# define DECLARE_PEM_write_cb_fp(name, type) /**/
|
230
|
+
# else
|
231
|
+
|
232
|
+
# define DECLARE_PEM_read_fp(name, type) \
|
233
|
+
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
|
234
|
+
|
235
|
+
# define DECLARE_PEM_write_fp(name, type) \
|
236
|
+
int PEM_write_##name(FILE *fp, type *x);
|
237
|
+
|
238
|
+
# define DECLARE_PEM_write_fp_const(name, type) \
|
239
|
+
int PEM_write_##name(FILE *fp, const type *x);
|
240
|
+
|
241
|
+
# define DECLARE_PEM_write_cb_fp(name, type) \
|
242
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
243
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
|
244
|
+
|
245
|
+
# endif
|
246
|
+
|
247
|
+
# define DECLARE_PEM_read_bio(name, type) \
|
248
|
+
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
|
249
|
+
|
250
|
+
# define DECLARE_PEM_write_bio(name, type) \
|
251
|
+
int PEM_write_bio_##name(BIO *bp, type *x);
|
252
|
+
|
253
|
+
# define DECLARE_PEM_write_bio_const(name, type) \
|
254
|
+
int PEM_write_bio_##name(BIO *bp, const type *x);
|
255
|
+
|
256
|
+
# define DECLARE_PEM_write_cb_bio(name, type) \
|
257
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
258
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
|
259
|
+
|
260
|
+
# define DECLARE_PEM_write(name, type) \
|
261
|
+
DECLARE_PEM_write_bio(name, type) \
|
262
|
+
DECLARE_PEM_write_fp(name, type)
|
263
|
+
# define DECLARE_PEM_write_const(name, type) \
|
264
|
+
DECLARE_PEM_write_bio_const(name, type) \
|
265
|
+
DECLARE_PEM_write_fp_const(name, type)
|
266
|
+
# define DECLARE_PEM_write_cb(name, type) \
|
267
|
+
DECLARE_PEM_write_cb_bio(name, type) \
|
268
|
+
DECLARE_PEM_write_cb_fp(name, type)
|
269
|
+
# define DECLARE_PEM_read(name, type) \
|
270
|
+
DECLARE_PEM_read_bio(name, type) \
|
271
|
+
DECLARE_PEM_read_fp(name, type)
|
272
|
+
# define DECLARE_PEM_rw(name, type) \
|
273
|
+
DECLARE_PEM_read(name, type) \
|
274
|
+
DECLARE_PEM_write(name, type)
|
275
|
+
# define DECLARE_PEM_rw_const(name, type) \
|
276
|
+
DECLARE_PEM_read(name, type) \
|
277
|
+
DECLARE_PEM_write_const(name, type)
|
278
|
+
# define DECLARE_PEM_rw_cb(name, type) \
|
279
|
+
DECLARE_PEM_read(name, type) \
|
280
|
+
DECLARE_PEM_write_cb(name, type)
|
281
|
+
typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
|
282
|
+
|
283
|
+
int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher);
|
284
|
+
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *len,
|
285
|
+
pem_password_cb *callback, void *u);
|
286
|
+
|
287
|
+
int PEM_read_bio(BIO *bp, char **name, char **header,
|
288
|
+
unsigned char **data, long *len);
|
289
|
+
int PEM_write_bio(BIO *bp, const char *name, const char *hdr,
|
290
|
+
const unsigned char *data, long len);
|
291
|
+
int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm,
|
292
|
+
const char *name, BIO *bp, pem_password_cb *cb,
|
293
|
+
void *u);
|
294
|
+
void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
|
295
|
+
pem_password_cb *cb, void *u);
|
296
|
+
int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, void *x,
|
297
|
+
const EVP_CIPHER *enc, unsigned char *kstr, int klen,
|
298
|
+
pem_password_cb *cb, void *u);
|
299
|
+
|
300
|
+
STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk,
|
301
|
+
pem_password_cb *cb, void *u);
|
302
|
+
int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
|
303
|
+
unsigned char *kstr, int klen,
|
304
|
+
pem_password_cb *cd, void *u);
|
305
|
+
|
306
|
+
#ifndef OPENSSL_NO_STDIO
|
307
|
+
int PEM_read(FILE *fp, char **name, char **header,
|
308
|
+
unsigned char **data, long *len);
|
309
|
+
int PEM_write(FILE *fp, const char *name, const char *hdr,
|
310
|
+
const unsigned char *data, long len);
|
311
|
+
void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x,
|
312
|
+
pem_password_cb *cb, void *u);
|
313
|
+
int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp,
|
314
|
+
void *x, const EVP_CIPHER *enc, unsigned char *kstr,
|
315
|
+
int klen, pem_password_cb *callback, void *u);
|
316
|
+
STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
|
317
|
+
pem_password_cb *cb, void *u);
|
318
|
+
#endif
|
319
|
+
|
320
|
+
int PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type);
|
321
|
+
int PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *d, unsigned int cnt);
|
322
|
+
int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
|
323
|
+
unsigned int *siglen, EVP_PKEY *pkey);
|
324
|
+
|
325
|
+
int PEM_def_callback(char *buf, int num, int w, void *key);
|
326
|
+
void PEM_proc_type(char *buf, int type);
|
327
|
+
void PEM_dek_info(char *buf, const char *type, int len, char *str);
|
328
|
+
|
329
|
+
# include <openssl/symhacks.h>
|
330
|
+
|
331
|
+
DECLARE_PEM_rw(X509, X509)
|
332
|
+
DECLARE_PEM_rw(X509_AUX, X509)
|
333
|
+
DECLARE_PEM_rw(X509_REQ, X509_REQ)
|
334
|
+
DECLARE_PEM_write(X509_REQ_NEW, X509_REQ)
|
335
|
+
DECLARE_PEM_rw(X509_CRL, X509_CRL)
|
336
|
+
DECLARE_PEM_rw(PKCS7, PKCS7)
|
337
|
+
DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE, NETSCAPE_CERT_SEQUENCE)
|
338
|
+
DECLARE_PEM_rw(PKCS8, X509_SIG)
|
339
|
+
DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO)
|
340
|
+
# ifndef OPENSSL_NO_RSA
|
341
|
+
DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
|
342
|
+
DECLARE_PEM_rw_const(RSAPublicKey, RSA)
|
343
|
+
DECLARE_PEM_rw(RSA_PUBKEY, RSA)
|
344
|
+
# endif
|
345
|
+
# ifndef OPENSSL_NO_DSA
|
346
|
+
DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
|
347
|
+
DECLARE_PEM_rw(DSA_PUBKEY, DSA)
|
348
|
+
DECLARE_PEM_rw_const(DSAparams, DSA)
|
349
|
+
# endif
|
350
|
+
# ifndef OPENSSL_NO_EC
|
351
|
+
DECLARE_PEM_rw_const(ECPKParameters, EC_GROUP)
|
352
|
+
DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY)
|
353
|
+
DECLARE_PEM_rw(EC_PUBKEY, EC_KEY)
|
354
|
+
# endif
|
355
|
+
# ifndef OPENSSL_NO_DH
|
356
|
+
DECLARE_PEM_rw_const(DHparams, DH)
|
357
|
+
DECLARE_PEM_write_const(DHxparams, DH)
|
358
|
+
# endif
|
359
|
+
DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
|
360
|
+
DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
|
361
|
+
|
362
|
+
int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
|
363
|
+
const EVP_CIPHER *enc,
|
364
|
+
unsigned char *kstr, int klen,
|
365
|
+
pem_password_cb *cb, void *u);
|
366
|
+
|
367
|
+
int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
|
368
|
+
char *kstr, int klen,
|
369
|
+
pem_password_cb *cb, void *u);
|
370
|
+
int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *,
|
371
|
+
char *, int, pem_password_cb *, void *);
|
372
|
+
int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
373
|
+
char *kstr, int klen,
|
374
|
+
pem_password_cb *cb, void *u);
|
375
|
+
int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
|
376
|
+
char *kstr, int klen,
|
377
|
+
pem_password_cb *cb, void *u);
|
378
|
+
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
|
379
|
+
void *u);
|
380
|
+
|
381
|
+
# ifndef OPENSSL_NO_STDIO
|
382
|
+
int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
383
|
+
char *kstr, int klen,
|
384
|
+
pem_password_cb *cb, void *u);
|
385
|
+
int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid,
|
386
|
+
char *kstr, int klen,
|
387
|
+
pem_password_cb *cb, void *u);
|
388
|
+
int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid,
|
389
|
+
char *kstr, int klen,
|
390
|
+
pem_password_cb *cb, void *u);
|
391
|
+
|
392
|
+
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,
|
393
|
+
void *u);
|
394
|
+
|
395
|
+
int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
396
|
+
char *kstr, int klen, pem_password_cb *cd,
|
397
|
+
void *u);
|
398
|
+
# endif
|
399
|
+
EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x);
|
400
|
+
int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x);
|
401
|
+
|
402
|
+
# ifndef OPENSSL_NO_DSA
|
403
|
+
EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length);
|
404
|
+
EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length);
|
405
|
+
EVP_PKEY *b2i_PrivateKey_bio(BIO *in);
|
406
|
+
EVP_PKEY *b2i_PublicKey_bio(BIO *in);
|
407
|
+
int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk);
|
408
|
+
int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk);
|
409
|
+
# ifndef OPENSSL_NO_RC4
|
410
|
+
EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
|
411
|
+
int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel,
|
412
|
+
pem_password_cb *cb, void *u);
|
413
|
+
# endif
|
414
|
+
# endif
|
415
|
+
|
416
|
+
/* BEGIN ERROR CODES */
|
417
|
+
/*
|
418
|
+
* The following lines are auto generated by the script mkerr.pl. Any changes
|
419
|
+
* made after this point may be overwritten when the script is next run.
|
420
|
+
*/
|
421
|
+
|
422
|
+
int ERR_load_PEM_strings(void);
|
423
|
+
|
424
|
+
/* Error codes for the PEM functions. */
|
425
|
+
|
426
|
+
/* Function codes. */
|
427
|
+
# define PEM_F_B2I_DSS 127
|
428
|
+
# define PEM_F_B2I_PVK_BIO 128
|
429
|
+
# define PEM_F_B2I_RSA 129
|
430
|
+
# define PEM_F_CHECK_BITLEN_DSA 130
|
431
|
+
# define PEM_F_CHECK_BITLEN_RSA 131
|
432
|
+
# define PEM_F_D2I_PKCS8PRIVATEKEY_BIO 120
|
433
|
+
# define PEM_F_D2I_PKCS8PRIVATEKEY_FP 121
|
434
|
+
# define PEM_F_DO_B2I 132
|
435
|
+
# define PEM_F_DO_B2I_BIO 133
|
436
|
+
# define PEM_F_DO_BLOB_HEADER 134
|
437
|
+
# define PEM_F_DO_PK8PKEY 126
|
438
|
+
# define PEM_F_DO_PK8PKEY_FP 125
|
439
|
+
# define PEM_F_DO_PVK_BODY 135
|
440
|
+
# define PEM_F_DO_PVK_HEADER 136
|
441
|
+
# define PEM_F_I2B_PVK 137
|
442
|
+
# define PEM_F_I2B_PVK_BIO 138
|
443
|
+
# define PEM_F_LOAD_IV 101
|
444
|
+
# define PEM_F_PEM_ASN1_READ 102
|
445
|
+
# define PEM_F_PEM_ASN1_READ_BIO 103
|
446
|
+
# define PEM_F_PEM_ASN1_WRITE 104
|
447
|
+
# define PEM_F_PEM_ASN1_WRITE_BIO 105
|
448
|
+
# define PEM_F_PEM_DEF_CALLBACK 100
|
449
|
+
# define PEM_F_PEM_DO_HEADER 106
|
450
|
+
# define PEM_F_PEM_GET_EVP_CIPHER_INFO 107
|
451
|
+
# define PEM_F_PEM_READ 108
|
452
|
+
# define PEM_F_PEM_READ_BIO 109
|
453
|
+
# define PEM_F_PEM_READ_BIO_DHPARAMS 141
|
454
|
+
# define PEM_F_PEM_READ_BIO_PARAMETERS 140
|
455
|
+
# define PEM_F_PEM_READ_BIO_PRIVATEKEY 123
|
456
|
+
# define PEM_F_PEM_READ_DHPARAMS 142
|
457
|
+
# define PEM_F_PEM_READ_PRIVATEKEY 124
|
458
|
+
# define PEM_F_PEM_SIGNFINAL 112
|
459
|
+
# define PEM_F_PEM_WRITE 113
|
460
|
+
# define PEM_F_PEM_WRITE_BIO 114
|
461
|
+
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
462
|
+
# define PEM_F_PEM_X509_INFO_READ 115
|
463
|
+
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
464
|
+
# define PEM_F_PEM_X509_INFO_WRITE_BIO 117
|
465
|
+
|
466
|
+
/* Reason codes. */
|
467
|
+
# define PEM_R_BAD_BASE64_DECODE 100
|
468
|
+
# define PEM_R_BAD_DECRYPT 101
|
469
|
+
# define PEM_R_BAD_END_LINE 102
|
470
|
+
# define PEM_R_BAD_IV_CHARS 103
|
471
|
+
# define PEM_R_BAD_MAGIC_NUMBER 116
|
472
|
+
# define PEM_R_BAD_PASSWORD_READ 104
|
473
|
+
# define PEM_R_BAD_VERSION_NUMBER 117
|
474
|
+
# define PEM_R_BIO_WRITE_FAILURE 118
|
475
|
+
# define PEM_R_CIPHER_IS_NULL 127
|
476
|
+
# define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115
|
477
|
+
# define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119
|
478
|
+
# define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120
|
479
|
+
# define PEM_R_HEADER_TOO_LONG 128
|
480
|
+
# define PEM_R_INCONSISTENT_HEADER 121
|
481
|
+
# define PEM_R_KEYBLOB_HEADER_PARSE_ERROR 122
|
482
|
+
# define PEM_R_KEYBLOB_TOO_SHORT 123
|
483
|
+
# define PEM_R_MISSING_DEK_IV 129
|
484
|
+
# define PEM_R_NOT_DEK_INFO 105
|
485
|
+
# define PEM_R_NOT_ENCRYPTED 106
|
486
|
+
# define PEM_R_NOT_PROC_TYPE 107
|
487
|
+
# define PEM_R_NO_START_LINE 108
|
488
|
+
# define PEM_R_PROBLEMS_GETTING_PASSWORD 109
|
489
|
+
# define PEM_R_PVK_DATA_TOO_SHORT 124
|
490
|
+
# define PEM_R_PVK_TOO_SHORT 125
|
491
|
+
# define PEM_R_READ_KEY 111
|
492
|
+
# define PEM_R_SHORT_HEADER 112
|
493
|
+
# define PEM_R_UNEXPECTED_DEK_IV 130
|
494
|
+
# define PEM_R_UNSUPPORTED_CIPHER 113
|
495
|
+
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
496
|
+
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
497
|
+
|
498
|
+
# ifdef __cplusplus
|
499
|
+
}
|
500
|
+
# endif
|
501
|
+
#endif
|