glib2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1609) hide show
  1. checksums.yaml +7 -0
  2. data/README +4 -4
  3. data/Rakefile +31 -10
  4. data/ext/glib2/extconf.rb +2 -1
  5. data/ext/glib2/glib2.def +1 -0
  6. data/ext/glib2/rbglib.c +6 -5
  7. data/ext/glib2/rbglib.h +3 -3
  8. data/ext/glib2/rbglib_bookmarkfile.c +0 -5
  9. data/ext/glib2/rbglib_error.c +8 -11
  10. data/ext/glib2/rbglib_gettext.c +48 -0
  11. data/ext/glib2/rbglib_i18n.c +0 -4
  12. data/ext/glib2/rbglib_keyfile.c +0 -20
  13. data/ext/glib2/rbglib_maincontext.c +0 -14
  14. data/ext/glib2/rbglib_source.c +0 -4
  15. data/ext/glib2/rbglib_timer.c +0 -4
  16. data/ext/glib2/rbglib_unichar.c +0 -8
  17. data/ext/glib2/rbglib_utf8.c +0 -2
  18. data/ext/glib2/rbglib_utils.c +0 -16
  19. data/ext/glib2/rbglib_win32.c +0 -7
  20. data/ext/glib2/rbgobj_object.c +8 -12
  21. data/ext/glib2/rbgobj_strv.c +0 -4
  22. data/ext/glib2/rbgobj_typeinterface.c +0 -6
  23. data/ext/glib2/rbgobj_value.c +12 -0
  24. data/ext/glib2/rbgobject.c +20 -18
  25. data/ext/glib2/rbgobject.h +1 -0
  26. data/ext/glib2/rbgprivate.h +5 -2
  27. data/lib/1.9/glib2.so +0 -0
  28. data/lib/2.0/glib2.so +0 -0
  29. data/lib/glib2.rb +4 -0
  30. data/lib/gnome2/rake/external-package.rb +20 -3
  31. data/lib/gnome2/rake/native-binary-build-task.rb +47 -30
  32. data/lib/gnome2/rake/package-task.rb +13 -4
  33. data/lib/gnome2/rake/source-download-task.rb +2 -1
  34. data/lib/gnome2/rake/win32-binary-build-task.rb +28 -3
  35. data/lib/mkmf-gnome2.rb +2 -8
  36. data/vendor/local/bin/certtool.exe +0 -0
  37. data/vendor/local/bin/danetool.exe +0 -0
  38. data/vendor/local/bin/gdbus.exe +0 -0
  39. data/vendor/local/bin/gio-querymodules.exe +0 -0
  40. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  41. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  42. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  43. data/vendor/local/bin/glib-gettextize +1 -1
  44. data/vendor/local/bin/glib-mkenums +1 -1
  45. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  46. data/vendor/local/bin/gnutls-cli.exe +0 -0
  47. data/vendor/local/bin/gnutls-serv.exe +0 -0
  48. data/vendor/local/bin/gobject-query.exe +0 -0
  49. data/vendor/local/bin/gresource.exe +0 -0
  50. data/vendor/local/bin/gsettings.exe +0 -0
  51. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  52. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  53. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  54. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  55. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  56. data/vendor/local/bin/libgmp-10.dll +0 -0
  57. data/vendor/local/bin/libgnutls-28.def +839 -827
  58. data/vendor/local/bin/libgnutls-28.dll +0 -0
  59. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  60. data/vendor/local/bin/libgnutls-openssl-28.def +148 -229
  61. data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
  62. data/vendor/local/bin/libgnutls-xssl-28.def +96 -175
  63. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  64. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  65. data/vendor/local/bin/libhogweed-2-5.dll +0 -0
  66. data/vendor/local/bin/libnettle-4-7.dll +0 -0
  67. data/vendor/local/bin/nettle-hash.exe +0 -0
  68. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  69. data/vendor/local/bin/ocsptool.exe +0 -0
  70. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  71. data/vendor/local/bin/psktool.exe +0 -0
  72. data/vendor/local/bin/sexp-conv.exe +0 -0
  73. data/vendor/local/bin/srptool.exe +0 -0
  74. data/vendor/local/include/glib-2.0/gio/gaction.h +14 -0
  75. data/vendor/local/include/glib-2.0/gio/gapplication.h +5 -0
  76. data/vendor/local/include/glib-2.0/gio/gbytesicon.h +54 -0
  77. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +32 -3
  78. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +2 -0
  79. data/vendor/local/include/glib-2.0/gio/gfile.h +97 -8
  80. data/vendor/local/include/glib-2.0/gio/gicon.h +7 -0
  81. data/vendor/local/include/glib-2.0/gio/gio.h +2 -0
  82. data/vendor/local/include/glib-2.0/gio/gioenums.h +31 -1
  83. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
  84. data/vendor/local/include/glib-2.0/gio/giotypes.h +45 -0
  85. data/vendor/local/include/glib-2.0/gio/gmenu.h +7 -0
  86. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +31 -0
  87. data/vendor/local/include/glib-2.0/gio/gnetworking.h +1 -0
  88. data/vendor/local/include/glib-2.0/gio/gpropertyaction.h +49 -0
  89. data/vendor/local/include/glib-2.0/gio/gsettings.h +2 -2
  90. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +4 -0
  91. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +4 -4
  92. data/vendor/local/include/glib-2.0/gio/gvfs.h +2 -1
  93. data/vendor/local/include/glib-2.0/glib/galloca.h +3 -1
  94. data/vendor/local/include/glib-2.0/glib/gdir.h +4 -0
  95. data/vendor/local/include/glib-2.0/glib/giochannel.h +1 -1
  96. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +2 -0
  97. data/vendor/local/include/glib-2.0/glib/gmacros.h +22 -3
  98. data/vendor/local/include/glib-2.0/glib/gmain.h +12 -7
  99. data/vendor/local/include/glib-2.0/glib/gmessages.h +10 -6
  100. data/vendor/local/include/glib-2.0/glib/gnode.h +4 -4
  101. data/vendor/local/include/glib-2.0/glib/gregex.h +3 -1
  102. data/vendor/local/include/glib-2.0/glib/gscanner.h +2 -2
  103. data/vendor/local/include/glib-2.0/glib/gspawn.h +2 -0
  104. data/vendor/local/include/glib-2.0/glib/gtestutils.h +64 -9
  105. data/vendor/local/include/glib-2.0/glib/gunicode.h +1 -1
  106. data/vendor/local/include/glib-2.0/glib/gutils.h +2 -2
  107. data/vendor/local/include/glib-2.0/glib/gvariant.h +5 -0
  108. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +24 -0
  109. data/vendor/local/include/glib-2.0/gmodule.h +4 -4
  110. data/vendor/local/include/glib-2.0/gobject/gbinding.h +12 -7
  111. data/vendor/local/include/glib-2.0/gobject/gobject.h +1 -1
  112. data/vendor/local/include/glib-2.0/gobject/gparam.h +3 -2
  113. data/vendor/local/include/glib-2.0/gobject/gtype.h +192 -5
  114. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +12 -3
  115. data/vendor/local/include/gmp.h +1 -1
  116. data/vendor/local/include/gnutls/abstract.h +317 -296
  117. data/vendor/local/include/gnutls/compat.h +264 -202
  118. data/vendor/local/include/gnutls/crypto.h +69 -60
  119. data/vendor/local/include/gnutls/dtls.h +34 -30
  120. data/vendor/local/include/gnutls/gnutls.h +1310 -1211
  121. data/vendor/local/include/gnutls/ocsp.h +140 -142
  122. data/vendor/local/include/gnutls/openpgp.h +262 -270
  123. data/vendor/local/include/gnutls/openssl.h +153 -157
  124. data/vendor/local/include/gnutls/pkcs11.h +199 -176
  125. data/vendor/local/include/gnutls/pkcs12.h +87 -86
  126. data/vendor/local/include/gnutls/tpm.h +24 -21
  127. data/vendor/local/include/gnutls/x509.h +929 -857
  128. data/vendor/local/include/gnutls/xssl.h +66 -62
  129. data/vendor/local/include/nettle/nettle-stdint.h +1 -1
  130. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  131. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  132. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  133. data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
  134. data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -2
  135. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  136. data/vendor/local/lib/libgio-2.0.la +3 -3
  137. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  138. data/vendor/local/lib/libglib-2.0.la +2 -2
  139. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  140. data/vendor/local/lib/libgmodule-2.0.la +2 -2
  141. data/vendor/local/lib/libgmp.dll.a +0 -0
  142. data/vendor/local/lib/libgmp.la +1 -1
  143. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  144. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  145. data/vendor/local/lib/libgnutls-openssl.la +2 -2
  146. data/vendor/local/lib/libgnutls-xssl.a +0 -0
  147. data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
  148. data/vendor/local/lib/libgnutls-xssl.la +2 -2
  149. data/vendor/local/lib/libgnutls.a +0 -0
  150. data/vendor/local/lib/libgnutls.dll.a +0 -0
  151. data/vendor/local/lib/libgnutls.la +4 -4
  152. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  153. data/vendor/local/lib/libgobject-2.0.la +2 -2
  154. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  155. data/vendor/local/lib/libgthread-2.0.la +2 -2
  156. data/vendor/local/lib/libhogweed.a +0 -0
  157. data/vendor/local/lib/libhogweed.dll.a +0 -0
  158. data/vendor/local/lib/libnettle.a +0 -0
  159. data/vendor/local/lib/libnettle.dll.a +0 -0
  160. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  161. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  162. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  163. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  164. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  165. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  166. data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
  167. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  168. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  169. data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
  170. data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
  171. data/vendor/local/share/aclocal/glib-gettext.m4 +0 -1
  172. data/vendor/local/share/bash-completion/completions/gsettings +1 -1
  173. data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3600.0-gdb.py → libglib-2.0.so.0.3800.2-gdb.py} +0 -0
  174. data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3600.0-gdb.py → libgobject-2.0.so.0.3800.2-gdb.py} +0 -0
  175. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  176. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  177. data/vendor/local/share/glib-2.0/codegen/codegen.py +42 -45
  178. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  179. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  180. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  181. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  182. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +1 -1
  183. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  184. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  185. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  186. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  187. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  188. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  189. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  190. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  191. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  192. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  193. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  194. data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
  195. data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +2 -2
  196. data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +2 -2
  197. data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +2 -2
  198. data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/gio/GAction.html +162 -2
  200. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +3 -3
  201. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +3 -3
  202. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +3 -3
  203. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +73 -2
  204. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +2 -2
  205. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +2 -2
  206. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +3 -3
  207. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +2 -2
  208. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
  209. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +2 -2
  210. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
  211. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +2 -2
  212. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +2 -2
  213. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +2 -2
  214. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +63 -9
  216. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +2 -2
  218. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +2 -2
  219. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +57 -2
  221. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +2 -2
  222. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -2
  224. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +2 -2
  225. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +2 -2
  226. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +3 -3
  228. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +2 -2
  229. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +2 -2
  230. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +2 -2
  231. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +2 -2
  232. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gio/GFile.html +642 -10
  235. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +23 -2
  237. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +2 -2
  238. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +4 -4
  239. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +2 -2
  240. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +2 -2
  241. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +2 -2
  242. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +2 -2
  243. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +2 -2
  244. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +2 -2
  245. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +2 -2
  246. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +2 -2
  247. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +83 -6
  249. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +2 -2
  251. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +2 -2
  253. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +7 -5
  254. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +2 -2
  256. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +69 -11
  257. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +28 -9
  258. data/vendor/local/share/gtk-doc/html/gio/GMount.html +2 -2
  259. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
  269. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +5 -5
  271. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +2 -2
  273. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2 -2
  274. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +2 -2
  275. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +7 -4
  276. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +18 -2
  277. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +2 -2
  278. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +29 -2
  280. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +37 -17
  281. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2 -2
  283. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +16 -3
  284. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +2 -2
  286. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +2 -2
  289. data/vendor/local/share/gtk-doc/html/gio/GTask.html +3 -3
  290. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
  292. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +3 -3
  293. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +2 -2
  294. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +3 -3
  295. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +2 -2
  297. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +2 -2
  298. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +2 -2
  299. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +3 -3
  301. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +2 -2
  302. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +2 -2
  303. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +2 -2
  306. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +2 -2
  307. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +2 -2
  308. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +2 -2
  309. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +2 -2
  310. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +2 -2
  311. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +2 -2
  312. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +2 -2
  313. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +2 -2
  314. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +3 -3
  315. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +37 -31
  317. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  318. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  319. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  320. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  321. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  322. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  323. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  324. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
  325. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
  326. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +8 -4
  327. data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +166 -0
  328. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -2
  329. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +118 -2
  330. data/vendor/local/share/gtk-doc/html/gio/application.html +6 -3
  331. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  332. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  333. data/vendor/local/share/gtk-doc/html/gio/ch02.html +2 -2
  334. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/ch29.html +2 -2
  336. data/vendor/local/share/gtk-doc/html/gio/ch30.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +2 -2
  339. data/vendor/local/share/gtk-doc/html/gio/ch31.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +4 -4
  341. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +22 -22
  342. data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +4 -4
  343. data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +3 -3
  344. data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  347. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +20 -20
  348. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +5 -5
  349. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +4 -4
  350. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +4 -4
  351. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  352. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  353. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  354. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -3
  360. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +2 -2
  365. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +3 -3
  366. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +140 -10
  367. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +2 -2
  369. data/vendor/local/share/gtk-doc/html/gio/gio-GBytesIcon.html +127 -0
  370. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +2 -2
  377. data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +2 -2
  378. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/gio/gio-GPropertyAction.html +177 -0
  380. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +2 -2
  381. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +3 -3
  382. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +2 -2
  383. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +2 -2
  385. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +2 -2
  387. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +2 -2
  388. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
  389. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +3 -3
  390. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +2 -2
  391. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  392. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +44 -6
  393. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +2 -2
  394. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  395. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +4 -4
  396. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +6 -2
  397. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -3
  398. data/vendor/local/share/gtk-doc/html/gio/icons.html +5 -2
  399. data/vendor/local/share/gtk-doc/html/gio/index.html +15 -8
  400. data/vendor/local/share/gtk-doc/html/gio/index.sgml +53 -9
  401. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  402. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  403. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  404. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  405. data/vendor/local/share/gtk-doc/html/gio/pt02.html +13 -7
  406. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  407. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  408. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  409. data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -3
  410. data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -3
  411. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  412. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  413. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  414. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  415. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  416. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  417. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +31 -34
  418. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  419. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  420. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +4 -4
  421. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  422. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  423. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  424. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  425. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  426. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  427. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  428. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  429. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  430. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  431. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
  432. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +13 -6
  433. data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +78 -0
  434. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +4 -4
  435. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  436. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  437. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +10 -2
  438. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +56 -16
  439. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  440. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
  441. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +2 -2
  442. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +2 -2
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +2 -2
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +2 -2
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +17 -14
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +2 -2
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2 -2
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +2 -2
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +2 -2
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +2 -2
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +2 -2
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +4 -4
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +6 -4
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +2 -2
  462. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +5 -4
  463. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +28 -3
  464. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +3 -3
  465. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +87 -7
  466. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +2 -2
  467. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +2 -2
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
  470. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
  471. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +2 -2
  472. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +4 -3
  473. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2 -2
  474. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +5 -5
  475. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +4 -4
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +2 -2
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +2 -2
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +3 -3
  480. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +19 -9
  481. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +36 -15
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +2 -2
  485. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2 -2
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +2 -2
  490. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +2 -2
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +4 -4
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +11 -5
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2 -2
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +3 -3
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +520 -90
  498. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +116 -19
  499. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +8 -5
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  502. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
  503. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +2 -2
  504. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +3 -3
  505. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +8 -5
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -5
  507. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +5 -5
  508. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +4 -4
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
  510. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -3
  511. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  512. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  513. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  514. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -3
  515. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  516. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  517. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  518. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  519. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  520. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  521. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -3
  522. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  523. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +20 -3
  524. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  527. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
  529. data/vendor/local/share/gtk-doc/html/glib/index.html +4 -3
  530. data/vendor/local/share/gtk-doc/html/glib/index.sgml +24 -8
  531. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +58 -13
  533. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +2 -2
  534. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +2 -2
  535. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +38 -32
  536. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
  537. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  538. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  539. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  541. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  542. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  543. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  545. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  546. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  547. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
  548. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +8 -4
  549. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +73 -0
  550. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
  551. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  552. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  553. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  554. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +73 -34
  555. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
  556. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  557. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +2 -2
  558. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  559. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +2 -2
  560. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
  561. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
  562. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +2 -2
  563. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2 -2
  564. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +2 -2
  565. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +9 -3
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +2 -2
  567. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +37 -20
  568. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +2 -2
  569. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +4 -4
  570. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +332 -8
  571. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +2 -2
  572. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +4 -33
  573. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  574. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +2 -2
  575. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  576. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +10 -0
  577. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
  578. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  579. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
  580. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  581. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +18 -20
  582. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +6 -4
  583. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +40 -29
  584. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +21 -26
  585. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +21 -28
  586. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +45 -60
  587. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
  588. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +3 -5
  589. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +3 -3
  590. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +5 -7
  591. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +2 -2
  592. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  593. data/vendor/local/share/gtk-doc/html/gobject/index.html +4 -3
  594. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +17 -8
  595. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  596. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  597. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  598. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  599. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  600. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  601. data/vendor/local/share/gtk-doc/html/gobject/signal.html +2 -2
  602. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  603. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  604. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
  605. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  606. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  607. data/vendor/local/share/info/dir +2 -2
  608. data/vendor/local/share/info/gmp.info +125 -125
  609. data/vendor/local/share/info/gmp.info-1 +282 -265
  610. data/vendor/local/share/info/gmp.info-2 +159 -134
  611. data/vendor/local/share/info/gnutls-guile.info +720 -226
  612. data/vendor/local/share/info/gnutls.info +1327 -1278
  613. data/vendor/local/share/info/gnutls.info-1 +635 -561
  614. data/vendor/local/share/info/gnutls.info-2 +3411 -2824
  615. data/vendor/local/share/info/gnutls.info-3 +315 -30
  616. data/vendor/local/share/info/gnutls.info-4 +375 -2088
  617. data/vendor/local/share/info/gnutls.info-5 +0 -0
  618. data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
  619. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  620. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  621. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  622. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  623. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  624. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  625. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  626. data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
  627. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  628. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  629. data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
  630. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  631. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
  632. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
  633. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  634. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  635. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  636. data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
  637. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  638. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  639. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  640. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  641. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  642. data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
  643. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  644. data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
  645. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  646. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  647. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  648. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  649. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  650. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  651. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  652. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  653. data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
  654. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  656. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  658. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  660. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  662. data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
  663. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  664. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  666. data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
  667. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  668. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  670. data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
  671. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  672. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  673. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  674. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  675. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  676. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  678. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  680. data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
  681. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  682. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  683. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  684. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  686. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
  688. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
  690. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
  692. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  693. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  694. data/vendor/local/share/man/man1/certtool.1 +91 -79
  695. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  696. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  697. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  698. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  699. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  700. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  701. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  702. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  703. data/vendor/local/share/man/man1/gnutls-cli-debug.1 +14 -10
  704. data/vendor/local/share/man/man1/gnutls-cli.1 +135 -77
  705. data/vendor/local/share/man/man1/gnutls-serv.1 +47 -42
  706. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  707. data/vendor/local/share/man/man1/gresource.1 +3 -3
  708. data/vendor/local/share/man/man1/gsettings.1 +3 -1
  709. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  710. data/vendor/local/share/man/man1/gtester.1 +1 -1
  711. data/vendor/local/share/man/man1/ocsptool.1 +29 -24
  712. data/vendor/local/share/man/man1/p11tool.1 +69 -39
  713. data/vendor/local/share/man/man1/psktool.1 +16 -12
  714. data/vendor/local/share/man/man1/srptool.1 +27 -18
  715. data/vendor/local/share/man/man1/tpmtool.1 +27 -23
  716. data/vendor/local/share/man/man3/gnutls_alert_get.3 +2 -2
  717. data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +2 -2
  718. data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +2 -2
  719. data/vendor/local/share/man/man3/gnutls_alert_send.3 +2 -2
  720. data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +2 -2
  721. data/vendor/local/share/man/man3/gnutls_alpn_get_selected_protocol.3 +51 -0
  722. data/vendor/local/share/man/man3/gnutls_alpn_set_protocols.3 +57 -0
  723. data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +4 -4
  724. data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +4 -4
  725. data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +2 -2
  726. data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +2 -2
  727. data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +2 -2
  728. data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +2 -2
  729. data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +4 -4
  730. data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +2 -2
  731. data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +2 -2
  732. data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +2 -2
  733. data/vendor/local/share/man/man3/gnutls_bye.3 +2 -2
  734. data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +2 -2
  735. data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +4 -4
  736. data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +2 -2
  737. data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +71 -0
  738. data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +2 -2
  739. data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +2 -2
  740. data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +2 -2
  741. data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +2 -2
  742. data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +2 -2
  743. data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +2 -2
  744. data/vendor/local/share/man/man3/gnutls_certificate_get_crt_raw.3 +57 -0
  745. data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +4 -4
  746. data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +2 -2
  747. data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +4 -4
  748. data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +2 -2
  749. data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +2 -2
  750. data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +2 -2
  751. data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +59 -0
  752. data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +2 -2
  753. data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +9 -7
  754. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +4 -4
  755. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +2 -2
  756. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +2 -2
  757. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +4 -4
  758. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +4 -4
  759. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +4 -4
  760. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +4 -4
  761. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +2 -2
  762. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +4 -4
  763. data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +4 -4
  764. data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +4 -4
  765. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +2 -2
  766. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +2 -2
  767. data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +4 -4
  768. data/vendor/local/share/man/man3/gnutls_certificate_set_trust_list.3 +54 -0
  769. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +4 -4
  770. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +2 -2
  771. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +2 -2
  772. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +2 -2
  773. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +2 -2
  774. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +2 -2
  775. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +2 -2
  776. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +9 -2
  777. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file2.3 +11 -4
  778. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +2 -2
  779. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem2.3 +4 -4
  780. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +2 -2
  781. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +2 -2
  782. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +4 -4
  783. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +2 -2
  784. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +4 -4
  785. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +2 -2
  786. data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +2 -2
  787. data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +2 -2
  788. data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +4 -4
  789. data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +2 -2
  790. data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +2 -2
  791. data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +4 -4
  792. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +2 -2
  793. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +4 -4
  794. data/vendor/local/share/man/man3/gnutls_check_version.3 +2 -2
  795. data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +2 -2
  796. data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +5 -2
  797. data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +5 -2
  798. data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +2 -2
  799. data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +2 -2
  800. data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +2 -2
  801. data/vendor/local/share/man/man3/gnutls_cipher_get.3 +2 -2
  802. data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +3 -5
  803. data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +2 -2
  804. data/vendor/local/share/man/man3/gnutls_cipher_get_iv_size.3 +46 -0
  805. data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +2 -2
  806. data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +2 -2
  807. data/vendor/local/share/man/man3/gnutls_cipher_get_tag_size.3 +44 -0
  808. data/vendor/local/share/man/man3/gnutls_cipher_init.3 +2 -2
  809. data/vendor/local/share/man/man3/gnutls_cipher_list.3 +2 -2
  810. data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +2 -2
  811. data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +2 -2
  812. data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +6 -6
  813. data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +2 -2
  814. data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +2 -2
  815. data/vendor/local/share/man/man3/gnutls_compression_get.3 +2 -2
  816. data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +2 -2
  817. data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +4 -4
  818. data/vendor/local/share/man/man3/gnutls_compression_list.3 +2 -2
  819. data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +2 -2
  820. data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +2 -2
  821. data/vendor/local/share/man/man3/gnutls_credentials_set.3 +2 -2
  822. data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +2 -2
  823. data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +2 -2
  824. data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +2 -2
  825. data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +2 -2
  826. data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +2 -2
  827. data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +2 -2
  828. data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +2 -2
  829. data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +2 -2
  830. data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +2 -2
  831. data/vendor/local/share/man/man3/gnutls_deinit.3 +2 -2
  832. data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +2 -2
  833. data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +2 -2
  834. data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +2 -2
  835. data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +2 -2
  836. data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +2 -2
  837. data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +2 -2
  838. data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +2 -2
  839. data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +2 -2
  840. data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +2 -2
  841. data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +2 -2
  842. data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +2 -2
  843. data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +2 -2
  844. data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +2 -2
  845. data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +2 -2
  846. data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +3 -3
  847. data/vendor/local/share/man/man3/gnutls_digest_get_id.3 +46 -0
  848. data/vendor/local/share/man/man3/gnutls_digest_get_name.3 +45 -0
  849. data/vendor/local/share/man/man3/gnutls_digest_list.3 +47 -0
  850. data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +10 -6
  851. data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +10 -8
  852. data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +3 -3
  853. data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +2 -2
  854. data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +2 -2
  855. data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +7 -4
  856. data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +5 -2
  857. data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +2 -2
  858. data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +4 -2
  859. data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +2 -2
  860. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +2 -2
  861. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +2 -2
  862. data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +2 -2
  863. data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +9 -6
  864. data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +2 -2
  865. data/vendor/local/share/man/man3/gnutls_est_record_overhead_size.3 +58 -0
  866. data/vendor/local/share/man/man3/gnutls_fingerprint.3 +2 -2
  867. data/vendor/local/share/man/man3/gnutls_global_deinit.3 +2 -2
  868. data/vendor/local/share/man/man3/gnutls_global_init.3 +9 -11
  869. data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +7 -6
  870. data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +2 -2
  871. data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +2 -2
  872. data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +2 -2
  873. data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +2 -2
  874. data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +2 -2
  875. data/vendor/local/share/man/man3/gnutls_handshake.3 +2 -2
  876. data/vendor/local/share/man/man3/gnutls_handshake_description_get_name.3 +45 -0
  877. data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +2 -2
  878. data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +2 -2
  879. data/vendor/local/share/man/man3/gnutls_handshake_set_hook_function.3 +66 -0
  880. data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +2 -2
  881. data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +4 -4
  882. data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +2 -2
  883. data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +4 -4
  884. data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +2 -2
  885. data/vendor/local/share/man/man3/gnutls_hash.3 +2 -2
  886. data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +2 -2
  887. data/vendor/local/share/man/man3/gnutls_hash_fast.3 +2 -2
  888. data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +2 -2
  889. data/vendor/local/share/man/man3/gnutls_hash_init.3 +2 -2
  890. data/vendor/local/share/man/man3/gnutls_hash_output.3 +2 -2
  891. data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +2 -2
  892. data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +8 -4
  893. data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +2 -2
  894. data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +2 -2
  895. data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +2 -2
  896. data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +4 -7
  897. data/vendor/local/share/man/man3/gnutls_hex2bin.3 +2 -2
  898. data/vendor/local/share/man/man3/gnutls_hex_decode.3 +2 -2
  899. data/vendor/local/share/man/man3/gnutls_hex_encode.3 +4 -2
  900. data/vendor/local/share/man/man3/gnutls_hmac.3 +2 -2
  901. data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +2 -2
  902. data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +2 -2
  903. data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +2 -2
  904. data/vendor/local/share/man/man3/gnutls_hmac_init.3 +5 -2
  905. data/vendor/local/share/man/man3/gnutls_hmac_output.3 +2 -2
  906. data/vendor/local/share/man/man3/gnutls_hmac_set_nonce.3 +48 -0
  907. data/vendor/local/share/man/man3/gnutls_init.3 +6 -2
  908. data/vendor/local/share/man/man3/gnutls_key_generate.3 +2 -2
  909. data/vendor/local/share/man/man3/gnutls_kx_get.3 +2 -2
  910. data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +2 -2
  911. data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +2 -2
  912. data/vendor/local/share/man/man3/gnutls_kx_list.3 +2 -2
  913. data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +2 -2
  914. data/vendor/local/share/man/man3/gnutls_load_file.3 +4 -4
  915. data/vendor/local/share/man/man3/gnutls_mac_get.3 +2 -2
  916. data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +2 -2
  917. data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +3 -3
  918. data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +2 -2
  919. data/vendor/local/share/man/man3/gnutls_mac_get_nonce_size.3 +46 -0
  920. data/vendor/local/share/man/man3/gnutls_mac_list.3 +3 -6
  921. data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +2 -2
  922. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +2 -2
  923. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +2 -2
  924. data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +2 -2
  925. data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +2 -2
  926. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +2 -2
  927. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +2 -2
  928. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +2 -2
  929. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +2 -2
  930. data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +2 -2
  931. data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +2 -2
  932. data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +2 -2
  933. data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +2 -2
  934. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +2 -2
  935. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +2 -2
  936. data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +2 -2
  937. data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +2 -2
  938. data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +2 -2
  939. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +2 -2
  940. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +2 -2
  941. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +2 -2
  942. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +2 -2
  943. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +2 -2
  944. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +2 -2
  945. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +2 -2
  946. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +2 -2
  947. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +2 -2
  948. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +2 -2
  949. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +2 -2
  950. data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +2 -2
  951. data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +2 -2
  952. data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +2 -2
  953. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +2 -2
  954. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +2 -2
  955. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +2 -2
  956. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +2 -2
  957. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +2 -2
  958. data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +2 -2
  959. data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +2 -2
  960. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +2 -2
  961. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +2 -2
  962. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +2 -2
  963. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +2 -2
  964. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +2 -2
  965. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +2 -2
  966. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +2 -2
  967. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +2 -2
  968. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +2 -2
  969. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +2 -2
  970. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +2 -2
  971. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +2 -2
  972. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +2 -2
  973. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +2 -2
  974. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +2 -2
  975. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +2 -2
  976. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +2 -2
  977. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +2 -2
  978. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +2 -2
  979. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +2 -2
  980. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +2 -2
  981. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +2 -2
  982. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +2 -2
  983. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +2 -2
  984. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +2 -2
  985. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +2 -2
  986. data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +2 -2
  987. data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +2 -2
  988. data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +2 -2
  989. data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +2 -2
  990. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +2 -2
  991. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +2 -2
  992. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +2 -2
  993. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +2 -2
  994. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +2 -2
  995. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +2 -2
  996. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +2 -2
  997. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +2 -2
  998. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +2 -2
  999. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +2 -2
  1000. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +2 -2
  1001. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +2 -2
  1002. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +2 -2
  1003. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +2 -2
  1004. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +2 -2
  1005. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +2 -2
  1006. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +2 -2
  1007. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +2 -2
  1008. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +2 -2
  1009. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +2 -2
  1010. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +2 -2
  1011. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +4 -4
  1012. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +49 -0
  1013. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +2 -2
  1014. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +2 -2
  1015. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +2 -2
  1016. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +4 -4
  1017. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +4 -4
  1018. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +2 -2
  1019. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +2 -2
  1020. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +2 -2
  1021. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +4 -4
  1022. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +2 -2
  1023. data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +2 -2
  1024. data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +2 -2
  1025. data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +2 -2
  1026. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +4 -4
  1027. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +4 -4
  1028. data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +4 -4
  1029. data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +4 -4
  1030. data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +2 -2
  1031. data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +2 -2
  1032. data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +2 -2
  1033. data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +2 -2
  1034. data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +2 -2
  1035. data/vendor/local/share/man/man3/gnutls_perror.3 +2 -2
  1036. data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +2 -2
  1037. data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +2 -2
  1038. data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +2 -2
  1039. data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +2 -2
  1040. data/vendor/local/share/man/man3/gnutls_pk_list.3 +2 -2
  1041. data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +2 -2
  1042. data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +2 -2
  1043. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +2 -2
  1044. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +2 -2
  1045. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +2 -2
  1046. data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +2 -2
  1047. data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +2 -2
  1048. data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +2 -2
  1049. data/vendor/local/share/man/man3/gnutls_pkcs11_get_raw_issuer.3 +56 -0
  1050. data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +2 -2
  1051. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +2 -2
  1052. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +3 -6
  1053. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +3 -6
  1054. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export3.3 +55 -0
  1055. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +2 -2
  1056. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +2 -2
  1057. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +2 -2
  1058. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +2 -2
  1059. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +2 -2
  1060. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +2 -2
  1061. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +2 -2
  1062. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +2 -2
  1063. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +2 -2
  1064. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +2 -2
  1065. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +5 -5
  1066. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +5 -5
  1067. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +2 -2
  1068. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +2 -2
  1069. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +2 -2
  1070. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +2 -2
  1071. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +2 -2
  1072. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +2 -2
  1073. data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +2 -2
  1074. data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +2 -2
  1075. data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +2 -2
  1076. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +2 -2
  1077. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +2 -2
  1078. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +2 -2
  1079. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_random.3 +51 -0
  1080. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +2 -2
  1081. data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +2 -2
  1082. data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +2 -2
  1083. data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +2 -2
  1084. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +2 -2
  1085. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +2 -2
  1086. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +2 -2
  1087. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +2 -2
  1088. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +2 -2
  1089. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +2 -2
  1090. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +2 -2
  1091. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +2 -2
  1092. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +2 -2
  1093. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +2 -2
  1094. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +2 -2
  1095. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +2 -2
  1096. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +2 -2
  1097. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +2 -2
  1098. data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +2 -2
  1099. data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +2 -2
  1100. data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +2 -2
  1101. data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +2 -2
  1102. data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +2 -2
  1103. data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +2 -2
  1104. data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +2 -2
  1105. data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +2 -2
  1106. data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +2 -2
  1107. data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +2 -2
  1108. data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +2 -2
  1109. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +2 -2
  1110. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +2 -2
  1111. data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +2 -2
  1112. data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +2 -2
  1113. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +2 -2
  1114. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +2 -2
  1115. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +2 -2
  1116. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +2 -2
  1117. data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +2 -2
  1118. data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +2 -2
  1119. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +2 -2
  1120. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +2 -2
  1121. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +2 -2
  1122. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +2 -2
  1123. data/vendor/local/share/man/man3/gnutls_prf.3 +5 -4
  1124. data/vendor/local/share/man/man3/gnutls_prf_raw.3 +2 -2
  1125. data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +4 -4
  1126. data/vendor/local/share/man/man3/gnutls_priority_cipher_list.3 +49 -0
  1127. data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +4 -4
  1128. data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +2 -2
  1129. data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +4 -4
  1130. data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +2 -2
  1131. data/vendor/local/share/man/man3/gnutls_priority_init.3 +10 -3
  1132. data/vendor/local/share/man/man3/gnutls_priority_kx_list.3 +49 -0
  1133. data/vendor/local/share/man/man3/gnutls_priority_mac_list.3 +49 -0
  1134. data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +4 -4
  1135. data/vendor/local/share/man/man3/gnutls_priority_set.3 +2 -2
  1136. data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +2 -2
  1137. data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +4 -4
  1138. data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +2 -2
  1139. data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +2 -2
  1140. data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +2 -2
  1141. data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +2 -2
  1142. data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +5 -6
  1143. data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +7 -5
  1144. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +2 -2
  1145. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +4 -4
  1146. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +2 -2
  1147. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +2 -2
  1148. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +2 -2
  1149. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +4 -4
  1150. data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +2 -2
  1151. data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +2 -2
  1152. data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +4 -4
  1153. data/vendor/local/share/man/man3/gnutls_privkey_init.3 +2 -2
  1154. data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +2 -2
  1155. data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +3 -3
  1156. data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +6 -3
  1157. data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +3 -3
  1158. data/vendor/local/share/man/man3/gnutls_privkey_status.3 +2 -2
  1159. data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +2 -2
  1160. data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +2 -2
  1161. data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +2 -2
  1162. data/vendor/local/share/man/man3/gnutls_protocol_list.3 +2 -2
  1163. data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +2 -2
  1164. data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +4 -4
  1165. data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +4 -4
  1166. data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +2 -2
  1167. data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +2 -2
  1168. data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +2 -2
  1169. data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +2 -2
  1170. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +2 -2
  1171. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +5 -5
  1172. data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +2 -2
  1173. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +4 -4
  1174. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +5 -5
  1175. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +2 -2
  1176. data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +2 -2
  1177. data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +2 -2
  1178. data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +2 -2
  1179. data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +2 -2
  1180. data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +2 -2
  1181. data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +2 -2
  1182. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +2 -2
  1183. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +2 -2
  1184. data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +2 -2
  1185. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +2 -2
  1186. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +2 -2
  1187. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +2 -2
  1188. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +4 -4
  1189. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +2 -2
  1190. data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +4 -4
  1191. data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +2 -2
  1192. data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +2 -2
  1193. data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +2 -2
  1194. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +2 -2
  1195. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +2 -2
  1196. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +2 -2
  1197. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +2 -2
  1198. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +2 -2
  1199. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +2 -2
  1200. data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +2 -2
  1201. data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +2 -2
  1202. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +2 -2
  1203. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +4 -4
  1204. data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +2 -2
  1205. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +2 -2
  1206. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +2 -2
  1207. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +2 -2
  1208. data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +2 -2
  1209. data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +2 -2
  1210. data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +2 -2
  1211. data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +2 -2
  1212. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +3 -3
  1213. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +3 -3
  1214. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +3 -3
  1215. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +3 -3
  1216. data/vendor/local/share/man/man3/gnutls_random_art.3 +5 -5
  1217. data/vendor/local/share/man/man3/gnutls_range_split.3 +2 -2
  1218. data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +2 -2
  1219. data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +2 -2
  1220. data/vendor/local/share/man/man3/gnutls_record_cork.3 +2 -2
  1221. data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +2 -2
  1222. data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +2 -2
  1223. data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +2 -2
  1224. data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +2 -2
  1225. data/vendor/local/share/man/man3/gnutls_record_overhead_size.3 +45 -0
  1226. data/vendor/local/share/man/man3/gnutls_record_recv.3 +2 -2
  1227. data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +2 -2
  1228. data/vendor/local/share/man/man3/gnutls_record_send.3 +8 -4
  1229. data/vendor/local/share/man/man3/gnutls_record_send_range.3 +2 -2
  1230. data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +2 -2
  1231. data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +2 -2
  1232. data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +2 -2
  1233. data/vendor/local/share/man/man3/gnutls_record_uncork.3 +2 -2
  1234. data/vendor/local/share/man/man3/gnutls_rehandshake.3 +2 -2
  1235. data/vendor/local/share/man/man3/gnutls_rnd.3 +2 -2
  1236. data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +2 -2
  1237. data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +2 -2
  1238. data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +2 -2
  1239. data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +2 -2
  1240. data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +2 -2
  1241. data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +2 -2
  1242. data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +2 -2
  1243. data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +2 -2
  1244. data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +2 -2
  1245. data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +2 -2
  1246. data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +2 -2
  1247. data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +2 -2
  1248. data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +2 -2
  1249. data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +2 -2
  1250. data/vendor/local/share/man/man3/gnutls_server_name_get.3 +2 -2
  1251. data/vendor/local/share/man/man3/gnutls_server_name_set.3 +2 -2
  1252. data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +2 -2
  1253. data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +5 -2
  1254. data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +2 -2
  1255. data/vendor/local/share/man/man3/gnutls_session_get_data.3 +2 -2
  1256. data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +2 -2
  1257. data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +2 -2
  1258. data/vendor/local/share/man/man3/gnutls_session_get_id.3 +2 -2
  1259. data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +2 -2
  1260. data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +2 -2
  1261. data/vendor/local/share/man/man3/gnutls_session_get_random.3 +5 -5
  1262. data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +2 -2
  1263. data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +2 -2
  1264. data/vendor/local/share/man/man3/gnutls_session_set_data.3 +2 -2
  1265. data/vendor/local/share/man/man3/gnutls_session_set_id.3 +51 -0
  1266. data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +4 -4
  1267. data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +2 -2
  1268. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +2 -2
  1269. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +2 -2
  1270. data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +2 -2
  1271. data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +2 -2
  1272. data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +2 -2
  1273. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +2 -2
  1274. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_client.3 +2 -2
  1275. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +2 -2
  1276. data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +2 -2
  1277. data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +2 -2
  1278. data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +2 -2
  1279. data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +2 -2
  1280. data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +2 -2
  1281. data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +2 -2
  1282. data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +2 -2
  1283. data/vendor/local/share/man/man3/gnutls_sign_list.3 +2 -2
  1284. data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +4 -4
  1285. data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +4 -4
  1286. data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +2 -2
  1287. data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +2 -2
  1288. data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +2 -2
  1289. data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +2 -2
  1290. data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +2 -2
  1291. data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +2 -2
  1292. data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +2 -2
  1293. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +2 -2
  1294. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +5 -5
  1295. data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +2 -2
  1296. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +2 -2
  1297. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +7 -7
  1298. data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +3 -3
  1299. data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +2 -2
  1300. data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +2 -2
  1301. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +2 -2
  1302. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +2 -2
  1303. data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +2 -2
  1304. data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +2 -2
  1305. data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +2 -2
  1306. data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +2 -2
  1307. data/vendor/local/share/man/man3/gnutls_store_commitment.3 +7 -7
  1308. data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +6 -6
  1309. data/vendor/local/share/man/man3/gnutls_strerror.3 +2 -2
  1310. data/vendor/local/share/man/man3/gnutls_strerror_name.3 +2 -2
  1311. data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +4 -4
  1312. data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +2 -2
  1313. data/vendor/local/share/man/man3/gnutls_tdb_init.3 +4 -4
  1314. data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +4 -4
  1315. data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +2 -2
  1316. data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +2 -2
  1317. data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +2 -2
  1318. data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +2 -2
  1319. data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +4 -4
  1320. data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +5 -5
  1321. data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +7 -7
  1322. data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +2 -2
  1323. data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +2 -2
  1324. data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +2 -2
  1325. data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +2 -2
  1326. data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +2 -2
  1327. data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +2 -2
  1328. data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +2 -2
  1329. data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +2 -2
  1330. data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +2 -2
  1331. data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +2 -2
  1332. data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +2 -2
  1333. data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +2 -2
  1334. data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +2 -2
  1335. data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +2 -2
  1336. data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +4 -4
  1337. data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +6 -6
  1338. data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +2 -2
  1339. data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +2 -2
  1340. data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +2 -2
  1341. data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +2 -2
  1342. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +4 -4
  1343. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +2 -2
  1344. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +2 -2
  1345. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +2 -2
  1346. data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +2 -2
  1347. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +2 -2
  1348. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +2 -2
  1349. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +2 -2
  1350. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +2 -2
  1351. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +2 -2
  1352. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +2 -2
  1353. data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +2 -2
  1354. data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +2 -2
  1355. data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +2 -2
  1356. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +2 -2
  1357. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +2 -2
  1358. data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +2 -2
  1359. data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +2 -2
  1360. data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +2 -2
  1361. data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +2 -2
  1362. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +2 -2
  1363. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +2 -2
  1364. data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +2 -2
  1365. data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +2 -2
  1366. data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +2 -2
  1367. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +2 -2
  1368. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +2 -2
  1369. data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +2 -2
  1370. data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +2 -2
  1371. data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +2 -2
  1372. data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +2 -2
  1373. data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +2 -2
  1374. data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +2 -2
  1375. data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +2 -2
  1376. data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +2 -2
  1377. data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +2 -2
  1378. data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +2 -2
  1379. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +2 -2
  1380. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +2 -2
  1381. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +2 -2
  1382. data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +2 -2
  1383. data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +2 -2
  1384. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +2 -2
  1385. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +2 -2
  1386. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +2 -2
  1387. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +2 -2
  1388. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +2 -2
  1389. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +2 -2
  1390. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +2 -2
  1391. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +2 -2
  1392. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +2 -2
  1393. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +2 -2
  1394. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +2 -2
  1395. data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +2 -2
  1396. data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +5 -5
  1397. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +2 -2
  1398. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +2 -2
  1399. data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +2 -2
  1400. data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +2 -2
  1401. data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +2 -2
  1402. data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +2 -2
  1403. data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +2 -2
  1404. data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +2 -2
  1405. data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +2 -2
  1406. data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +2 -2
  1407. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +4 -4
  1408. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +2 -2
  1409. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +2 -2
  1410. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +2 -2
  1411. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +2 -2
  1412. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +2 -2
  1413. data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +2 -2
  1414. data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +2 -2
  1415. data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +2 -2
  1416. data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +2 -2
  1417. data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +2 -2
  1418. data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +2 -2
  1419. data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +2 -2
  1420. data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +2 -2
  1421. data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +2 -2
  1422. data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +2 -2
  1423. data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +2 -2
  1424. data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +2 -2
  1425. data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +2 -2
  1426. data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +2 -2
  1427. data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +2 -2
  1428. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +2 -2
  1429. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +4 -4
  1430. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +2 -2
  1431. data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +2 -2
  1432. data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +2 -2
  1433. data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +2 -2
  1434. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +2 -2
  1435. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +2 -2
  1436. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +2 -2
  1437. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +2 -2
  1438. data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +2 -2
  1439. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +2 -2
  1440. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +2 -2
  1441. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +2 -2
  1442. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +2 -2
  1443. data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +2 -2
  1444. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +2 -2
  1445. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +2 -2
  1446. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +2 -2
  1447. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +2 -2
  1448. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +2 -2
  1449. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +2 -2
  1450. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +2 -2
  1451. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +2 -2
  1452. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +2 -2
  1453. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +2 -2
  1454. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +2 -2
  1455. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +2 -2
  1456. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +2 -2
  1457. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +2 -2
  1458. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +2 -2
  1459. data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +4 -4
  1460. data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +4 -4
  1461. data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +5 -5
  1462. data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +2 -2
  1463. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +2 -2
  1464. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +2 -2
  1465. data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +2 -2
  1466. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +2 -2
  1467. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +2 -2
  1468. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +2 -2
  1469. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +2 -2
  1470. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +2 -2
  1471. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +2 -2
  1472. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +2 -2
  1473. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +2 -2
  1474. data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +2 -2
  1475. data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +2 -2
  1476. data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +2 -2
  1477. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +2 -2
  1478. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +2 -2
  1479. data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +2 -2
  1480. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +2 -2
  1481. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +2 -2
  1482. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +2 -2
  1483. data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +2 -2
  1484. data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +2 -2
  1485. data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +2 -2
  1486. data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +2 -2
  1487. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +2 -2
  1488. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +2 -2
  1489. data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +2 -2
  1490. data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +2 -2
  1491. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +2 -2
  1492. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +2 -2
  1493. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +2 -2
  1494. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +2 -2
  1495. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +4 -4
  1496. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +2 -2
  1497. data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +4 -2
  1498. data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +2 -2
  1499. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +4 -4
  1500. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +2 -2
  1501. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +2 -2
  1502. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +2 -2
  1503. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +2 -2
  1504. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +2 -2
  1505. data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +4 -4
  1506. data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +2 -2
  1507. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +2 -2
  1508. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +2 -2
  1509. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +2 -2
  1510. data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +2 -2
  1511. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +2 -2
  1512. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +4 -4
  1513. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +2 -2
  1514. data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +2 -2
  1515. data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +2 -2
  1516. data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +2 -2
  1517. data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +2 -2
  1518. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +2 -2
  1519. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +2 -2
  1520. data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +2 -2
  1521. data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +2 -2
  1522. data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +2 -2
  1523. data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +2 -2
  1524. data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +2 -2
  1525. data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +2 -2
  1526. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +2 -2
  1527. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +3 -3
  1528. data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +4 -4
  1529. data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +2 -2
  1530. data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +2 -2
  1531. data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +2 -2
  1532. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +2 -2
  1533. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +2 -2
  1534. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +2 -2
  1535. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +4 -4
  1536. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +2 -2
  1537. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +2 -2
  1538. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +2 -2
  1539. data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +2 -2
  1540. data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +6 -2
  1541. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +2 -2
  1542. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +2 -2
  1543. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +2 -2
  1544. data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +2 -2
  1545. data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +4 -4
  1546. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +2 -2
  1547. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +2 -2
  1548. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +4 -4
  1549. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +2 -2
  1550. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +2 -2
  1551. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +2 -2
  1552. data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +2 -2
  1553. data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +2 -2
  1554. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +2 -2
  1555. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +2 -2
  1556. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +2 -2
  1557. data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +2 -2
  1558. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +2 -2
  1559. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +2 -2
  1560. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +2 -2
  1561. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +2 -2
  1562. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +2 -2
  1563. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +2 -2
  1564. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +5 -5
  1565. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +2 -2
  1566. data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +2 -2
  1567. data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +2 -2
  1568. data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +2 -2
  1569. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +2 -2
  1570. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +4 -4
  1571. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +2 -2
  1572. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +2 -4
  1573. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +2 -2
  1574. data/vendor/local/share/man/man3/xssl_client_init.3 +65 -0
  1575. data/vendor/local/share/man/man3/xssl_cred_deinit.3 +46 -0
  1576. data/vendor/local/share/man/man3/xssl_cred_init.3 +57 -0
  1577. data/vendor/local/share/man/man3/xssl_deinit.3 +45 -0
  1578. data/vendor/local/share/man/man3/xssl_flush.3 +48 -0
  1579. data/vendor/local/share/man/man3/xssl_get_session.3 +44 -0
  1580. data/vendor/local/share/man/man3/xssl_getdelim.3 +58 -0
  1581. data/vendor/local/share/man/man3/xssl_printf.3 +54 -0
  1582. data/vendor/local/share/man/man3/xssl_read.3 +52 -0
  1583. data/vendor/local/share/man/man3/xssl_server_init.3 +59 -0
  1584. data/vendor/local/share/man/man3/xssl_sinit.3 +53 -0
  1585. data/vendor/local/share/man/man3/xssl_write.3 +56 -0
  1586. metadata +77 -43
  1587. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  1588. data/vendor/local/bin/libhogweed-2-2.dll +0 -0
  1589. data/vendor/local/bin/libhogweed-2-4.dll +0 -0
  1590. data/vendor/local/bin/libnettle-4-4.dll +0 -0
  1591. data/vendor/local/bin/libnettle-4-6.dll +0 -0
  1592. data/vendor/local/bin/zlib1.dll +0 -0
  1593. data/vendor/local/include/gnutls/gnutlsxx.h +0 -426
  1594. data/vendor/local/include/zconf.h +0 -461
  1595. data/vendor/local/include/zlib.h +0 -1589
  1596. data/vendor/local/lib/libgnutlsxx.a +0 -0
  1597. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  1598. data/vendor/local/lib/libgnutlsxx.la +0 -41
  1599. data/vendor/local/lib/libz.dll.a +0 -0
  1600. data/vendor/local/lib/zdll.lib +0 -0
  1601. data/vendor/local/lib/zlib.def +0 -67
  1602. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
  1603. data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
  1604. data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.3600.1-gdb.py +0 -10
  1605. data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.3600.2-gdb.py +0 -10
  1606. data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.3600.1-gdb.py +0 -10
  1607. data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.3600.2-gdb.py +0 -10
  1608. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
  1609. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
@@ -47,18 +47,20 @@
47
47
  #endif
48
48
  /* Get time_t. */
49
49
  #include <time.h>
50
+
51
+ /* *INDENT-OFF* */
50
52
  #ifdef __cplusplus
51
- extern "C"
52
- {
53
+ extern "C" {
53
54
  #endif
55
+ /* *INDENT-ON* */
54
56
 
55
- #define GNUTLS_VERSION "3.1.11"
57
+ #define GNUTLS_VERSION "3.2.7"
56
58
 
57
59
  #define GNUTLS_VERSION_MAJOR 3
58
- #define GNUTLS_VERSION_MINOR 1
59
- #define GNUTLS_VERSION_PATCH 11
60
+ #define GNUTLS_VERSION_MINOR 2
61
+ #define GNUTLS_VERSION_PATCH 7
60
62
 
61
- #define GNUTLS_VERSION_NUMBER 0x03010b
63
+ #define GNUTLS_VERSION_NUMBER 0x030207
62
64
 
63
65
  #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC
64
66
  #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC
@@ -82,6 +84,8 @@ extern "C"
82
84
  * @GNUTLS_CIPHER_DES_CBC: DES in CBC mode (56-bit keys).
83
85
  * @GNUTLS_CIPHER_AES_128_GCM: AES in GCM mode with 128-bit keys.
84
86
  * @GNUTLS_CIPHER_AES_256_GCM: AES in GCM mode with 256-bit keys.
87
+ * @GNUTLS_CIPHER_CAMELLIA_128_GCM: CAMELLIA in GCM mode with 128-bit keys.
88
+ * @GNUTLS_CIPHER_CAMELLIA_256_GCM: CAMELLIA in GCM mode with 256-bit keys.
85
89
  * @GNUTLS_CIPHER_IDEA_PGP_CFB: IDEA in CFB mode.
86
90
  * @GNUTLS_CIPHER_3DES_PGP_CFB: 3DES in CFB mode.
87
91
  * @GNUTLS_CIPHER_CAST5_PGP_CFB: CAST5 in CFB mode.
@@ -94,36 +98,39 @@ extern "C"
94
98
  *
95
99
  * Enumeration of different symmetric encryption algorithms.
96
100
  */
97
- typedef enum gnutls_cipher_algorithm
98
- {
99
- GNUTLS_CIPHER_UNKNOWN = 0,
100
- GNUTLS_CIPHER_NULL = 1,
101
- GNUTLS_CIPHER_ARCFOUR_128 = 2,
102
- GNUTLS_CIPHER_3DES_CBC = 3,
103
- GNUTLS_CIPHER_AES_128_CBC = 4,
104
- GNUTLS_CIPHER_AES_256_CBC = 5,
105
- GNUTLS_CIPHER_ARCFOUR_40 = 6,
106
- GNUTLS_CIPHER_CAMELLIA_128_CBC = 7,
107
- GNUTLS_CIPHER_CAMELLIA_256_CBC = 8,
108
- GNUTLS_CIPHER_RC2_40_CBC = 90,
109
- GNUTLS_CIPHER_DES_CBC = 91,
110
- GNUTLS_CIPHER_AES_192_CBC = 92,
111
- GNUTLS_CIPHER_AES_128_GCM = 93,
112
- GNUTLS_CIPHER_AES_256_GCM = 94,
113
- GNUTLS_CIPHER_CAMELLIA_192_CBC = 95,
114
-
115
- /* used only for PGP internals. Ignored in TLS/SSL
116
- */
117
- GNUTLS_CIPHER_IDEA_PGP_CFB = 200,
118
- GNUTLS_CIPHER_3DES_PGP_CFB = 201,
119
- GNUTLS_CIPHER_CAST5_PGP_CFB = 202,
120
- GNUTLS_CIPHER_BLOWFISH_PGP_CFB = 203,
121
- GNUTLS_CIPHER_SAFER_SK128_PGP_CFB = 204,
122
- GNUTLS_CIPHER_AES128_PGP_CFB = 205,
123
- GNUTLS_CIPHER_AES192_PGP_CFB = 206,
124
- GNUTLS_CIPHER_AES256_PGP_CFB = 207,
125
- GNUTLS_CIPHER_TWOFISH_PGP_CFB = 208
126
- } gnutls_cipher_algorithm_t;
101
+ typedef enum gnutls_cipher_algorithm {
102
+ GNUTLS_CIPHER_UNKNOWN = 0,
103
+ GNUTLS_CIPHER_NULL = 1,
104
+ GNUTLS_CIPHER_ARCFOUR_128 = 2,
105
+ GNUTLS_CIPHER_3DES_CBC = 3,
106
+ GNUTLS_CIPHER_AES_128_CBC = 4,
107
+ GNUTLS_CIPHER_AES_256_CBC = 5,
108
+ GNUTLS_CIPHER_ARCFOUR_40 = 6,
109
+ GNUTLS_CIPHER_CAMELLIA_128_CBC = 7,
110
+ GNUTLS_CIPHER_CAMELLIA_256_CBC = 8,
111
+ GNUTLS_CIPHER_RC2_40_CBC = 90,
112
+ GNUTLS_CIPHER_DES_CBC = 91,
113
+ GNUTLS_CIPHER_AES_192_CBC = 92,
114
+ GNUTLS_CIPHER_AES_128_GCM = 93,
115
+ GNUTLS_CIPHER_AES_256_GCM = 94,
116
+ GNUTLS_CIPHER_CAMELLIA_192_CBC = 95,
117
+ GNUTLS_CIPHER_SALSA20_256 = 96,
118
+ GNUTLS_CIPHER_ESTREAM_SALSA20_256 = 97,
119
+ GNUTLS_CIPHER_CAMELLIA_128_GCM = 98,
120
+ GNUTLS_CIPHER_CAMELLIA_256_GCM = 99,
121
+
122
+ /* used only for PGP internals. Ignored in TLS/SSL
123
+ */
124
+ GNUTLS_CIPHER_IDEA_PGP_CFB = 200,
125
+ GNUTLS_CIPHER_3DES_PGP_CFB = 201,
126
+ GNUTLS_CIPHER_CAST5_PGP_CFB = 202,
127
+ GNUTLS_CIPHER_BLOWFISH_PGP_CFB = 203,
128
+ GNUTLS_CIPHER_SAFER_SK128_PGP_CFB = 204,
129
+ GNUTLS_CIPHER_AES128_PGP_CFB = 205,
130
+ GNUTLS_CIPHER_AES192_PGP_CFB = 206,
131
+ GNUTLS_CIPHER_AES256_PGP_CFB = 207,
132
+ GNUTLS_CIPHER_TWOFISH_PGP_CFB = 208
133
+ } gnutls_cipher_algorithm_t;
127
134
 
128
135
  /**
129
136
  * gnutls_kx_algorithm_t:
@@ -136,48 +143,48 @@ extern "C"
136
143
  * @GNUTLS_KX_ANON_DH: Anon-DH key-exchange algorithm.
137
144
  * @GNUTLS_KX_ANON_ECDH: Anon-ECDH key-exchange algorithm.
138
145
  * @GNUTLS_KX_SRP: SRP key-exchange algorithm.
139
- * @GNUTLS_KX_RSA_EXPORT: RSA-EXPORT key-exchange algorithm.
146
+ * @GNUTLS_KX_RSA_EXPORT: RSA-EXPORT key-exchange algorithm (defunc).
140
147
  * @GNUTLS_KX_SRP_RSA: SRP-RSA key-exchange algorithm.
141
148
  * @GNUTLS_KX_SRP_DSS: SRP-DSS key-exchange algorithm.
142
149
  * @GNUTLS_KX_PSK: PSK key-exchange algorithm.
143
150
  * @GNUTLS_KX_DHE_PSK: DHE-PSK key-exchange algorithm.
144
151
  * @GNUTLS_KX_ECDHE_PSK: ECDHE-PSK key-exchange algorithm.
152
+ * @GNUTLS_KX_RSA_PSK: RSA-PSK key-exchange algorithm.
145
153
  *
146
154
  * Enumeration of different key exchange algorithms.
147
155
  */
148
- typedef enum
149
- {
150
- GNUTLS_KX_UNKNOWN = 0,
151
- GNUTLS_KX_RSA = 1,
152
- GNUTLS_KX_DHE_DSS = 2,
153
- GNUTLS_KX_DHE_RSA = 3,
154
- GNUTLS_KX_ANON_DH = 4,
155
- GNUTLS_KX_SRP = 5,
156
- GNUTLS_KX_RSA_EXPORT = 6,
157
- GNUTLS_KX_SRP_RSA = 7,
158
- GNUTLS_KX_SRP_DSS = 8,
159
- GNUTLS_KX_PSK = 9,
160
- GNUTLS_KX_DHE_PSK = 10,
161
- GNUTLS_KX_ANON_ECDH = 11,
162
- GNUTLS_KX_ECDHE_RSA = 12,
163
- GNUTLS_KX_ECDHE_ECDSA = 13,
164
- GNUTLS_KX_ECDHE_PSK = 14,
165
- } gnutls_kx_algorithm_t;
156
+ typedef enum {
157
+ GNUTLS_KX_UNKNOWN = 0,
158
+ GNUTLS_KX_RSA = 1,
159
+ GNUTLS_KX_DHE_DSS = 2,
160
+ GNUTLS_KX_DHE_RSA = 3,
161
+ GNUTLS_KX_ANON_DH = 4,
162
+ GNUTLS_KX_SRP = 5,
163
+ GNUTLS_KX_RSA_EXPORT = 6,
164
+ GNUTLS_KX_SRP_RSA = 7,
165
+ GNUTLS_KX_SRP_DSS = 8,
166
+ GNUTLS_KX_PSK = 9,
167
+ GNUTLS_KX_DHE_PSK = 10,
168
+ GNUTLS_KX_ANON_ECDH = 11,
169
+ GNUTLS_KX_ECDHE_RSA = 12,
170
+ GNUTLS_KX_ECDHE_ECDSA = 13,
171
+ GNUTLS_KX_ECDHE_PSK = 14,
172
+ GNUTLS_KX_RSA_PSK = 15,
173
+ } gnutls_kx_algorithm_t;
166
174
 
167
175
  /**
168
176
  * gnutls_params_type_t:
169
- * @GNUTLS_PARAMS_RSA_EXPORT: Session RSA-EXPORT parameters.
177
+ * @GNUTLS_PARAMS_RSA_EXPORT: Session RSA-EXPORT parameters (defunc).
170
178
  * @GNUTLS_PARAMS_DH: Session Diffie-Hellman parameters.
171
179
  * @GNUTLS_PARAMS_ECDH: Session Elliptic-Curve Diffie-Hellman parameters.
172
180
  *
173
181
  * Enumeration of different TLS session parameter types.
174
182
  */
175
- typedef enum
176
- {
177
- GNUTLS_PARAMS_RSA_EXPORT = 1,
178
- GNUTLS_PARAMS_DH = 2,
179
- GNUTLS_PARAMS_ECDH = 3,
180
- } gnutls_params_type_t;
183
+ typedef enum {
184
+ GNUTLS_PARAMS_RSA_EXPORT = 1,
185
+ GNUTLS_PARAMS_DH = 2,
186
+ GNUTLS_PARAMS_ECDH = 3,
187
+ } gnutls_params_type_t;
181
188
 
182
189
  /**
183
190
  * gnutls_credentials_type_t:
@@ -189,14 +196,13 @@ extern "C"
189
196
  *
190
197
  * Enumeration of different credential types.
191
198
  */
192
- typedef enum
193
- {
194
- GNUTLS_CRD_CERTIFICATE = 1,
195
- GNUTLS_CRD_ANON,
196
- GNUTLS_CRD_SRP,
197
- GNUTLS_CRD_PSK,
198
- GNUTLS_CRD_IA
199
- } gnutls_credentials_type_t;
199
+ typedef enum {
200
+ GNUTLS_CRD_CERTIFICATE = 1,
201
+ GNUTLS_CRD_ANON,
202
+ GNUTLS_CRD_SRP,
203
+ GNUTLS_CRD_PSK,
204
+ GNUTLS_CRD_IA
205
+ } gnutls_credentials_type_t;
200
206
 
201
207
  #define GNUTLS_MAC_SHA GNUTLS_MAC_SHA1
202
208
  #define GNUTLS_DIG_SHA GNUTLS_DIG_SHA1
@@ -214,26 +220,29 @@ extern "C"
214
220
  * @GNUTLS_MAC_SHA512: HMAC-SHA-512 algorithm.
215
221
  * @GNUTLS_MAC_SHA224: HMAC-SHA-224 algorithm.
216
222
  * @GNUTLS_MAC_AEAD: MAC implicit through AEAD cipher.
223
+ * @GNUTLS_MAC_UMAC_96: The UMAC-96 MAC algorithm.
224
+ * @GNUTLS_MAC_UMAC_128: The UMAC-128 MAC algorithm.
217
225
  *
218
226
  * Enumeration of different Message Authentication Code (MAC)
219
227
  * algorithms.
220
228
  */
221
- typedef enum
222
- {
223
- GNUTLS_MAC_UNKNOWN = 0,
224
- GNUTLS_MAC_NULL = 1,
225
- GNUTLS_MAC_MD5 = 2,
226
- GNUTLS_MAC_SHA1 = 3,
227
- GNUTLS_MAC_RMD160 = 4,
228
- GNUTLS_MAC_MD2 = 5,
229
- GNUTLS_MAC_SHA256 = 6,
230
- GNUTLS_MAC_SHA384 = 7,
231
- GNUTLS_MAC_SHA512 = 8,
232
- GNUTLS_MAC_SHA224 = 9,
233
- /* If you add anything here, make sure you align with
234
- gnutls_digest_algorithm_t. */
235
- GNUTLS_MAC_AEAD = 200 /* indicates that MAC is on the cipher */
236
- } gnutls_mac_algorithm_t;
229
+ typedef enum {
230
+ GNUTLS_MAC_UNKNOWN = 0,
231
+ GNUTLS_MAC_NULL = 1,
232
+ GNUTLS_MAC_MD5 = 2,
233
+ GNUTLS_MAC_SHA1 = 3,
234
+ GNUTLS_MAC_RMD160 = 4,
235
+ GNUTLS_MAC_MD2 = 5,
236
+ GNUTLS_MAC_SHA256 = 6,
237
+ GNUTLS_MAC_SHA384 = 7,
238
+ GNUTLS_MAC_SHA512 = 8,
239
+ GNUTLS_MAC_SHA224 = 9,
240
+ /* If you add anything here, make sure you align with
241
+ gnutls_digest_algorithm_t. */
242
+ GNUTLS_MAC_AEAD = 200, /* indicates that MAC is on the cipher */
243
+ GNUTLS_MAC_UMAC_96 = 201,
244
+ GNUTLS_MAC_UMAC_128 = 202,
245
+ } gnutls_mac_algorithm_t;
237
246
 
238
247
  /**
239
248
  * gnutls_digest_algorithm_t:
@@ -250,21 +259,20 @@ extern "C"
250
259
  *
251
260
  * Enumeration of different digest (hash) algorithms.
252
261
  */
253
- typedef enum
254
- {
255
- GNUTLS_DIG_UNKNOWN = GNUTLS_MAC_UNKNOWN,
256
- GNUTLS_DIG_NULL = GNUTLS_MAC_NULL,
257
- GNUTLS_DIG_MD5 = GNUTLS_MAC_MD5,
258
- GNUTLS_DIG_SHA1 = GNUTLS_MAC_SHA1,
259
- GNUTLS_DIG_RMD160 = GNUTLS_MAC_RMD160,
260
- GNUTLS_DIG_MD2 = GNUTLS_MAC_MD2,
261
- GNUTLS_DIG_SHA256 = GNUTLS_MAC_SHA256,
262
- GNUTLS_DIG_SHA384 = GNUTLS_MAC_SHA384,
263
- GNUTLS_DIG_SHA512 = GNUTLS_MAC_SHA512,
264
- GNUTLS_DIG_SHA224 = GNUTLS_MAC_SHA224
265
- /* If you add anything here, make sure you align with
266
- gnutls_mac_algorithm_t. */
267
- } gnutls_digest_algorithm_t;
262
+ typedef enum {
263
+ GNUTLS_DIG_UNKNOWN = GNUTLS_MAC_UNKNOWN,
264
+ GNUTLS_DIG_NULL = GNUTLS_MAC_NULL,
265
+ GNUTLS_DIG_MD5 = GNUTLS_MAC_MD5,
266
+ GNUTLS_DIG_SHA1 = GNUTLS_MAC_SHA1,
267
+ GNUTLS_DIG_RMD160 = GNUTLS_MAC_RMD160,
268
+ GNUTLS_DIG_MD2 = GNUTLS_MAC_MD2,
269
+ GNUTLS_DIG_SHA256 = GNUTLS_MAC_SHA256,
270
+ GNUTLS_DIG_SHA384 = GNUTLS_MAC_SHA384,
271
+ GNUTLS_DIG_SHA512 = GNUTLS_MAC_SHA512,
272
+ GNUTLS_DIG_SHA224 = GNUTLS_MAC_SHA224
273
+ /* If you add anything here, make sure you align with
274
+ gnutls_mac_algorithm_t. */
275
+ } gnutls_digest_algorithm_t;
268
276
 
269
277
  /* exported for other gnutls headers. This is the maximum number of
270
278
  * algorithms (ciphers, kx or macs).
@@ -280,13 +288,12 @@ extern "C"
280
288
  *
281
289
  * Enumeration of different TLS compression methods.
282
290
  */
283
- typedef enum
284
- {
285
- GNUTLS_COMP_UNKNOWN = 0,
286
- GNUTLS_COMP_NULL = 1,
287
- GNUTLS_COMP_DEFLATE = 2,
288
- GNUTLS_COMP_ZLIB = GNUTLS_COMP_DEFLATE,
289
- } gnutls_compression_method_t;
291
+ typedef enum {
292
+ GNUTLS_COMP_UNKNOWN = 0,
293
+ GNUTLS_COMP_NULL = 1,
294
+ GNUTLS_COMP_DEFLATE = 2,
295
+ GNUTLS_COMP_ZLIB = GNUTLS_COMP_DEFLATE,
296
+ } gnutls_compression_method_t;
290
297
 
291
298
  /*
292
299
  * Flags for gnutls_init()
@@ -296,6 +303,7 @@ extern "C"
296
303
  * @GNUTLS_DATAGRAM: Connection is datagram oriented (DTLS).
297
304
  * @GNUTLS_NONBLOCK: Connection should not block (DTLS).
298
305
  * @GNUTLS_NO_EXTENSIONS: Do not enable any TLS extensions by default.
306
+ * @GNUTLS_NO_REPLAY_PROTECTION: Disable any replay protection in DTLS.
299
307
  *
300
308
  */
301
309
  #define GNUTLS_SERVER 1
@@ -303,6 +311,7 @@ extern "C"
303
311
  #define GNUTLS_DATAGRAM (1<<2)
304
312
  #define GNUTLS_NONBLOCK (1<<3)
305
313
  #define GNUTLS_NO_EXTENSIONS (1<<4)
314
+ #define GNUTLS_NO_REPLAY_PROTECTION (1<<5)
306
315
 
307
316
  /**
308
317
  * gnutls_alert_level_t:
@@ -311,11 +320,10 @@ extern "C"
311
320
  *
312
321
  * Enumeration of different TLS alert severities.
313
322
  */
314
- typedef enum
315
- {
316
- GNUTLS_AL_WARNING = 1,
317
- GNUTLS_AL_FATAL
318
- } gnutls_alert_level_t;
323
+ typedef enum {
324
+ GNUTLS_AL_WARNING = 1,
325
+ GNUTLS_AL_FATAL
326
+ } gnutls_alert_level_t;
319
327
 
320
328
  /**
321
329
  * gnutls_alert_description_t:
@@ -354,37 +362,37 @@ extern "C"
354
362
  *
355
363
  * Enumeration of different TLS alerts.
356
364
  */
357
- typedef enum
358
- {
359
- GNUTLS_A_CLOSE_NOTIFY,
360
- GNUTLS_A_UNEXPECTED_MESSAGE = 10,
361
- GNUTLS_A_BAD_RECORD_MAC = 20,
362
- GNUTLS_A_DECRYPTION_FAILED,
363
- GNUTLS_A_RECORD_OVERFLOW,
364
- GNUTLS_A_DECOMPRESSION_FAILURE = 30,
365
- GNUTLS_A_HANDSHAKE_FAILURE = 40,
366
- GNUTLS_A_SSL3_NO_CERTIFICATE = 41,
367
- GNUTLS_A_BAD_CERTIFICATE = 42,
368
- GNUTLS_A_UNSUPPORTED_CERTIFICATE,
369
- GNUTLS_A_CERTIFICATE_REVOKED,
370
- GNUTLS_A_CERTIFICATE_EXPIRED,
371
- GNUTLS_A_CERTIFICATE_UNKNOWN,
372
- GNUTLS_A_ILLEGAL_PARAMETER,
373
- GNUTLS_A_UNKNOWN_CA,
374
- GNUTLS_A_ACCESS_DENIED,
375
- GNUTLS_A_DECODE_ERROR = 50,
376
- GNUTLS_A_DECRYPT_ERROR,
377
- GNUTLS_A_EXPORT_RESTRICTION = 60,
378
- GNUTLS_A_PROTOCOL_VERSION = 70,
379
- GNUTLS_A_INSUFFICIENT_SECURITY,
380
- GNUTLS_A_INTERNAL_ERROR = 80,
381
- GNUTLS_A_USER_CANCELED = 90,
382
- GNUTLS_A_NO_RENEGOTIATION = 100,
383
- GNUTLS_A_UNSUPPORTED_EXTENSION = 110,
384
- GNUTLS_A_CERTIFICATE_UNOBTAINABLE = 111,
385
- GNUTLS_A_UNRECOGNIZED_NAME = 112,
386
- GNUTLS_A_UNKNOWN_PSK_IDENTITY = 115,
387
- } gnutls_alert_description_t;
365
+ typedef enum {
366
+ GNUTLS_A_CLOSE_NOTIFY,
367
+ GNUTLS_A_UNEXPECTED_MESSAGE = 10,
368
+ GNUTLS_A_BAD_RECORD_MAC = 20,
369
+ GNUTLS_A_DECRYPTION_FAILED,
370
+ GNUTLS_A_RECORD_OVERFLOW,
371
+ GNUTLS_A_DECOMPRESSION_FAILURE = 30,
372
+ GNUTLS_A_HANDSHAKE_FAILURE = 40,
373
+ GNUTLS_A_SSL3_NO_CERTIFICATE = 41,
374
+ GNUTLS_A_BAD_CERTIFICATE = 42,
375
+ GNUTLS_A_UNSUPPORTED_CERTIFICATE,
376
+ GNUTLS_A_CERTIFICATE_REVOKED,
377
+ GNUTLS_A_CERTIFICATE_EXPIRED,
378
+ GNUTLS_A_CERTIFICATE_UNKNOWN,
379
+ GNUTLS_A_ILLEGAL_PARAMETER,
380
+ GNUTLS_A_UNKNOWN_CA,
381
+ GNUTLS_A_ACCESS_DENIED,
382
+ GNUTLS_A_DECODE_ERROR = 50,
383
+ GNUTLS_A_DECRYPT_ERROR,
384
+ GNUTLS_A_EXPORT_RESTRICTION = 60,
385
+ GNUTLS_A_PROTOCOL_VERSION = 70,
386
+ GNUTLS_A_INSUFFICIENT_SECURITY,
387
+ GNUTLS_A_INTERNAL_ERROR = 80,
388
+ GNUTLS_A_USER_CANCELED = 90,
389
+ GNUTLS_A_NO_RENEGOTIATION = 100,
390
+ GNUTLS_A_UNSUPPORTED_EXTENSION = 110,
391
+ GNUTLS_A_CERTIFICATE_UNOBTAINABLE = 111,
392
+ GNUTLS_A_UNRECOGNIZED_NAME = 112,
393
+ GNUTLS_A_UNKNOWN_PSK_IDENTITY = 115,
394
+ GNUTLS_A_NO_APPLICATION_PROTOCOL = 120,
395
+ } gnutls_alert_description_t;
388
396
 
389
397
  /**
390
398
  * gnutls_handshake_description_t:
@@ -407,25 +415,30 @@ extern "C"
407
415
  *
408
416
  * Enumeration of different TLS handshake packets.
409
417
  */
410
- typedef enum
411
- {
412
- GNUTLS_HANDSHAKE_HELLO_REQUEST = 0,
413
- GNUTLS_HANDSHAKE_CLIENT_HELLO = 1,
414
- GNUTLS_HANDSHAKE_SERVER_HELLO = 2,
415
- GNUTLS_HANDSHAKE_HELLO_VERIFY_REQUEST = 3,
416
- GNUTLS_HANDSHAKE_NEW_SESSION_TICKET = 4,
417
- GNUTLS_HANDSHAKE_CERTIFICATE_PKT = 11,
418
- GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE = 12,
419
- GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST = 13,
420
- GNUTLS_HANDSHAKE_SERVER_HELLO_DONE = 14,
421
- GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY = 15,
422
- GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE = 16,
423
- GNUTLS_HANDSHAKE_FINISHED = 20,
424
- GNUTLS_HANDSHAKE_CERTIFICATE_STATUS = 22,
425
- GNUTLS_HANDSHAKE_SUPPLEMENTAL = 23,
426
- GNUTLS_HANDSHAKE_CHANGE_CIPHER_SPEC = 254,
427
- GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 = 1024,
428
- } gnutls_handshake_description_t;
418
+ typedef enum {
419
+ GNUTLS_HANDSHAKE_HELLO_REQUEST = 0,
420
+ GNUTLS_HANDSHAKE_CLIENT_HELLO = 1,
421
+ GNUTLS_HANDSHAKE_SERVER_HELLO = 2,
422
+ GNUTLS_HANDSHAKE_HELLO_VERIFY_REQUEST = 3,
423
+ GNUTLS_HANDSHAKE_NEW_SESSION_TICKET = 4,
424
+ GNUTLS_HANDSHAKE_CERTIFICATE_PKT = 11,
425
+ GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE = 12,
426
+ GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST = 13,
427
+ GNUTLS_HANDSHAKE_SERVER_HELLO_DONE = 14,
428
+ GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY = 15,
429
+ GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE = 16,
430
+ GNUTLS_HANDSHAKE_FINISHED = 20,
431
+ GNUTLS_HANDSHAKE_CERTIFICATE_STATUS = 22,
432
+ GNUTLS_HANDSHAKE_SUPPLEMENTAL = 23,
433
+ GNUTLS_HANDSHAKE_CHANGE_CIPHER_SPEC = 254,
434
+ GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 = 1024,
435
+ } gnutls_handshake_description_t;
436
+
437
+ #define GNUTLS_HANDSHAKE_ANY ((unsigned int)-1)
438
+
439
+ const char
440
+ *gnutls_handshake_description_get_name(gnutls_handshake_description_t
441
+ type);
429
442
 
430
443
  /**
431
444
  * gnutls_certificate_status_t:
@@ -456,22 +469,21 @@ extern "C"
456
469
  * bits may have different meanings in OpenPGP keys and X.509
457
470
  * certificate verification.
458
471
  */
459
- typedef enum
460
- {
461
- GNUTLS_CERT_INVALID = 1<<1,
462
- GNUTLS_CERT_REVOKED = 1<<5,
463
- GNUTLS_CERT_SIGNER_NOT_FOUND = 1<<6,
464
- GNUTLS_CERT_SIGNER_NOT_CA = 1<<7,
465
- GNUTLS_CERT_INSECURE_ALGORITHM = 1<<8,
466
- GNUTLS_CERT_NOT_ACTIVATED = 1<<9,
467
- GNUTLS_CERT_EXPIRED = 1<<10,
468
- GNUTLS_CERT_SIGNATURE_FAILURE = 1<<11,
469
- GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED = 1<<12,
470
- GNUTLS_CERT_UNEXPECTED_OWNER = 1<<14,
471
- GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE = 1<<15,
472
- GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE = 1<<16,
473
- GNUTLS_CERT_MISMATCH = 1<<17,
474
- } gnutls_certificate_status_t;
472
+ typedef enum {
473
+ GNUTLS_CERT_INVALID = 1 << 1,
474
+ GNUTLS_CERT_REVOKED = 1 << 5,
475
+ GNUTLS_CERT_SIGNER_NOT_FOUND = 1 << 6,
476
+ GNUTLS_CERT_SIGNER_NOT_CA = 1 << 7,
477
+ GNUTLS_CERT_INSECURE_ALGORITHM = 1 << 8,
478
+ GNUTLS_CERT_NOT_ACTIVATED = 1 << 9,
479
+ GNUTLS_CERT_EXPIRED = 1 << 10,
480
+ GNUTLS_CERT_SIGNATURE_FAILURE = 1 << 11,
481
+ GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED = 1 << 12,
482
+ GNUTLS_CERT_UNEXPECTED_OWNER = 1 << 14,
483
+ GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE = 1 << 15,
484
+ GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE = 1 << 16,
485
+ GNUTLS_CERT_MISMATCH = 1 << 17,
486
+ } gnutls_certificate_status_t;
475
487
 
476
488
  /**
477
489
  * gnutls_certificate_request_t:
@@ -481,12 +493,11 @@ extern "C"
481
493
  *
482
494
  * Enumeration of certificate request types.
483
495
  */
484
- typedef enum
485
- {
486
- GNUTLS_CERT_IGNORE = 0,
487
- GNUTLS_CERT_REQUEST = 1,
488
- GNUTLS_CERT_REQUIRE = 2
489
- } gnutls_certificate_request_t;
496
+ typedef enum {
497
+ GNUTLS_CERT_IGNORE = 0,
498
+ GNUTLS_CERT_REQUEST = 1,
499
+ GNUTLS_CERT_REQUIRE = 2
500
+ } gnutls_certificate_request_t;
490
501
 
491
502
  /**
492
503
  * gnutls_openpgp_crt_status_t:
@@ -495,11 +506,10 @@ extern "C"
495
506
  *
496
507
  * Enumeration of ways to send OpenPGP certificate.
497
508
  */
498
- typedef enum
499
- {
500
- GNUTLS_OPENPGP_CERT = 0,
501
- GNUTLS_OPENPGP_CERT_FINGERPRINT = 1
502
- } gnutls_openpgp_crt_status_t;
509
+ typedef enum {
510
+ GNUTLS_OPENPGP_CERT = 0,
511
+ GNUTLS_OPENPGP_CERT_FINGERPRINT = 1
512
+ } gnutls_openpgp_crt_status_t;
503
513
 
504
514
  /**
505
515
  * gnutls_close_request_t:
@@ -508,11 +518,10 @@ extern "C"
508
518
  *
509
519
  * Enumeration of how TLS session should be terminated. See gnutls_bye().
510
520
  */
511
- typedef enum
512
- {
513
- GNUTLS_SHUT_RDWR = 0,
514
- GNUTLS_SHUT_WR = 1
515
- } gnutls_close_request_t;
521
+ typedef enum {
522
+ GNUTLS_SHUT_RDWR = 0,
523
+ GNUTLS_SHUT_WR = 1
524
+ } gnutls_close_request_t;
516
525
 
517
526
  /**
518
527
  * gnutls_protocol_t:
@@ -522,24 +531,27 @@ extern "C"
522
531
  * @GNUTLS_TLS1_1: TLS version 1.1.
523
532
  * @GNUTLS_TLS1_2: TLS version 1.2.
524
533
  * @GNUTLS_DTLS1_0: DTLS version 1.0.
534
+ * @GNUTLS_DTLS1_2: DTLS version 1.2.
525
535
  * @GNUTLS_DTLS0_9: DTLS version 0.9 (Cisco AnyConnect / OpenSSL 0.9.8e).
526
536
  * @GNUTLS_VERSION_MAX: Maps to the highest supported TLS version.
527
537
  * @GNUTLS_VERSION_UNKNOWN: Unknown SSL/TLS version.
528
538
  *
529
539
  * Enumeration of different SSL/TLS protocol versions.
530
540
  */
531
- typedef enum
532
- {
533
- GNUTLS_SSL3 = 1,
534
- GNUTLS_TLS1_0 = 2,
535
- GNUTLS_TLS1 = GNUTLS_TLS1_0,
536
- GNUTLS_TLS1_1 = 3,
537
- GNUTLS_TLS1_2 = 4,
538
- GNUTLS_DTLS1_0 = 5,
539
- GNUTLS_DTLS0_9 = 6,
540
- GNUTLS_VERSION_MAX = GNUTLS_DTLS0_9,
541
- GNUTLS_VERSION_UNKNOWN = 0xff
542
- } gnutls_protocol_t;
541
+ typedef enum {
542
+ GNUTLS_SSL3 = 1,
543
+ GNUTLS_TLS1_0 = 2,
544
+ GNUTLS_TLS1 = GNUTLS_TLS1_0,
545
+ GNUTLS_TLS1_1 = 3,
546
+ GNUTLS_TLS1_2 = 4,
547
+ GNUTLS_DTLS0_9 = 6, /* FIXME: at some point change it to 200 */
548
+ GNUTLS_DTLS1_0 = 5, /* 201 */
549
+ GNUTLS_DTLS1_2 = 202,
550
+ GNUTLS_DTLS_VERSION_MIN = GNUTLS_DTLS1_0,
551
+ GNUTLS_DTLS_VERSION_MAX = GNUTLS_DTLS1_2,
552
+ GNUTLS_TLS_VERSION_MAX = GNUTLS_TLS1_2,
553
+ GNUTLS_VERSION_UNKNOWN = 0xff /* change it to 0xffff */
554
+ } gnutls_protocol_t;
543
555
 
544
556
  /**
545
557
  * gnutls_certificate_type_t:
@@ -550,13 +562,12 @@ extern "C"
550
562
  *
551
563
  * Enumeration of different certificate types.
552
564
  */
553
- typedef enum
554
- {
555
- GNUTLS_CRT_UNKNOWN = 0,
556
- GNUTLS_CRT_X509 = 1,
557
- GNUTLS_CRT_OPENPGP = 2,
558
- GNUTLS_CRT_RAW = 3
559
- } gnutls_certificate_type_t;
565
+ typedef enum {
566
+ GNUTLS_CRT_UNKNOWN = 0,
567
+ GNUTLS_CRT_X509 = 1,
568
+ GNUTLS_CRT_OPENPGP = 2,
569
+ GNUTLS_CRT_RAW = 3
570
+ } gnutls_certificate_type_t;
560
571
 
561
572
  /**
562
573
  * gnutls_x509_crt_fmt_t:
@@ -565,11 +576,10 @@ extern "C"
565
576
  *
566
577
  * Enumeration of different certificate encoding formats.
567
578
  */
568
- typedef enum
569
- {
570
- GNUTLS_X509_FMT_DER = 0,
571
- GNUTLS_X509_FMT_PEM = 1
572
- } gnutls_x509_crt_fmt_t;
579
+ typedef enum {
580
+ GNUTLS_X509_FMT_DER = 0,
581
+ GNUTLS_X509_FMT_PEM = 1
582
+ } gnutls_x509_crt_fmt_t;
573
583
 
574
584
  /**
575
585
  * gnutls_certificate_print_formats_t:
@@ -581,14 +591,13 @@ extern "C"
581
591
  *
582
592
  * Enumeration of different certificate printing variants.
583
593
  */
584
- typedef enum gnutls_certificate_print_formats
585
- {
586
- GNUTLS_CRT_PRINT_FULL = 0,
587
- GNUTLS_CRT_PRINT_ONELINE = 1,
588
- GNUTLS_CRT_PRINT_UNSIGNED_FULL = 2,
589
- GNUTLS_CRT_PRINT_COMPACT = 3,
590
- GNUTLS_CRT_PRINT_FULL_NUMBERS = 4,
591
- } gnutls_certificate_print_formats_t;
594
+ typedef enum gnutls_certificate_print_formats {
595
+ GNUTLS_CRT_PRINT_FULL = 0,
596
+ GNUTLS_CRT_PRINT_ONELINE = 1,
597
+ GNUTLS_CRT_PRINT_UNSIGNED_FULL = 2,
598
+ GNUTLS_CRT_PRINT_COMPACT = 3,
599
+ GNUTLS_CRT_PRINT_FULL_NUMBERS = 4,
600
+ } gnutls_certificate_print_formats_t;
592
601
 
593
602
  #define GNUTLS_PK_ECC GNUTLS_PK_EC
594
603
  /**
@@ -601,16 +610,15 @@ extern "C"
601
610
  *
602
611
  * Enumeration of different public-key algorithms.
603
612
  */
604
- typedef enum
605
- {
606
- GNUTLS_PK_UNKNOWN = 0,
607
- GNUTLS_PK_RSA = 1,
608
- GNUTLS_PK_DSA = 2,
609
- GNUTLS_PK_DH = 3,
610
- GNUTLS_PK_EC = 4,
611
- } gnutls_pk_algorithm_t;
613
+ typedef enum {
614
+ GNUTLS_PK_UNKNOWN = 0,
615
+ GNUTLS_PK_RSA = 1,
616
+ GNUTLS_PK_DSA = 2,
617
+ GNUTLS_PK_DH = 3,
618
+ GNUTLS_PK_EC = 4,
619
+ } gnutls_pk_algorithm_t;
612
620
 
613
- const char *gnutls_pk_algorithm_get_name (gnutls_pk_algorithm_t algorithm);
621
+ const char *gnutls_pk_algorithm_get_name(gnutls_pk_algorithm_t algorithm);
614
622
 
615
623
  /**
616
624
  * gnutls_sign_algorithm_t:
@@ -636,28 +644,27 @@ extern "C"
636
644
  *
637
645
  * Enumeration of different digital signature algorithms.
638
646
  */
639
- typedef enum
640
- {
641
- GNUTLS_SIGN_UNKNOWN = 0,
642
- GNUTLS_SIGN_RSA_SHA1 = 1,
643
- GNUTLS_SIGN_RSA_SHA = GNUTLS_SIGN_RSA_SHA1,
644
- GNUTLS_SIGN_DSA_SHA1 = 2,
645
- GNUTLS_SIGN_DSA_SHA = GNUTLS_SIGN_DSA_SHA1,
646
- GNUTLS_SIGN_RSA_MD5 = 3,
647
- GNUTLS_SIGN_RSA_MD2 = 4,
648
- GNUTLS_SIGN_RSA_RMD160 = 5,
649
- GNUTLS_SIGN_RSA_SHA256 = 6,
650
- GNUTLS_SIGN_RSA_SHA384 = 7,
651
- GNUTLS_SIGN_RSA_SHA512 = 8,
652
- GNUTLS_SIGN_RSA_SHA224 = 9,
653
- GNUTLS_SIGN_DSA_SHA224 = 10,
654
- GNUTLS_SIGN_DSA_SHA256 = 11,
655
- GNUTLS_SIGN_ECDSA_SHA1 = 12,
656
- GNUTLS_SIGN_ECDSA_SHA224 = 13,
657
- GNUTLS_SIGN_ECDSA_SHA256 = 14,
658
- GNUTLS_SIGN_ECDSA_SHA384 = 15,
659
- GNUTLS_SIGN_ECDSA_SHA512 = 16,
660
- } gnutls_sign_algorithm_t;
647
+ typedef enum {
648
+ GNUTLS_SIGN_UNKNOWN = 0,
649
+ GNUTLS_SIGN_RSA_SHA1 = 1,
650
+ GNUTLS_SIGN_RSA_SHA = GNUTLS_SIGN_RSA_SHA1,
651
+ GNUTLS_SIGN_DSA_SHA1 = 2,
652
+ GNUTLS_SIGN_DSA_SHA = GNUTLS_SIGN_DSA_SHA1,
653
+ GNUTLS_SIGN_RSA_MD5 = 3,
654
+ GNUTLS_SIGN_RSA_MD2 = 4,
655
+ GNUTLS_SIGN_RSA_RMD160 = 5,
656
+ GNUTLS_SIGN_RSA_SHA256 = 6,
657
+ GNUTLS_SIGN_RSA_SHA384 = 7,
658
+ GNUTLS_SIGN_RSA_SHA512 = 8,
659
+ GNUTLS_SIGN_RSA_SHA224 = 9,
660
+ GNUTLS_SIGN_DSA_SHA224 = 10,
661
+ GNUTLS_SIGN_DSA_SHA256 = 11,
662
+ GNUTLS_SIGN_ECDSA_SHA1 = 12,
663
+ GNUTLS_SIGN_ECDSA_SHA224 = 13,
664
+ GNUTLS_SIGN_ECDSA_SHA256 = 14,
665
+ GNUTLS_SIGN_ECDSA_SHA384 = 15,
666
+ GNUTLS_SIGN_ECDSA_SHA512 = 16,
667
+ } gnutls_sign_algorithm_t;
661
668
 
662
669
  /**
663
670
  * gnutls_ecc_curve_t:
@@ -670,16 +677,21 @@ extern "C"
670
677
  *
671
678
  * Enumeration of ECC curves.
672
679
  */
673
- typedef enum
674
- {
675
- GNUTLS_ECC_CURVE_INVALID=0,
676
- GNUTLS_ECC_CURVE_SECP224R1,
677
- GNUTLS_ECC_CURVE_SECP256R1,
678
- GNUTLS_ECC_CURVE_SECP384R1,
679
- GNUTLS_ECC_CURVE_SECP521R1,
680
- GNUTLS_ECC_CURVE_SECP192R1,
680
+ typedef enum {
681
+ GNUTLS_ECC_CURVE_INVALID = 0,
682
+ GNUTLS_ECC_CURVE_SECP224R1,
683
+ GNUTLS_ECC_CURVE_SECP256R1,
684
+ GNUTLS_ECC_CURVE_SECP384R1,
685
+ GNUTLS_ECC_CURVE_SECP521R1,
686
+ GNUTLS_ECC_CURVE_SECP192R1,
681
687
  } gnutls_ecc_curve_t;
682
688
 
689
+ /* macros to allow specifying a specific curve in gnutls_privkey_generate()
690
+ * and gnutls_x509_privkey_generate() */
691
+ #define GNUTLS_CURVE_TO_BITS(curve) (unsigned int)((1<<31)|(curve))
692
+ #define GNUTLS_BITS_TO_CURVE(bits) ((bits) & 0x7FFFFFFF)
693
+ #define GNUTLS_BITS_ARE_CURVE(bits) ((bits) & 0x80000000)
694
+
683
695
  /**
684
696
  * gnutls_sec_param_t:
685
697
  * @GNUTLS_SEC_PARAM_UNKNOWN: Cannot be known
@@ -695,19 +707,18 @@ typedef enum
695
707
  *
696
708
  * Enumeration of security parameters for passive attacks.
697
709
  */
698
- typedef enum
699
- {
700
- GNUTLS_SEC_PARAM_INSECURE = -20,
701
- GNUTLS_SEC_PARAM_EXPORT = -15,
702
- GNUTLS_SEC_PARAM_VERY_WEAK = -12,
703
- GNUTLS_SEC_PARAM_WEAK = -10,
704
- GNUTLS_SEC_PARAM_UNKNOWN = 0,
705
- GNUTLS_SEC_PARAM_LOW = 1,
706
- GNUTLS_SEC_PARAM_LEGACY = 2,
707
- GNUTLS_SEC_PARAM_NORMAL = 3,
708
- GNUTLS_SEC_PARAM_HIGH = 4,
709
- GNUTLS_SEC_PARAM_ULTRA = 5,
710
- } gnutls_sec_param_t;
710
+ typedef enum {
711
+ GNUTLS_SEC_PARAM_INSECURE = -20,
712
+ GNUTLS_SEC_PARAM_EXPORT = -15,
713
+ GNUTLS_SEC_PARAM_VERY_WEAK = -12,
714
+ GNUTLS_SEC_PARAM_WEAK = -10,
715
+ GNUTLS_SEC_PARAM_UNKNOWN = 0,
716
+ GNUTLS_SEC_PARAM_LOW = 1,
717
+ GNUTLS_SEC_PARAM_LEGACY = 2,
718
+ GNUTLS_SEC_PARAM_NORMAL = 3,
719
+ GNUTLS_SEC_PARAM_HIGH = 4,
720
+ GNUTLS_SEC_PARAM_ULTRA = 5,
721
+ } gnutls_sec_param_t;
711
722
 
712
723
  /**
713
724
  * gnutls_channel_binding_t:
@@ -715,235 +726,244 @@ typedef enum
715
726
  *
716
727
  * Enumeration of support channel binding types.
717
728
  */
718
- typedef enum
719
- {
720
- GNUTLS_CB_TLS_UNIQUE
721
- } gnutls_channel_binding_t;
729
+ typedef enum {
730
+ GNUTLS_CB_TLS_UNIQUE
731
+ } gnutls_channel_binding_t;
722
732
 
723
733
 
724
734
  /* If you want to change this, then also change the define in
725
735
  * gnutls_int.h, and recompile.
726
736
  */
727
- typedef void *gnutls_transport_ptr_t;
737
+ typedef void *gnutls_transport_ptr_t;
728
738
 
729
- struct gnutls_session_int;
730
- typedef struct gnutls_session_int *gnutls_session_t;
739
+ struct gnutls_session_int;
740
+ typedef struct gnutls_session_int *gnutls_session_t;
731
741
 
732
- struct gnutls_dh_params_int;
733
- typedef struct gnutls_dh_params_int *gnutls_dh_params_t;
742
+ struct gnutls_dh_params_int;
743
+ typedef struct gnutls_dh_params_int *gnutls_dh_params_t;
734
744
 
735
- struct gnutls_ecdh_params_int;
736
- typedef struct gnutls_ecdh_params_int *gnutls_ecdh_params_t;
745
+ struct gnutls_ecdh_params_int;
746
+ typedef struct gnutls_ecdh_params_int *gnutls_ecdh_params_t;
737
747
 
738
748
  /* XXX ugly. */
739
- struct gnutls_x509_privkey_int;
740
- typedef struct gnutls_x509_privkey_int *gnutls_rsa_params_t;
741
-
742
- struct gnutls_priority_st;
743
- typedef struct gnutls_priority_st *gnutls_priority_t;
744
-
745
- typedef struct
746
- {
747
- unsigned char *data;
748
- unsigned int size;
749
- } gnutls_datum_t;
750
-
751
-
752
- typedef struct gnutls_params_st
753
- {
754
- gnutls_params_type_t type;
755
- union params
756
- {
757
- gnutls_dh_params_t dh;
758
- gnutls_ecdh_params_t ecdh;
759
- gnutls_rsa_params_t rsa_export;
760
- } params;
761
- int deinit;
762
- } gnutls_params_st;
763
-
764
- typedef int gnutls_params_function (gnutls_session_t, gnutls_params_type_t,
765
- gnutls_params_st *);
749
+ struct gnutls_x509_privkey_int;
750
+ typedef struct gnutls_x509_privkey_int *gnutls_rsa_params_t;
751
+
752
+ struct gnutls_priority_st;
753
+ typedef struct gnutls_priority_st *gnutls_priority_t;
754
+
755
+ typedef struct {
756
+ unsigned char *data;
757
+ unsigned int size;
758
+ } gnutls_datum_t;
759
+
760
+
761
+ typedef struct gnutls_params_st {
762
+ gnutls_params_type_t type;
763
+ union params {
764
+ gnutls_dh_params_t dh;
765
+ gnutls_ecdh_params_t ecdh;
766
+ gnutls_rsa_params_t rsa_export;
767
+ } params;
768
+ int deinit;
769
+ } gnutls_params_st;
770
+
771
+ typedef int gnutls_params_function(gnutls_session_t, gnutls_params_type_t,
772
+ gnutls_params_st *);
766
773
 
767
774
  /* internal functions */
768
775
 
769
- int gnutls_init (gnutls_session_t * session,
770
- unsigned int flags);
771
- void gnutls_deinit (gnutls_session_t session);
776
+ int gnutls_init(gnutls_session_t * session, unsigned int flags);
777
+ void gnutls_deinit(gnutls_session_t session);
772
778
  #define _gnutls_deinit(x) gnutls_deinit(x)
773
779
 
774
- int gnutls_bye (gnutls_session_t session, gnutls_close_request_t how);
780
+ int gnutls_bye(gnutls_session_t session, gnutls_close_request_t how);
775
781
 
776
- int gnutls_handshake (gnutls_session_t session);
782
+ int gnutls_handshake(gnutls_session_t session);
777
783
 
778
784
  #define GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT ((unsigned int)-1)
779
- void gnutls_handshake_set_timeout (gnutls_session_t session,
780
- unsigned int ms);
781
- int gnutls_rehandshake (gnutls_session_t session);
782
-
783
- gnutls_alert_description_t gnutls_alert_get (gnutls_session_t session);
784
- int gnutls_alert_send (gnutls_session_t session,
785
- gnutls_alert_level_t level,
786
- gnutls_alert_description_t desc);
787
- int gnutls_alert_send_appropriate (gnutls_session_t session, int err);
788
- const char *gnutls_alert_get_name (gnutls_alert_description_t alert);
789
- const char * gnutls_alert_get_strname (gnutls_alert_description_t alert);
790
-
791
- gnutls_sec_param_t gnutls_pk_bits_to_sec_param (gnutls_pk_algorithm_t algo,
792
- unsigned int bits);
793
- const char *gnutls_sec_param_get_name (gnutls_sec_param_t param);
794
- unsigned int gnutls_sec_param_to_pk_bits (gnutls_pk_algorithm_t algo,
795
- gnutls_sec_param_t param);
785
+ void gnutls_handshake_set_timeout(gnutls_session_t session,
786
+ unsigned int ms);
787
+ int gnutls_rehandshake(gnutls_session_t session);
788
+
789
+ gnutls_alert_description_t gnutls_alert_get(gnutls_session_t session);
790
+ int gnutls_alert_send(gnutls_session_t session,
791
+ gnutls_alert_level_t level,
792
+ gnutls_alert_description_t desc);
793
+ int gnutls_alert_send_appropriate(gnutls_session_t session, int err);
794
+ const char *gnutls_alert_get_name(gnutls_alert_description_t alert);
795
+ const char *gnutls_alert_get_strname(gnutls_alert_description_t alert);
796
+
797
+ gnutls_sec_param_t gnutls_pk_bits_to_sec_param(gnutls_pk_algorithm_t algo,
798
+ unsigned int bits);
799
+ const char *gnutls_sec_param_get_name(gnutls_sec_param_t param);
800
+ unsigned int gnutls_sec_param_to_pk_bits(gnutls_pk_algorithm_t algo,
801
+ gnutls_sec_param_t param);
796
802
 
797
803
  /* Elliptic curves */
798
- const char * gnutls_ecc_curve_get_name (gnutls_ecc_curve_t curve);
799
- int gnutls_ecc_curve_get_size (gnutls_ecc_curve_t curve);
804
+ const char *gnutls_ecc_curve_get_name(gnutls_ecc_curve_t curve);
805
+ int gnutls_ecc_curve_get_size(gnutls_ecc_curve_t curve);
800
806
  gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
801
807
 
802
808
  /* get information on the current session */
803
- gnutls_cipher_algorithm_t gnutls_cipher_get (gnutls_session_t session);
804
- gnutls_kx_algorithm_t gnutls_kx_get (gnutls_session_t session);
805
- gnutls_mac_algorithm_t gnutls_mac_get (gnutls_session_t session);
806
- gnutls_compression_method_t
807
- gnutls_compression_get (gnutls_session_t session);
808
- gnutls_certificate_type_t
809
- gnutls_certificate_type_get (gnutls_session_t session);
810
-
811
- int gnutls_sign_algorithm_get (gnutls_session_t session);
812
- int gnutls_sign_algorithm_get_client (gnutls_session_t session);
813
-
814
- int gnutls_sign_algorithm_get_requested (gnutls_session_t session,
815
- size_t indx,
816
- gnutls_sign_algorithm_t * algo);
817
-
818
- size_t gnutls_cipher_get_key_size (gnutls_cipher_algorithm_t algorithm);
819
- size_t gnutls_mac_get_key_size (gnutls_mac_algorithm_t algorithm);
809
+ gnutls_cipher_algorithm_t gnutls_cipher_get(gnutls_session_t session);
810
+ gnutls_kx_algorithm_t gnutls_kx_get(gnutls_session_t session);
811
+ gnutls_mac_algorithm_t gnutls_mac_get(gnutls_session_t session);
812
+ gnutls_compression_method_t
813
+ gnutls_compression_get(gnutls_session_t session);
814
+ gnutls_certificate_type_t
815
+ gnutls_certificate_type_get(gnutls_session_t session);
816
+
817
+ int gnutls_sign_algorithm_get(gnutls_session_t session);
818
+ int gnutls_sign_algorithm_get_client(gnutls_session_t session);
819
+
820
+ int gnutls_sign_algorithm_get_requested(gnutls_session_t session,
821
+ size_t indx,
822
+ gnutls_sign_algorithm_t * algo);
820
823
 
821
824
  /* the name of the specified algorithms */
822
- const char *gnutls_cipher_get_name (gnutls_cipher_algorithm_t algorithm);
823
- const char *gnutls_mac_get_name (gnutls_mac_algorithm_t algorithm);
824
- const char *gnutls_compression_get_name (gnutls_compression_method_t
825
- algorithm);
826
- const char *gnutls_kx_get_name (gnutls_kx_algorithm_t algorithm);
827
- const char *gnutls_certificate_type_get_name (gnutls_certificate_type_t
828
- type);
829
- const char *gnutls_pk_get_name (gnutls_pk_algorithm_t algorithm);
830
- const char *gnutls_sign_get_name (gnutls_sign_algorithm_t algorithm);
831
-
832
- int gnutls_sign_is_secure (gnutls_sign_algorithm_t algorithm);
833
- gnutls_digest_algorithm_t
834
- gnutls_sign_get_hash_algorithm (gnutls_sign_algorithm_t sign);
835
- gnutls_pk_algorithm_t
836
- gnutls_sign_get_pk_algorithm (gnutls_sign_algorithm_t sign);
837
- gnutls_sign_algorithm_t
838
- gnutls_pk_to_sign (gnutls_pk_algorithm_t pk,
839
- gnutls_digest_algorithm_t hash);
825
+ const char *gnutls_cipher_get_name(gnutls_cipher_algorithm_t algorithm);
826
+ const char *gnutls_mac_get_name(gnutls_mac_algorithm_t algorithm);
827
+ const char *gnutls_digest_get_name(gnutls_digest_algorithm_t algorithm);
828
+ const char *gnutls_compression_get_name(gnutls_compression_method_t
829
+ algorithm);
830
+ const char *gnutls_kx_get_name(gnutls_kx_algorithm_t algorithm);
831
+ const char *gnutls_certificate_type_get_name(gnutls_certificate_type_t
832
+ type);
833
+ const char *gnutls_pk_get_name(gnutls_pk_algorithm_t algorithm);
834
+ const char *gnutls_sign_get_name(gnutls_sign_algorithm_t algorithm);
835
+
836
+ size_t gnutls_cipher_get_key_size(gnutls_cipher_algorithm_t algorithm);
837
+ size_t gnutls_mac_get_key_size(gnutls_mac_algorithm_t algorithm);
838
+
839
+ int gnutls_sign_is_secure(gnutls_sign_algorithm_t algorithm);
840
+ gnutls_digest_algorithm_t
841
+ gnutls_sign_get_hash_algorithm(gnutls_sign_algorithm_t sign);
842
+ gnutls_pk_algorithm_t
843
+ gnutls_sign_get_pk_algorithm(gnutls_sign_algorithm_t sign);
844
+ gnutls_sign_algorithm_t
845
+ gnutls_pk_to_sign(gnutls_pk_algorithm_t pk,
846
+ gnutls_digest_algorithm_t hash);
840
847
 
841
848
  #define gnutls_sign_algorithm_get_name gnutls_sign_get_name
842
849
 
843
- gnutls_mac_algorithm_t gnutls_mac_get_id (const char *name);
844
- gnutls_compression_method_t gnutls_compression_get_id (const char *name);
845
- gnutls_cipher_algorithm_t gnutls_cipher_get_id (const char *name);
846
- gnutls_kx_algorithm_t gnutls_kx_get_id (const char *name);
847
- gnutls_protocol_t gnutls_protocol_get_id (const char *name);
848
- gnutls_certificate_type_t gnutls_certificate_type_get_id (const char *name);
849
- gnutls_pk_algorithm_t gnutls_pk_get_id (const char *name);
850
- gnutls_sign_algorithm_t gnutls_sign_get_id (const char *name);
850
+ gnutls_mac_algorithm_t gnutls_mac_get_id(const char *name);
851
+ gnutls_digest_algorithm_t gnutls_digest_get_id(const char *name);
852
+ gnutls_compression_method_t gnutls_compression_get_id(const char *name);
853
+ gnutls_cipher_algorithm_t gnutls_cipher_get_id(const char *name);
854
+ gnutls_kx_algorithm_t gnutls_kx_get_id(const char *name);
855
+ gnutls_protocol_t gnutls_protocol_get_id(const char *name);
856
+ gnutls_certificate_type_t gnutls_certificate_type_get_id(const char *name);
857
+ gnutls_pk_algorithm_t gnutls_pk_get_id(const char *name);
858
+ gnutls_sign_algorithm_t gnutls_sign_get_id(const char *name);
851
859
 
852
860
  /* list supported algorithms */
853
- const gnutls_ecc_curve_t * gnutls_ecc_curve_list (void);
854
- const gnutls_cipher_algorithm_t *gnutls_cipher_list (void);
855
- const gnutls_mac_algorithm_t *gnutls_mac_list (void);
856
- const gnutls_compression_method_t *gnutls_compression_list (void);
857
- const gnutls_protocol_t *gnutls_protocol_list (void);
858
- const gnutls_certificate_type_t *gnutls_certificate_type_list (void);
859
- const gnutls_kx_algorithm_t *gnutls_kx_list (void);
860
- const gnutls_pk_algorithm_t *gnutls_pk_list (void);
861
- const gnutls_sign_algorithm_t *gnutls_sign_list (void);
862
- const char *gnutls_cipher_suite_info (size_t idx,
863
- unsigned char *cs_id,
864
- gnutls_kx_algorithm_t * kx,
865
- gnutls_cipher_algorithm_t * cipher,
866
- gnutls_mac_algorithm_t * mac,
867
- gnutls_protocol_t * min_version);
861
+ const gnutls_ecc_curve_t *gnutls_ecc_curve_list(void);
862
+ const gnutls_cipher_algorithm_t *gnutls_cipher_list(void);
863
+ const gnutls_mac_algorithm_t *gnutls_mac_list(void);
864
+ const gnutls_digest_algorithm_t *gnutls_digest_list(void);
865
+ const gnutls_compression_method_t *gnutls_compression_list(void);
866
+ const gnutls_protocol_t *gnutls_protocol_list(void);
867
+ const gnutls_certificate_type_t *gnutls_certificate_type_list(void);
868
+ const gnutls_kx_algorithm_t *gnutls_kx_list(void);
869
+ const gnutls_pk_algorithm_t *gnutls_pk_list(void);
870
+ const gnutls_sign_algorithm_t *gnutls_sign_list(void);
871
+ const char *gnutls_cipher_suite_info(size_t idx,
872
+ unsigned char *cs_id,
873
+ gnutls_kx_algorithm_t * kx,
874
+ gnutls_cipher_algorithm_t * cipher,
875
+ gnutls_mac_algorithm_t * mac,
876
+ gnutls_protocol_t * min_version);
868
877
 
869
878
  /* error functions */
870
- int gnutls_error_is_fatal (int error);
871
- int gnutls_error_to_alert (int err, int *level);
879
+ int gnutls_error_is_fatal(int error);
880
+ int gnutls_error_to_alert(int err, int *level);
872
881
 
873
- void gnutls_perror (int error);
874
- const char *gnutls_strerror (int error);
875
- const char *gnutls_strerror_name (int error);
882
+ void gnutls_perror(int error);
883
+ const char *gnutls_strerror(int error);
884
+ const char *gnutls_strerror_name(int error);
876
885
 
877
886
  /* Semi-internal functions.
878
887
  */
879
- void gnutls_handshake_set_private_extensions (gnutls_session_t session,
880
- int allow);
881
- int gnutls_handshake_set_random (gnutls_session_t session, const gnutls_datum_t* random);
888
+ void gnutls_handshake_set_private_extensions(gnutls_session_t session,
889
+ int allow);
890
+ int gnutls_handshake_set_random(gnutls_session_t session,
891
+ const gnutls_datum_t * random);
882
892
 
883
- gnutls_handshake_description_t
884
- gnutls_handshake_get_last_out (gnutls_session_t session);
885
- gnutls_handshake_description_t
886
- gnutls_handshake_get_last_in (gnutls_session_t session);
893
+ gnutls_handshake_description_t
894
+ gnutls_handshake_get_last_out(gnutls_session_t session);
895
+ gnutls_handshake_description_t
896
+ gnutls_handshake_get_last_in(gnutls_session_t session);
887
897
 
888
898
  /* Record layer functions.
889
899
  */
890
900
  #define GNUTLS_HEARTBEAT_WAIT 1
891
- int gnutls_heartbeat_ping (gnutls_session_t session, size_t data_size,
892
- unsigned int max_tries, unsigned int flags);
893
- int gnutls_heartbeat_pong (gnutls_session_t session, unsigned int flags);
901
+ int gnutls_heartbeat_ping(gnutls_session_t session, size_t data_size,
902
+ unsigned int max_tries, unsigned int flags);
903
+ int gnutls_heartbeat_pong(gnutls_session_t session, unsigned int flags);
894
904
 
895
- void gnutls_record_set_timeout (gnutls_session_t session, unsigned int ms);
896
- void gnutls_record_disable_padding (gnutls_session_t session);
905
+ void gnutls_record_set_timeout(gnutls_session_t session, unsigned int ms);
906
+ void gnutls_record_disable_padding(gnutls_session_t session);
897
907
 
898
- void gnutls_record_cork (gnutls_session_t session);
908
+ void gnutls_record_cork(gnutls_session_t session);
899
909
  #define GNUTLS_RECORD_WAIT 1
900
- int gnutls_record_uncork (gnutls_session_t session, unsigned int flags);
901
-
902
- typedef struct {
903
- size_t low;
904
- size_t high;
905
- } gnutls_range_st;
906
-
907
- int gnutls_range_split (gnutls_session_t session,
908
- const gnutls_range_st *orig,
909
- gnutls_range_st * small_range,
910
- gnutls_range_st * rem_range);
911
-
912
- ssize_t gnutls_record_send (gnutls_session_t session, const void *data,
913
- size_t data_size);
914
- ssize_t gnutls_record_send_range (gnutls_session_t session, const void *data,
915
- size_t data_size, const gnutls_range_st *range);
916
- ssize_t gnutls_record_recv (gnutls_session_t session, void *data,
917
- size_t data_size);
910
+ int gnutls_record_uncork(gnutls_session_t session, unsigned int flags);
911
+
912
+ typedef struct {
913
+ size_t low;
914
+ size_t high;
915
+ } gnutls_range_st;
916
+
917
+ int gnutls_range_split(gnutls_session_t session,
918
+ const gnutls_range_st * orig,
919
+ gnutls_range_st * small_range,
920
+ gnutls_range_st * rem_range);
921
+
922
+ ssize_t gnutls_record_send(gnutls_session_t session, const void *data,
923
+ size_t data_size);
924
+ ssize_t gnutls_record_send_range(gnutls_session_t session,
925
+ const void *data, size_t data_size,
926
+ const gnutls_range_st * range);
927
+ ssize_t gnutls_record_recv(gnutls_session_t session, void *data,
928
+ size_t data_size);
918
929
  #define gnutls_read gnutls_record_recv
919
930
  #define gnutls_write gnutls_record_send
920
- ssize_t gnutls_record_recv_seq (gnutls_session_t session, void *data, size_t data_size,
921
- unsigned char *seq);
931
+ ssize_t gnutls_record_recv_seq(gnutls_session_t session, void *data,
932
+ size_t data_size, unsigned char *seq);
933
+
934
+ size_t gnutls_record_overhead_size(gnutls_session_t session);
935
+
936
+ size_t gnutls_est_record_overhead_size(gnutls_protocol_t version,
937
+ gnutls_cipher_algorithm_t cipher,
938
+ gnutls_mac_algorithm_t mac,
939
+ gnutls_compression_method_t comp,
940
+ unsigned int flags);
922
941
 
923
- void gnutls_session_enable_compatibility_mode (gnutls_session_t session);
924
- void gnutls_record_set_max_empty_records (gnutls_session_t session, const unsigned int i);
942
+ void gnutls_session_enable_compatibility_mode(gnutls_session_t session);
943
+ void gnutls_record_set_max_empty_records(gnutls_session_t session,
944
+ const unsigned int i);
925
945
 
926
- int gnutls_record_can_use_length_hiding (gnutls_session_t session);
946
+ int gnutls_record_can_use_length_hiding(gnutls_session_t session);
927
947
 
928
- int gnutls_record_get_direction (gnutls_session_t session);
948
+ int gnutls_record_get_direction(gnutls_session_t session);
929
949
 
930
- size_t gnutls_record_get_max_size (gnutls_session_t session);
931
- ssize_t gnutls_record_set_max_size (gnutls_session_t session, size_t size);
950
+ size_t gnutls_record_get_max_size(gnutls_session_t session);
951
+ ssize_t gnutls_record_set_max_size(gnutls_session_t session, size_t size);
932
952
 
933
- size_t gnutls_record_check_pending (gnutls_session_t session);
953
+ size_t gnutls_record_check_pending(gnutls_session_t session);
934
954
 
935
- void gnutls_session_force_valid (gnutls_session_t session);
955
+ void gnutls_session_force_valid(gnutls_session_t session);
936
956
 
937
- int gnutls_prf (gnutls_session_t session,
938
- size_t label_size, const char *label,
939
- int server_random_first,
940
- size_t extra_size, const char *extra,
941
- size_t outsize, char *out);
957
+ int gnutls_prf(gnutls_session_t session,
958
+ size_t label_size, const char *label,
959
+ int server_random_first,
960
+ size_t extra_size, const char *extra,
961
+ size_t outsize, char *out);
942
962
 
943
- int gnutls_prf_raw (gnutls_session_t session,
944
- size_t label_size, const char *label,
945
- size_t seed_size, const char *seed,
946
- size_t outsize, char *out);
963
+ int gnutls_prf_raw(gnutls_session_t session,
964
+ size_t label_size, const char *label,
965
+ size_t seed_size, const char *seed,
966
+ size_t outsize, char *out);
947
967
 
948
968
  /**
949
969
  * gnutls_server_name_type_t:
@@ -951,34 +971,34 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
951
971
  *
952
972
  * Enumeration of different server name types.
953
973
  */
954
- typedef enum
955
- {
956
- GNUTLS_NAME_DNS = 1
957
- } gnutls_server_name_type_t;
974
+ typedef enum {
975
+ GNUTLS_NAME_DNS = 1
976
+ } gnutls_server_name_type_t;
958
977
 
959
- int gnutls_server_name_set (gnutls_session_t session,
960
- gnutls_server_name_type_t type,
961
- const void *name, size_t name_length);
978
+ int gnutls_server_name_set(gnutls_session_t session,
979
+ gnutls_server_name_type_t type,
980
+ const void *name, size_t name_length);
962
981
 
963
- int gnutls_server_name_get (gnutls_session_t session,
964
- void *data, size_t * data_length,
965
- unsigned int *type, unsigned int indx);
982
+ int gnutls_server_name_get(gnutls_session_t session,
983
+ void *data, size_t * data_length,
984
+ unsigned int *type, unsigned int indx);
966
985
 
967
- unsigned int gnutls_heartbeat_get_timeout (gnutls_session_t session);
968
- void gnutls_heartbeat_set_timeouts (gnutls_session_t session, unsigned int retrans_timeout,
969
- unsigned int total_timeout);
986
+ unsigned int gnutls_heartbeat_get_timeout(gnutls_session_t session);
987
+ void gnutls_heartbeat_set_timeouts(gnutls_session_t session,
988
+ unsigned int retrans_timeout,
989
+ unsigned int total_timeout);
970
990
 
971
991
  #define GNUTLS_HB_PEER_ALLOWED_TO_SEND (1)
972
992
  #define GNUTLS_HB_PEER_NOT_ALLOWED_TO_SEND (1<<1)
973
993
 
974
994
  /* Heartbeat */
975
- void gnutls_heartbeat_enable (gnutls_session_t session, unsigned int type);
995
+ void gnutls_heartbeat_enable(gnutls_session_t session, unsigned int type);
976
996
 
977
997
  #define GNUTLS_HB_LOCAL_ALLOWED_TO_SEND (1<<2)
978
- int gnutls_heartbeat_allowed (gnutls_session_t session, unsigned int type);
998
+ int gnutls_heartbeat_allowed(gnutls_session_t session, unsigned int type);
979
999
 
980
1000
  /* Safe renegotiation */
981
- int gnutls_safe_renegotiation_status (gnutls_session_t session);
1001
+ int gnutls_safe_renegotiation_status(gnutls_session_t session);
982
1002
 
983
1003
  /**
984
1004
  * gnutls_supplemental_data_format_type_t:
@@ -986,20 +1006,18 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
986
1006
  *
987
1007
  * Enumeration of different supplemental data types (RFC 4680).
988
1008
  */
989
- typedef enum
990
- {
991
- GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA = 0
992
- } gnutls_supplemental_data_format_type_t;
1009
+ typedef enum {
1010
+ GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA = 0
1011
+ } gnutls_supplemental_data_format_type_t;
993
1012
 
994
- const char
995
- *gnutls_supplemental_get_name (gnutls_supplemental_data_format_type_t
996
- type);
1013
+ const char
1014
+ *gnutls_supplemental_get_name(gnutls_supplemental_data_format_type_t type);
997
1015
 
998
1016
  /* SessionTicket, RFC 5077. */
999
- int gnutls_session_ticket_key_generate (gnutls_datum_t * key);
1000
- int gnutls_session_ticket_enable_client (gnutls_session_t session);
1001
- int gnutls_session_ticket_enable_server (gnutls_session_t session,
1002
- const gnutls_datum_t * key);
1017
+ int gnutls_session_ticket_key_generate(gnutls_datum_t * key);
1018
+ int gnutls_session_ticket_enable_client(gnutls_session_t session);
1019
+ int gnutls_session_ticket_enable_server(gnutls_session_t session,
1020
+ const gnutls_datum_t * key);
1003
1021
 
1004
1022
  /* SRTP, RFC 5764 */
1005
1023
 
@@ -1012,324 +1030,399 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1012
1030
  *
1013
1031
  * Enumeration of different SRTP protection profiles.
1014
1032
  */
1015
- typedef enum
1016
- {
1017
- GNUTLS_SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001,
1018
- GNUTLS_SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002,
1019
- GNUTLS_SRTP_NULL_HMAC_SHA1_80 = 0x0005,
1020
- GNUTLS_SRTP_NULL_HMAC_SHA1_32 = 0x0006
1021
- } gnutls_srtp_profile_t;
1022
-
1023
- int gnutls_srtp_set_profile (gnutls_session_t session,
1024
- gnutls_srtp_profile_t profile);
1025
- int gnutls_srtp_set_profile_direct (gnutls_session_t session,
1026
- const char *profiles, const char **err_pos);
1027
- int gnutls_srtp_get_selected_profile (gnutls_session_t session,
1028
- gnutls_srtp_profile_t *profile);
1029
-
1030
- const char *gnutls_srtp_get_profile_name (gnutls_srtp_profile_t profile);
1031
- int gnutls_srtp_get_profile_id (const char *name,
1032
- gnutls_srtp_profile_t *profile);
1033
- int gnutls_srtp_get_keys (gnutls_session_t session,
1034
- void *key_material,
1035
- unsigned int key_material_size,
1036
- gnutls_datum_t *client_key,
1037
- gnutls_datum_t *client_salt,
1038
- gnutls_datum_t *server_key,
1039
- gnutls_datum_t *server_salt);
1040
-
1041
- int gnutls_srtp_set_mki (gnutls_session_t session, const gnutls_datum_t *mki);
1042
- int gnutls_srtp_get_mki (gnutls_session_t session, gnutls_datum_t *mki);
1043
-
1044
- int gnutls_key_generate (gnutls_datum_t * key, unsigned int key_size);
1033
+ typedef enum {
1034
+ GNUTLS_SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001,
1035
+ GNUTLS_SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002,
1036
+ GNUTLS_SRTP_NULL_HMAC_SHA1_80 = 0x0005,
1037
+ GNUTLS_SRTP_NULL_HMAC_SHA1_32 = 0x0006
1038
+ } gnutls_srtp_profile_t;
1039
+
1040
+ int gnutls_srtp_set_profile(gnutls_session_t session,
1041
+ gnutls_srtp_profile_t profile);
1042
+ int gnutls_srtp_set_profile_direct(gnutls_session_t session,
1043
+ const char *profiles,
1044
+ const char **err_pos);
1045
+ int gnutls_srtp_get_selected_profile(gnutls_session_t session,
1046
+ gnutls_srtp_profile_t * profile);
1047
+
1048
+ const char *gnutls_srtp_get_profile_name(gnutls_srtp_profile_t profile);
1049
+ int gnutls_srtp_get_profile_id(const char *name,
1050
+ gnutls_srtp_profile_t * profile);
1051
+ int gnutls_srtp_get_keys(gnutls_session_t session,
1052
+ void *key_material,
1053
+ unsigned int key_material_size,
1054
+ gnutls_datum_t * client_key,
1055
+ gnutls_datum_t * client_salt,
1056
+ gnutls_datum_t * server_key,
1057
+ gnutls_datum_t * server_salt);
1058
+
1059
+ int gnutls_srtp_set_mki(gnutls_session_t session,
1060
+ const gnutls_datum_t * mki);
1061
+ int gnutls_srtp_get_mki(gnutls_session_t session, gnutls_datum_t * mki);
1062
+
1063
+ /* ALPN TLS extension */
1064
+ #define GNUTLS_ALPN_MAND 1
1065
+ int gnutls_alpn_get_selected_protocol(gnutls_session_t session,
1066
+ gnutls_datum_t * protocol);
1067
+ int gnutls_alpn_set_protocols(gnutls_session_t session,
1068
+ const gnutls_datum_t * protocols,
1069
+ unsigned protocols_size, unsigned flags);
1070
+
1071
+ int gnutls_key_generate(gnutls_datum_t * key, unsigned int key_size);
1045
1072
 
1046
1073
  /* if you just want some defaults, use the following.
1047
1074
  */
1048
- int gnutls_priority_init (gnutls_priority_t * priority_cache,
1049
- const char *priorities, const char **err_pos);
1050
- void gnutls_priority_deinit (gnutls_priority_t priority_cache);
1051
- int gnutls_priority_get_cipher_suite_index (gnutls_priority_t pcache, unsigned int idx, unsigned int *sidx);
1052
-
1053
- int gnutls_priority_set (gnutls_session_t session,
1054
- gnutls_priority_t priority);
1055
- int gnutls_priority_set_direct (gnutls_session_t session,
1056
- const char *priorities,
1057
- const char **err_pos);
1058
-
1059
- int gnutls_priority_certificate_type_list (gnutls_priority_t pcache, const unsigned int** list);
1060
- int gnutls_priority_sign_list (gnutls_priority_t pcache, const unsigned int** list);
1061
- int gnutls_priority_protocol_list (gnutls_priority_t pcache, const unsigned int** list);
1062
- int gnutls_priority_compression_list (gnutls_priority_t pcache, const unsigned int** list);
1063
- int gnutls_priority_ecc_curve_list (gnutls_priority_t pcache, const unsigned int** list);
1075
+ int gnutls_priority_init(gnutls_priority_t * priority_cache,
1076
+ const char *priorities, const char **err_pos);
1077
+ void gnutls_priority_deinit(gnutls_priority_t priority_cache);
1078
+ int gnutls_priority_get_cipher_suite_index(gnutls_priority_t pcache,
1079
+ unsigned int idx,
1080
+ unsigned int *sidx);
1081
+
1082
+ int gnutls_priority_set(gnutls_session_t session,
1083
+ gnutls_priority_t priority);
1084
+ int gnutls_priority_set_direct(gnutls_session_t session,
1085
+ const char *priorities,
1086
+ const char **err_pos);
1087
+
1088
+ int gnutls_priority_certificate_type_list(gnutls_priority_t pcache,
1089
+ const unsigned int **list);
1090
+ int gnutls_priority_sign_list(gnutls_priority_t pcache,
1091
+ const unsigned int **list);
1092
+ int gnutls_priority_protocol_list(gnutls_priority_t pcache,
1093
+ const unsigned int **list);
1094
+ int gnutls_priority_compression_list(gnutls_priority_t pcache,
1095
+ const unsigned int **list);
1096
+ int gnutls_priority_ecc_curve_list(gnutls_priority_t pcache,
1097
+ const unsigned int **list);
1098
+
1099
+ int gnutls_priority_kx_list(gnutls_priority_t pcache,
1100
+ const unsigned int **list);
1101
+ int gnutls_priority_cipher_list(gnutls_priority_t pcache,
1102
+ const unsigned int **list);
1103
+ int gnutls_priority_mac_list(gnutls_priority_t pcache,
1104
+ const unsigned int **list);
1064
1105
 
1065
1106
  /* for compatibility
1066
1107
  */
1067
- int gnutls_set_default_priority (gnutls_session_t session);
1108
+ int gnutls_set_default_priority(gnutls_session_t session);
1068
1109
 
1069
1110
  /* Returns the name of a cipher suite */
1070
- const char *gnutls_cipher_suite_get_name (gnutls_kx_algorithm_t
1071
- kx_algorithm,
1072
- gnutls_cipher_algorithm_t
1073
- cipher_algorithm,
1074
- gnutls_mac_algorithm_t
1075
- mac_algorithm);
1111
+ const char *gnutls_cipher_suite_get_name(gnutls_kx_algorithm_t
1112
+ kx_algorithm,
1113
+ gnutls_cipher_algorithm_t
1114
+ cipher_algorithm,
1115
+ gnutls_mac_algorithm_t
1116
+ mac_algorithm);
1076
1117
 
1077
1118
  /* get the currently used protocol version */
1078
- gnutls_protocol_t gnutls_protocol_get_version (gnutls_session_t session);
1119
+ gnutls_protocol_t gnutls_protocol_get_version(gnutls_session_t session);
1079
1120
 
1080
- const char *gnutls_protocol_get_name (gnutls_protocol_t version);
1121
+ const char *gnutls_protocol_get_name(gnutls_protocol_t version);
1081
1122
 
1082
1123
 
1083
1124
  /* get/set session
1084
1125
  */
1085
- int gnutls_session_set_data (gnutls_session_t session,
1086
- const void *session_data,
1087
- size_t session_data_size);
1088
- int gnutls_session_get_data (gnutls_session_t session, void *session_data,
1089
- size_t * session_data_size);
1090
- int gnutls_session_get_data2 (gnutls_session_t session,
1091
- gnutls_datum_t * data);
1092
- void gnutls_session_get_random (gnutls_session_t session, gnutls_datum_t* client,
1093
- gnutls_datum_t* server);
1094
- char * gnutls_session_get_desc (gnutls_session_t session);
1095
-
1096
- int gnutls_session_set_premaster (gnutls_session_t session, unsigned int entity,
1097
- gnutls_protocol_t version,
1098
- gnutls_kx_algorithm_t kx,
1099
- gnutls_cipher_algorithm_t cipher,
1100
- gnutls_mac_algorithm_t mac,
1101
- gnutls_compression_method_t comp,
1102
- const gnutls_datum_t* master,
1103
- const gnutls_datum_t * session_id);
1126
+ int gnutls_session_set_data(gnutls_session_t session,
1127
+ const void *session_data,
1128
+ size_t session_data_size);
1129
+ int gnutls_session_get_data(gnutls_session_t session, void *session_data,
1130
+ size_t * session_data_size);
1131
+ int gnutls_session_get_data2(gnutls_session_t session,
1132
+ gnutls_datum_t * data);
1133
+ void gnutls_session_get_random(gnutls_session_t session,
1134
+ gnutls_datum_t * client,
1135
+ gnutls_datum_t * server);
1136
+ char *gnutls_session_get_desc(gnutls_session_t session);
1137
+
1138
+ int gnutls_session_set_premaster(gnutls_session_t session,
1139
+ unsigned int entity,
1140
+ gnutls_protocol_t version,
1141
+ gnutls_kx_algorithm_t kx,
1142
+ gnutls_cipher_algorithm_t cipher,
1143
+ gnutls_mac_algorithm_t mac,
1144
+ gnutls_compression_method_t comp,
1145
+ const gnutls_datum_t * master,
1146
+ const gnutls_datum_t * session_id);
1104
1147
 
1105
1148
  /* returns the session ID */
1106
1149
  #define GNUTLS_MAX_SESSION_ID 32
1107
- int gnutls_session_get_id (gnutls_session_t session, void *session_id,
1108
- size_t * session_id_size);
1109
- int gnutls_session_get_id2 (gnutls_session_t session, gnutls_datum_t *session_id);
1150
+ int gnutls_session_get_id(gnutls_session_t session, void *session_id,
1151
+ size_t * session_id_size);
1152
+ int gnutls_session_get_id2(gnutls_session_t session,
1153
+ gnutls_datum_t * session_id);
1110
1154
 
1111
- int gnutls_session_channel_binding (gnutls_session_t session,
1112
- gnutls_channel_binding_t cbtype,
1113
- gnutls_datum_t * cb);
1155
+ int gnutls_session_set_id(gnutls_session_t session,
1156
+ const gnutls_datum_t * sid);
1157
+
1158
+ int gnutls_session_channel_binding(gnutls_session_t session,
1159
+ gnutls_channel_binding_t cbtype,
1160
+ gnutls_datum_t * cb);
1114
1161
 
1115
1162
  /* checks if this session is a resumed one
1116
1163
  */
1117
- int gnutls_session_is_resumed (gnutls_session_t session);
1118
- int gnutls_session_resumption_requested (gnutls_session_t session);
1119
-
1120
- typedef int (*gnutls_db_store_func) (void *, gnutls_datum_t key,
1121
- gnutls_datum_t data);
1122
- typedef int (*gnutls_db_remove_func) (void *, gnutls_datum_t key);
1123
- typedef gnutls_datum_t (*gnutls_db_retr_func) (void *, gnutls_datum_t key);
1124
-
1125
- void gnutls_db_set_cache_expiration (gnutls_session_t session, int seconds);
1126
-
1127
- void gnutls_db_remove_session (gnutls_session_t session);
1128
- void gnutls_db_set_retrieve_function (gnutls_session_t session,
1129
- gnutls_db_retr_func retr_func);
1130
- void gnutls_db_set_remove_function (gnutls_session_t session,
1131
- gnutls_db_remove_func rem_func);
1132
- void gnutls_db_set_store_function (gnutls_session_t session,
1133
- gnutls_db_store_func store_func);
1134
- void gnutls_db_set_ptr (gnutls_session_t session, void *ptr);
1135
- void *gnutls_db_get_ptr (gnutls_session_t session);
1136
- int gnutls_db_check_entry (gnutls_session_t session,
1137
- gnutls_datum_t session_entry);
1138
- time_t gnutls_db_check_entry_time (gnutls_datum_t *entry);
1139
-
1140
- typedef int (*gnutls_handshake_post_client_hello_func) (gnutls_session_t);
1141
- void
1142
- gnutls_handshake_set_post_client_hello_function (gnutls_session_t session,
1143
- gnutls_handshake_post_client_hello_func
1144
- func);
1145
-
1146
- void gnutls_handshake_set_max_packet_length (gnutls_session_t session,
1147
- size_t max);
1164
+ int gnutls_session_is_resumed(gnutls_session_t session);
1165
+ int gnutls_session_resumption_requested(gnutls_session_t session);
1166
+
1167
+ typedef int (*gnutls_db_store_func) (void *, gnutls_datum_t key,
1168
+ gnutls_datum_t data);
1169
+ typedef int (*gnutls_db_remove_func) (void *, gnutls_datum_t key);
1170
+ typedef gnutls_datum_t(*gnutls_db_retr_func) (void *, gnutls_datum_t key);
1171
+
1172
+ void gnutls_db_set_cache_expiration(gnutls_session_t session, int seconds);
1173
+
1174
+ void gnutls_db_remove_session(gnutls_session_t session);
1175
+ void gnutls_db_set_retrieve_function(gnutls_session_t session,
1176
+ gnutls_db_retr_func retr_func);
1177
+ void gnutls_db_set_remove_function(gnutls_session_t session,
1178
+ gnutls_db_remove_func rem_func);
1179
+ void gnutls_db_set_store_function(gnutls_session_t session,
1180
+ gnutls_db_store_func store_func);
1181
+ void gnutls_db_set_ptr(gnutls_session_t session, void *ptr);
1182
+ void *gnutls_db_get_ptr(gnutls_session_t session);
1183
+ int gnutls_db_check_entry(gnutls_session_t session,
1184
+ gnutls_datum_t session_entry);
1185
+ time_t gnutls_db_check_entry_time(gnutls_datum_t * entry);
1186
+
1187
+ /**
1188
+ * gnutls_handshake_hook_func:
1189
+ * @session: the current session
1190
+ * @htype: the type of the handshake message (%gnutls_handshake_description_t)
1191
+ * @post: non zero if this is a post-process/generation call and zero otherwise
1192
+ * @incoming: non zero if this is an incoming message and zero if this is an outgoing message
1193
+ *
1194
+ * Function prototype for handshake hooks. It is set using
1195
+ * gnutls_handshake_set_hook_function().
1196
+ *
1197
+ * Returns: Non zero on error.
1198
+ */
1199
+ #define GNUTLS_HOOK_POST (1)
1200
+ #define GNUTLS_HOOK_PRE (0)
1201
+ #define GNUTLS_HOOK_BOTH (-1)
1202
+
1203
+ typedef int (*gnutls_handshake_hook_func) (gnutls_session_t,
1204
+ unsigned int htype,
1205
+ unsigned post,
1206
+ unsigned int incoming);
1207
+ void gnutls_handshake_set_hook_function(gnutls_session_t session,
1208
+ unsigned int htype, int post,
1209
+ gnutls_handshake_hook_func func);
1210
+
1211
+ typedef int (*gnutls_handshake_post_client_hello_func) (gnutls_session_t);
1212
+ void
1213
+ gnutls_handshake_set_post_client_hello_function(gnutls_session_t session,
1214
+ gnutls_handshake_post_client_hello_func
1215
+ func);
1216
+
1217
+ void gnutls_handshake_set_max_packet_length(gnutls_session_t session,
1218
+ size_t max);
1148
1219
 
1149
1220
  /* returns libgnutls version (call it with a NULL argument)
1150
1221
  */
1151
- const char *gnutls_check_version (const char *req_version);
1222
+ const char *gnutls_check_version(const char *req_version);
1152
1223
 
1153
1224
  /* Functions for setting/clearing credentials
1154
1225
  */
1155
- void gnutls_credentials_clear (gnutls_session_t session);
1226
+ void gnutls_credentials_clear(gnutls_session_t session);
1156
1227
 
1157
1228
  /* cred is a structure defined by the kx algorithm
1158
1229
  */
1159
- int gnutls_credentials_set (gnutls_session_t session,
1160
- gnutls_credentials_type_t type, void *cred);
1230
+ int gnutls_credentials_set(gnutls_session_t session,
1231
+ gnutls_credentials_type_t type, void *cred);
1161
1232
  #define gnutls_cred_set gnutls_credentials_set
1162
1233
 
1163
1234
  /* x.509 types */
1164
1235
 
1165
- struct gnutls_x509_privkey_int;
1166
- typedef struct gnutls_x509_privkey_int *gnutls_x509_privkey_t;
1236
+ struct gnutls_pubkey_st;
1237
+ typedef struct gnutls_pubkey_st *gnutls_pubkey_t;
1167
1238
 
1168
- struct gnutls_x509_crl_int;
1169
- typedef struct gnutls_x509_crl_int *gnutls_x509_crl_t;
1239
+ struct gnutls_privkey_st;
1240
+ typedef struct gnutls_privkey_st *gnutls_privkey_t;
1170
1241
 
1171
- struct gnutls_x509_crt_int;
1172
- typedef struct gnutls_x509_crt_int *gnutls_x509_crt_t;
1242
+ struct gnutls_x509_privkey_int;
1243
+ typedef struct gnutls_x509_privkey_int *gnutls_x509_privkey_t;
1173
1244
 
1174
- struct gnutls_x509_crq_int;
1175
- typedef struct gnutls_x509_crq_int *gnutls_x509_crq_t;
1245
+ struct gnutls_x509_crl_int;
1246
+ typedef struct gnutls_x509_crl_int *gnutls_x509_crl_t;
1176
1247
 
1177
- struct gnutls_openpgp_keyring_int;
1178
- typedef struct gnutls_openpgp_keyring_int *gnutls_openpgp_keyring_t;
1248
+ struct gnutls_x509_crt_int;
1249
+ typedef struct gnutls_x509_crt_int *gnutls_x509_crt_t;
1250
+
1251
+ struct gnutls_x509_crq_int;
1252
+ typedef struct gnutls_x509_crq_int *gnutls_x509_crq_t;
1253
+
1254
+ struct gnutls_openpgp_keyring_int;
1255
+ typedef struct gnutls_openpgp_keyring_int *gnutls_openpgp_keyring_t;
1179
1256
 
1180
1257
 
1181
1258
  /* Credential structures - used in gnutls_credentials_set(); */
1182
1259
 
1183
- struct gnutls_certificate_credentials_st;
1184
- typedef struct gnutls_certificate_credentials_st
1185
- *gnutls_certificate_credentials_t;
1186
- typedef gnutls_certificate_credentials_t
1260
+ struct gnutls_certificate_credentials_st;
1261
+ typedef struct gnutls_certificate_credentials_st
1262
+ *gnutls_certificate_credentials_t;
1263
+ typedef gnutls_certificate_credentials_t
1187
1264
  gnutls_certificate_server_credentials;
1188
- typedef gnutls_certificate_credentials_t
1265
+ typedef gnutls_certificate_credentials_t
1189
1266
  gnutls_certificate_client_credentials;
1190
1267
 
1191
- typedef struct gnutls_anon_server_credentials_st
1192
- *gnutls_anon_server_credentials_t;
1193
- typedef struct gnutls_anon_client_credentials_st
1194
- *gnutls_anon_client_credentials_t;
1268
+ typedef struct gnutls_anon_server_credentials_st
1269
+ *gnutls_anon_server_credentials_t;
1270
+ typedef struct gnutls_anon_client_credentials_st
1271
+ *gnutls_anon_client_credentials_t;
1195
1272
 
1196
- void gnutls_anon_free_server_credentials (gnutls_anon_server_credentials_t
1197
- sc);
1198
- int
1199
- gnutls_anon_allocate_server_credentials (gnutls_anon_server_credentials_t
1200
- * sc);
1273
+ void gnutls_anon_free_server_credentials(gnutls_anon_server_credentials_t
1274
+ sc);
1275
+ int
1276
+ gnutls_anon_allocate_server_credentials(gnutls_anon_server_credentials_t
1277
+ * sc);
1201
1278
 
1202
- void gnutls_anon_set_server_dh_params (gnutls_anon_server_credentials_t res,
1203
- gnutls_dh_params_t dh_params);
1279
+ void gnutls_anon_set_server_dh_params(gnutls_anon_server_credentials_t res,
1280
+ gnutls_dh_params_t dh_params);
1204
1281
 
1205
- void
1206
- gnutls_anon_set_server_params_function (gnutls_anon_server_credentials_t
1207
- res,
1208
- gnutls_params_function * func);
1282
+ void
1283
+ gnutls_anon_set_server_params_function(gnutls_anon_server_credentials_t
1284
+ res, gnutls_params_function * func);
1209
1285
 
1210
- void
1211
- gnutls_anon_free_client_credentials (gnutls_anon_client_credentials_t sc);
1212
- int
1213
- gnutls_anon_allocate_client_credentials (gnutls_anon_client_credentials_t
1214
- * sc);
1286
+ void
1287
+ gnutls_anon_free_client_credentials(gnutls_anon_client_credentials_t sc);
1288
+ int
1289
+ gnutls_anon_allocate_client_credentials(gnutls_anon_client_credentials_t
1290
+ * sc);
1215
1291
 
1216
1292
  /* CERTFILE is an x509 certificate in PEM form.
1217
1293
  * KEYFILE is a pkcs-1 private key in PEM form (for RSA keys).
1218
1294
  */
1219
- void
1220
- gnutls_certificate_free_credentials (gnutls_certificate_credentials_t sc);
1221
- int
1222
- gnutls_certificate_allocate_credentials (gnutls_certificate_credentials_t
1223
- * res);
1224
-
1225
- int
1226
- gnutls_certificate_get_issuer (gnutls_certificate_credentials_t sc,
1227
- gnutls_x509_crt_t cert, gnutls_x509_crt_t* issuer, unsigned int flags);
1228
-
1229
- void gnutls_certificate_free_keys (gnutls_certificate_credentials_t sc);
1230
- void gnutls_certificate_free_cas (gnutls_certificate_credentials_t sc);
1231
- void gnutls_certificate_free_ca_names (gnutls_certificate_credentials_t sc);
1232
- void gnutls_certificate_free_crls (gnutls_certificate_credentials_t sc);
1233
-
1234
- void gnutls_certificate_set_dh_params (gnutls_certificate_credentials_t res,
1235
- gnutls_dh_params_t dh_params);
1236
- void gnutls_certificate_set_verify_flags (gnutls_certificate_credentials_t
1237
- res, unsigned int flags);
1238
- void gnutls_certificate_set_verify_limits (gnutls_certificate_credentials_t
1239
- res, unsigned int max_bits,
1240
- unsigned int max_depth);
1241
-
1242
- int
1243
- gnutls_certificate_set_x509_system_trust (gnutls_certificate_credentials_t cred);
1244
-
1245
- int
1246
- gnutls_certificate_set_x509_trust_file (gnutls_certificate_credentials_t
1247
- cred, const char *cafile,
1248
- gnutls_x509_crt_fmt_t type);
1249
- int gnutls_certificate_set_x509_trust_mem (gnutls_certificate_credentials_t
1250
- res, const gnutls_datum_t * ca,
1251
- gnutls_x509_crt_fmt_t type);
1252
-
1253
- int
1254
- gnutls_certificate_set_x509_crl_file (gnutls_certificate_credentials_t
1255
- res, const char *crlfile,
1256
- gnutls_x509_crt_fmt_t type);
1257
- int gnutls_certificate_set_x509_crl_mem (gnutls_certificate_credentials_t
1258
- res, const gnutls_datum_t * CRL,
1259
- gnutls_x509_crt_fmt_t type);
1260
-
1261
- int
1262
- gnutls_certificate_set_x509_key_file (gnutls_certificate_credentials_t
1263
- res, const char *certfile,
1264
- const char *keyfile,
1265
- gnutls_x509_crt_fmt_t type);
1266
-
1267
- int
1268
- gnutls_certificate_set_x509_key_file2 (gnutls_certificate_credentials_t
1269
- res, const char *certfile,
1270
- const char *keyfile,
1271
- gnutls_x509_crt_fmt_t type,
1272
- const char* pass,
1273
- unsigned int flags);
1274
-
1275
- int gnutls_certificate_set_x509_key_mem (gnutls_certificate_credentials_t
1276
- res, const gnutls_datum_t * cert,
1277
- const gnutls_datum_t * key,
1278
- gnutls_x509_crt_fmt_t type);
1279
-
1280
- int gnutls_certificate_set_x509_key_mem2 (gnutls_certificate_credentials_t
1281
- res, const gnutls_datum_t * cert,
1282
- const gnutls_datum_t * key,
1283
- gnutls_x509_crt_fmt_t type,
1284
- const char* pass,
1285
- unsigned int flags);
1286
-
1287
- void gnutls_certificate_send_x509_rdn_sequence (gnutls_session_t session,
1288
- int status);
1289
-
1290
- int gnutls_certificate_set_x509_simple_pkcs12_file (gnutls_certificate_credentials_t res, const char *pkcs12file,
1291
- gnutls_x509_crt_fmt_t type, const char *password);
1292
- int gnutls_certificate_set_x509_simple_pkcs12_mem (gnutls_certificate_credentials_t res, const gnutls_datum_t * p12blob,
1293
- gnutls_x509_crt_fmt_t type, const char *password);
1295
+ void
1296
+ gnutls_certificate_free_credentials(gnutls_certificate_credentials_t sc);
1297
+ int
1298
+ gnutls_certificate_allocate_credentials(gnutls_certificate_credentials_t
1299
+ * res);
1300
+
1301
+ int
1302
+ gnutls_certificate_get_issuer(gnutls_certificate_credentials_t sc,
1303
+ gnutls_x509_crt_t cert,
1304
+ gnutls_x509_crt_t * issuer,
1305
+ unsigned int flags);
1306
+
1307
+ int gnutls_certificate_get_crt_raw(gnutls_certificate_credentials_t sc,
1308
+ unsigned idx1, unsigned idx2,
1309
+ gnutls_datum_t * cert);
1310
+
1311
+ void gnutls_certificate_free_keys(gnutls_certificate_credentials_t sc);
1312
+ void gnutls_certificate_free_cas(gnutls_certificate_credentials_t sc);
1313
+ void gnutls_certificate_free_ca_names(gnutls_certificate_credentials_t sc);
1314
+ void gnutls_certificate_free_crls(gnutls_certificate_credentials_t sc);
1315
+
1316
+ void gnutls_certificate_set_dh_params(gnutls_certificate_credentials_t res,
1317
+ gnutls_dh_params_t dh_params);
1318
+ void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials_t
1319
+ res, unsigned int flags);
1320
+ void gnutls_certificate_set_verify_limits(gnutls_certificate_credentials_t
1321
+ res, unsigned int max_bits,
1322
+ unsigned int max_depth);
1323
+
1324
+ int
1325
+ gnutls_certificate_set_x509_system_trust(gnutls_certificate_credentials_t
1326
+ cred);
1327
+
1328
+ int
1329
+ gnutls_certificate_set_x509_trust_file(gnutls_certificate_credentials_t
1330
+ cred, const char *cafile,
1331
+ gnutls_x509_crt_fmt_t type);
1332
+ int gnutls_certificate_set_x509_trust_mem(gnutls_certificate_credentials_t
1333
+ res, const gnutls_datum_t * ca,
1334
+ gnutls_x509_crt_fmt_t type);
1335
+
1336
+ int
1337
+ gnutls_certificate_set_x509_crl_file(gnutls_certificate_credentials_t
1338
+ res, const char *crlfile,
1339
+ gnutls_x509_crt_fmt_t type);
1340
+ int gnutls_certificate_set_x509_crl_mem(gnutls_certificate_credentials_t
1341
+ res, const gnutls_datum_t * CRL,
1342
+ gnutls_x509_crt_fmt_t type);
1343
+
1344
+ int
1345
+ gnutls_certificate_set_x509_key_file(gnutls_certificate_credentials_t
1346
+ res, const char *certfile,
1347
+ const char *keyfile,
1348
+ gnutls_x509_crt_fmt_t type);
1349
+
1350
+ int
1351
+ gnutls_certificate_set_x509_key_file2(gnutls_certificate_credentials_t
1352
+ res, const char *certfile,
1353
+ const char *keyfile,
1354
+ gnutls_x509_crt_fmt_t type,
1355
+ const char *pass,
1356
+ unsigned int flags);
1357
+
1358
+ int gnutls_certificate_set_x509_key_mem(gnutls_certificate_credentials_t
1359
+ res, const gnutls_datum_t * cert,
1360
+ const gnutls_datum_t * key,
1361
+ gnutls_x509_crt_fmt_t type);
1362
+
1363
+ int gnutls_certificate_set_x509_key_mem2(gnutls_certificate_credentials_t
1364
+ res, const gnutls_datum_t * cert,
1365
+ const gnutls_datum_t * key,
1366
+ gnutls_x509_crt_fmt_t type,
1367
+ const char *pass,
1368
+ unsigned int flags);
1369
+
1370
+ void gnutls_certificate_send_x509_rdn_sequence(gnutls_session_t session,
1371
+ int status);
1372
+
1373
+ int
1374
+ gnutls_certificate_set_x509_simple_pkcs12_file
1375
+ (gnutls_certificate_credentials_t res, const char *pkcs12file,
1376
+ gnutls_x509_crt_fmt_t type, const char *password);
1377
+ int
1378
+ gnutls_certificate_set_x509_simple_pkcs12_mem
1379
+ (gnutls_certificate_credentials_t res, const gnutls_datum_t * p12blob,
1380
+ gnutls_x509_crt_fmt_t type, const char *password);
1294
1381
 
1295
1382
  /* New functions to allow setting already parsed X.509 stuff.
1296
1383
  */
1297
1384
 
1298
- int gnutls_certificate_set_x509_key (gnutls_certificate_credentials_t res,
1299
- gnutls_x509_crt_t * cert_list,
1300
- int cert_list_size,
1301
- gnutls_x509_privkey_t key);
1302
- int gnutls_certificate_set_x509_trust (gnutls_certificate_credentials_t res,
1303
- gnutls_x509_crt_t * ca_list,
1304
- int ca_list_size);
1305
- int gnutls_certificate_set_x509_crl (gnutls_certificate_credentials_t res,
1306
- gnutls_x509_crl_t * crl_list,
1307
- int crl_list_size);
1385
+ int gnutls_certificate_set_x509_key(gnutls_certificate_credentials_t res,
1386
+ gnutls_x509_crt_t * cert_list,
1387
+ int cert_list_size,
1388
+ gnutls_x509_privkey_t key);
1389
+ int gnutls_certificate_set_x509_trust(gnutls_certificate_credentials_t res,
1390
+ gnutls_x509_crt_t * ca_list,
1391
+ int ca_list_size);
1392
+ int gnutls_certificate_set_x509_crl(gnutls_certificate_credentials_t res,
1393
+ gnutls_x509_crl_t * crl_list,
1394
+ int crl_list_size);
1308
1395
 
1309
1396
  /* OCSP status request extension, RFC 6066 */
1310
- typedef int (*gnutls_status_request_ocsp_func)
1311
- (gnutls_session_t session, void *ptr, gnutls_datum_t *ocsp_response);
1397
+ typedef int (*gnutls_status_request_ocsp_func)
1398
+ (gnutls_session_t session, void *ptr, gnutls_datum_t * ocsp_response);
1312
1399
 
1313
- void gnutls_certificate_set_ocsp_status_request_function (gnutls_certificate_credentials_t res,
1314
- gnutls_status_request_ocsp_func ocsp_func,
1315
- void *ptr);
1400
+ void
1401
+ gnutls_certificate_set_ocsp_status_request_function
1402
+ (gnutls_certificate_credentials_t res,
1403
+ gnutls_status_request_ocsp_func ocsp_func, void *ptr);
1316
1404
 
1317
- int gnutls_certificate_set_ocsp_status_request_file (gnutls_certificate_credentials_t res,
1318
- const char* response_file, unsigned int flags);
1405
+ int
1406
+ gnutls_certificate_set_ocsp_status_request_file
1407
+ (gnutls_certificate_credentials_t res, const char *response_file,
1408
+ unsigned int flags);
1319
1409
 
1320
- int gnutls_ocsp_status_request_enable_client (gnutls_session_t session,
1321
- gnutls_datum_t *responder_id,
1322
- size_t responder_id_size,
1323
- gnutls_datum_t *request_extensions);
1410
+ int gnutls_ocsp_status_request_enable_client(gnutls_session_t session,
1411
+ gnutls_datum_t * responder_id,
1412
+ size_t responder_id_size,
1413
+ gnutls_datum_t *
1414
+ request_extensions);
1324
1415
 
1325
- int gnutls_ocsp_status_request_get (gnutls_session_t session, gnutls_datum_t *response);
1416
+ int gnutls_ocsp_status_request_get(gnutls_session_t session,
1417
+ gnutls_datum_t * response);
1326
1418
 
1327
- int gnutls_ocsp_status_request_is_checked (gnutls_session_t session, unsigned int flags);
1419
+ int gnutls_ocsp_status_request_is_checked(gnutls_session_t session,
1420
+ unsigned int flags);
1328
1421
 
1329
1422
  /* global state functions
1330
1423
  */
1331
- int gnutls_global_init (void);
1332
- void gnutls_global_deinit (void);
1424
+ int gnutls_global_init(void);
1425
+ void gnutls_global_deinit(void);
1333
1426
 
1334
1427
  /**
1335
1428
  * gnutls_time_func:
@@ -1340,141 +1433,146 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1340
1433
  *
1341
1434
  * Returns: Number of seconds since the epoch, or (time_t)-1 on errors.
1342
1435
  */
1343
- typedef time_t (*gnutls_time_func) (time_t *t);
1436
+ typedef time_t(*gnutls_time_func) (time_t * t);
1344
1437
 
1345
- typedef int (*mutex_init_func) (void **mutex);
1346
- typedef int (*mutex_lock_func) (void **mutex);
1347
- typedef int (*mutex_unlock_func) (void **mutex);
1348
- typedef int (*mutex_deinit_func) (void **mutex);
1438
+ typedef int (*mutex_init_func) (void **mutex);
1439
+ typedef int (*mutex_lock_func) (void **mutex);
1440
+ typedef int (*mutex_unlock_func) (void **mutex);
1441
+ typedef int (*mutex_deinit_func) (void **mutex);
1349
1442
 
1350
- void gnutls_global_set_mutex (mutex_init_func init, mutex_deinit_func deinit,
1351
- mutex_lock_func lock, mutex_unlock_func unlock);
1443
+ void gnutls_global_set_mutex(mutex_init_func init,
1444
+ mutex_deinit_func deinit,
1445
+ mutex_lock_func lock,
1446
+ mutex_unlock_func unlock);
1352
1447
 
1353
- typedef void *(*gnutls_alloc_function) (size_t);
1354
- typedef void *(*gnutls_calloc_function) (size_t, size_t);
1355
- typedef int (*gnutls_is_secure_function) (const void *);
1356
- typedef void (*gnutls_free_function) (void *);
1357
- typedef void *(*gnutls_realloc_function) (void *, size_t);
1448
+ typedef void *(*gnutls_alloc_function) (size_t);
1449
+ typedef void *(*gnutls_calloc_function) (size_t, size_t);
1450
+ typedef int (*gnutls_is_secure_function) (const void *);
1451
+ typedef void (*gnutls_free_function) (void *);
1452
+ typedef void *(*gnutls_realloc_function) (void *, size_t);
1358
1453
 
1359
- void
1360
- gnutls_global_set_mem_functions (gnutls_alloc_function alloc_func,
1361
- gnutls_alloc_function secure_alloc_func,
1362
- gnutls_is_secure_function is_secure_func,
1363
- gnutls_realloc_function realloc_func,
1364
- gnutls_free_function free_func);
1454
+ void
1455
+ gnutls_global_set_mem_functions(gnutls_alloc_function alloc_func,
1456
+ gnutls_alloc_function secure_alloc_func,
1457
+ gnutls_is_secure_function is_secure_func,
1458
+ gnutls_realloc_function realloc_func,
1459
+ gnutls_free_function free_func);
1365
1460
 
1366
- void gnutls_global_set_time_function (gnutls_time_func time_func);
1461
+ void gnutls_global_set_time_function(gnutls_time_func time_func);
1367
1462
 
1368
1463
  /* For use in callbacks */
1369
- extern gnutls_alloc_function gnutls_malloc;
1370
- extern gnutls_alloc_function gnutls_secure_malloc;
1371
- extern gnutls_realloc_function gnutls_realloc;
1372
- extern gnutls_calloc_function gnutls_calloc;
1373
- extern gnutls_free_function gnutls_free;
1464
+ extern gnutls_alloc_function gnutls_malloc;
1465
+ extern gnutls_alloc_function gnutls_secure_malloc;
1466
+ extern gnutls_realloc_function gnutls_realloc;
1467
+ extern gnutls_calloc_function gnutls_calloc;
1468
+ extern gnutls_free_function gnutls_free;
1374
1469
 
1375
- extern char *(*gnutls_strdup) (const char *);
1470
+ extern char *(*gnutls_strdup) (const char *);
1376
1471
 
1377
- typedef void (*gnutls_log_func) (int, const char *);
1378
- typedef void (*gnutls_audit_log_func) (gnutls_session_t, const char *);
1379
- void gnutls_global_set_log_function (gnutls_log_func log_func);
1380
- void gnutls_global_set_audit_log_function (gnutls_audit_log_func log_func);
1381
- void gnutls_global_set_log_level (int level);
1472
+ typedef void (*gnutls_log_func) (int, const char *);
1473
+ typedef void (*gnutls_audit_log_func) (gnutls_session_t, const char *);
1474
+ void gnutls_global_set_log_function(gnutls_log_func log_func);
1475
+ void gnutls_global_set_audit_log_function(gnutls_audit_log_func log_func);
1476
+ void gnutls_global_set_log_level(int level);
1382
1477
 
1383
1478
  /* Diffie-Hellman parameter handling.
1384
1479
  */
1385
- int gnutls_dh_params_init (gnutls_dh_params_t * dh_params);
1386
- void gnutls_dh_params_deinit (gnutls_dh_params_t dh_params);
1387
- int gnutls_dh_params_import_raw (gnutls_dh_params_t dh_params,
1388
- const gnutls_datum_t * prime,
1389
- const gnutls_datum_t * generator);
1390
- int gnutls_dh_params_import_pkcs3 (gnutls_dh_params_t params,
1391
- const gnutls_datum_t * pkcs3_params,
1392
- gnutls_x509_crt_fmt_t format);
1393
- int gnutls_dh_params_generate2 (gnutls_dh_params_t params,
1394
- unsigned int bits);
1395
- int gnutls_dh_params_export_pkcs3 (gnutls_dh_params_t params,
1396
- gnutls_x509_crt_fmt_t format,
1397
- unsigned char *params_data,
1398
- size_t * params_data_size);
1399
- int gnutls_dh_params_export2_pkcs3 (gnutls_dh_params_t params,
1400
- gnutls_x509_crt_fmt_t format,
1401
- gnutls_datum_t *out);
1402
- int gnutls_dh_params_export_raw (gnutls_dh_params_t params,
1403
- gnutls_datum_t * prime,
1404
- gnutls_datum_t * generator,
1405
- unsigned int *bits);
1406
- int gnutls_dh_params_cpy (gnutls_dh_params_t dst, gnutls_dh_params_t src);
1480
+ int gnutls_dh_params_init(gnutls_dh_params_t * dh_params);
1481
+ void gnutls_dh_params_deinit(gnutls_dh_params_t dh_params);
1482
+ int gnutls_dh_params_import_raw(gnutls_dh_params_t dh_params,
1483
+ const gnutls_datum_t * prime,
1484
+ const gnutls_datum_t * generator);
1485
+ int gnutls_dh_params_import_pkcs3(gnutls_dh_params_t params,
1486
+ const gnutls_datum_t * pkcs3_params,
1487
+ gnutls_x509_crt_fmt_t format);
1488
+ int gnutls_dh_params_generate2(gnutls_dh_params_t params,
1489
+ unsigned int bits);
1490
+ int gnutls_dh_params_export_pkcs3(gnutls_dh_params_t params,
1491
+ gnutls_x509_crt_fmt_t format,
1492
+ unsigned char *params_data,
1493
+ size_t * params_data_size);
1494
+ int gnutls_dh_params_export2_pkcs3(gnutls_dh_params_t params,
1495
+ gnutls_x509_crt_fmt_t format,
1496
+ gnutls_datum_t * out);
1497
+ int gnutls_dh_params_export_raw(gnutls_dh_params_t params,
1498
+ gnutls_datum_t * prime,
1499
+ gnutls_datum_t * generator,
1500
+ unsigned int *bits);
1501
+ int gnutls_dh_params_cpy(gnutls_dh_params_t dst, gnutls_dh_params_t src);
1407
1502
 
1408
1503
 
1409
1504
 
1410
1505
  /* Session stuff
1411
1506
  */
1412
- typedef struct
1413
- {
1414
- void *iov_base; /* Starting address */
1415
- size_t iov_len; /* Number of bytes to transfer */
1416
- } giovec_t;
1507
+ typedef struct {
1508
+ void *iov_base; /* Starting address */
1509
+ size_t iov_len; /* Number of bytes to transfer */
1510
+ } giovec_t;
1417
1511
 
1418
- typedef ssize_t (*gnutls_pull_func) (gnutls_transport_ptr_t, void *,
1419
- size_t);
1420
- typedef ssize_t (*gnutls_push_func) (gnutls_transport_ptr_t, const void *,
1421
- size_t);
1512
+ typedef ssize_t(*gnutls_pull_func) (gnutls_transport_ptr_t, void *,
1513
+ size_t);
1514
+ typedef ssize_t(*gnutls_push_func) (gnutls_transport_ptr_t, const void *,
1515
+ size_t);
1422
1516
 
1423
- typedef int (*gnutls_pull_timeout_func) (gnutls_transport_ptr_t, unsigned int ms);
1517
+ typedef int (*gnutls_pull_timeout_func) (gnutls_transport_ptr_t,
1518
+ unsigned int ms);
1424
1519
 
1425
- typedef ssize_t (*gnutls_vec_push_func) (gnutls_transport_ptr_t,
1426
- const giovec_t * iov, int iovcnt);
1520
+ typedef ssize_t(*gnutls_vec_push_func) (gnutls_transport_ptr_t,
1521
+ const giovec_t * iov, int iovcnt);
1427
1522
 
1428
- typedef int (*gnutls_errno_func) (gnutls_transport_ptr_t);
1523
+ typedef int (*gnutls_errno_func) (gnutls_transport_ptr_t);
1429
1524
 
1430
- /* This will be defined as macro.
1525
+ #if 0
1526
+ /* This will be defined as macro. */
1431
1527
  void gnutls_transport_set_int (gnutls_session_t session, int r);
1432
- */
1433
- void gnutls_transport_set_int2 (gnutls_session_t session, int r, int s);
1434
- #define gnutls_transport_set_int(s, i) gnutls_transport_set_int2(s, i, i)
1435
-
1436
- void gnutls_transport_get_int2 (gnutls_session_t session, int * r, int *s);
1437
- int gnutls_transport_get_int (gnutls_session_t session);
1438
-
1439
- void gnutls_transport_set_ptr (gnutls_session_t session,
1440
- gnutls_transport_ptr_t ptr);
1441
- void gnutls_transport_set_ptr2 (gnutls_session_t session,
1442
- gnutls_transport_ptr_t recv_ptr,
1443
- gnutls_transport_ptr_t send_ptr);
1444
-
1445
- gnutls_transport_ptr_t gnutls_transport_get_ptr (gnutls_session_t session);
1446
- void gnutls_transport_get_ptr2 (gnutls_session_t session,
1447
- gnutls_transport_ptr_t * recv_ptr,
1448
- gnutls_transport_ptr_t * send_ptr);
1449
-
1450
- void gnutls_transport_set_vec_push_function (gnutls_session_t session,
1451
- gnutls_vec_push_func vec_func);
1452
- void gnutls_transport_set_push_function (gnutls_session_t session,
1453
- gnutls_push_func push_func);
1454
- void gnutls_transport_set_pull_function (gnutls_session_t session,
1455
- gnutls_pull_func pull_func);
1456
-
1457
- void gnutls_transport_set_pull_timeout_function (gnutls_session_t session,
1458
- gnutls_pull_timeout_func func);
1459
-
1460
- void gnutls_transport_set_errno_function (gnutls_session_t session,
1461
- gnutls_errno_func errno_func);
1462
-
1463
- void gnutls_transport_set_errno (gnutls_session_t session, int err);
1528
+ #endif
1529
+
1530
+ void gnutls_transport_set_int2(gnutls_session_t session, int r, int s);
1531
+ #define gnutls_transport_set_int(s, i) gnutls_transport_set_int2(s, i, i)
1532
+
1533
+ void gnutls_transport_get_int2(gnutls_session_t session, int *r, int *s);
1534
+ int gnutls_transport_get_int(gnutls_session_t session);
1535
+
1536
+ void gnutls_transport_set_ptr(gnutls_session_t session,
1537
+ gnutls_transport_ptr_t ptr);
1538
+ void gnutls_transport_set_ptr2(gnutls_session_t session,
1539
+ gnutls_transport_ptr_t recv_ptr,
1540
+ gnutls_transport_ptr_t send_ptr);
1541
+
1542
+ gnutls_transport_ptr_t gnutls_transport_get_ptr(gnutls_session_t session);
1543
+ void gnutls_transport_get_ptr2(gnutls_session_t session,
1544
+ gnutls_transport_ptr_t * recv_ptr,
1545
+ gnutls_transport_ptr_t * send_ptr);
1546
+
1547
+ void gnutls_transport_set_vec_push_function(gnutls_session_t session,
1548
+ gnutls_vec_push_func vec_func);
1549
+ void gnutls_transport_set_push_function(gnutls_session_t session,
1550
+ gnutls_push_func push_func);
1551
+ void gnutls_transport_set_pull_function(gnutls_session_t session,
1552
+ gnutls_pull_func pull_func);
1553
+
1554
+ void gnutls_transport_set_pull_timeout_function(gnutls_session_t session,
1555
+ gnutls_pull_timeout_func
1556
+ func);
1557
+
1558
+ void gnutls_transport_set_errno_function(gnutls_session_t session,
1559
+ gnutls_errno_func errno_func);
1560
+
1561
+ void gnutls_transport_set_errno(gnutls_session_t session, int err);
1464
1562
 
1465
1563
  /* session specific
1466
1564
  */
1467
- void gnutls_session_set_ptr (gnutls_session_t session, void *ptr);
1468
- void *gnutls_session_get_ptr (gnutls_session_t session);
1565
+ void gnutls_session_set_ptr(gnutls_session_t session, void *ptr);
1566
+ void *gnutls_session_get_ptr(gnutls_session_t session);
1469
1567
 
1470
- void gnutls_openpgp_send_cert (gnutls_session_t session,
1471
- gnutls_openpgp_crt_status_t status);
1568
+ void gnutls_openpgp_send_cert(gnutls_session_t session,
1569
+ gnutls_openpgp_crt_status_t status);
1472
1570
 
1473
1571
  /* This function returns the hash of the given data.
1474
1572
  */
1475
- int gnutls_fingerprint (gnutls_digest_algorithm_t algo,
1476
- const gnutls_datum_t * data, void *result,
1477
- size_t * result_size);
1573
+ int gnutls_fingerprint(gnutls_digest_algorithm_t algo,
1574
+ const gnutls_datum_t * data, void *result,
1575
+ size_t * result_size);
1478
1576
 
1479
1577
  /**
1480
1578
  * gnutls_random_art_t:
@@ -1482,107 +1580,107 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1482
1580
  *
1483
1581
  * Enumeration of different random art types.
1484
1582
  */
1485
- typedef enum gnutls_random_art
1486
- {
1487
- GNUTLS_RANDOM_ART_OPENSSH=1,
1488
- } gnutls_random_art_t;
1583
+ typedef enum gnutls_random_art {
1584
+ GNUTLS_RANDOM_ART_OPENSSH = 1,
1585
+ } gnutls_random_art_t;
1489
1586
 
1490
- int gnutls_random_art (gnutls_random_art_t type,
1491
- const char* key_type, unsigned int key_size,
1492
- void * fpr, size_t fpr_size,
1493
- gnutls_datum_t* art);
1587
+ int gnutls_random_art(gnutls_random_art_t type,
1588
+ const char *key_type, unsigned int key_size,
1589
+ void *fpr, size_t fpr_size, gnutls_datum_t * art);
1494
1590
 
1495
1591
  /* SRP
1496
1592
  */
1497
1593
 
1498
- typedef struct gnutls_srp_server_credentials_st
1499
- *gnutls_srp_server_credentials_t;
1500
- typedef struct gnutls_srp_client_credentials_st
1501
- *gnutls_srp_client_credentials_t;
1502
-
1503
- void
1504
- gnutls_srp_free_client_credentials (gnutls_srp_client_credentials_t sc);
1505
- int
1506
- gnutls_srp_allocate_client_credentials (gnutls_srp_client_credentials_t *
1507
- sc);
1508
- int gnutls_srp_set_client_credentials (gnutls_srp_client_credentials_t res,
1509
- const char *username,
1510
- const char *password);
1511
-
1512
- void
1513
- gnutls_srp_free_server_credentials (gnutls_srp_server_credentials_t sc);
1514
- int
1515
- gnutls_srp_allocate_server_credentials (gnutls_srp_server_credentials_t *
1516
- sc);
1517
- int gnutls_srp_set_server_credentials_file (gnutls_srp_server_credentials_t
1518
- res, const char *password_file,
1519
- const char *password_conf_file);
1520
-
1521
- const char *gnutls_srp_server_get_username (gnutls_session_t session);
1522
-
1523
- extern void gnutls_srp_set_prime_bits (gnutls_session_t session,
1524
- unsigned int bits);
1525
-
1526
- int gnutls_srp_verifier (const char *username,
1527
- const char *password,
1528
- const gnutls_datum_t * salt,
1529
- const gnutls_datum_t * generator,
1530
- const gnutls_datum_t * prime,
1531
- gnutls_datum_t * res);
1594
+ typedef struct gnutls_srp_server_credentials_st
1595
+ *gnutls_srp_server_credentials_t;
1596
+ typedef struct gnutls_srp_client_credentials_st
1597
+ *gnutls_srp_client_credentials_t;
1598
+
1599
+ void
1600
+ gnutls_srp_free_client_credentials(gnutls_srp_client_credentials_t sc);
1601
+ int
1602
+ gnutls_srp_allocate_client_credentials(gnutls_srp_client_credentials_t *
1603
+ sc);
1604
+ int gnutls_srp_set_client_credentials(gnutls_srp_client_credentials_t res,
1605
+ const char *username,
1606
+ const char *password);
1607
+
1608
+ void
1609
+ gnutls_srp_free_server_credentials(gnutls_srp_server_credentials_t sc);
1610
+ int
1611
+ gnutls_srp_allocate_server_credentials(gnutls_srp_server_credentials_t *
1612
+ sc);
1613
+ int gnutls_srp_set_server_credentials_file(gnutls_srp_server_credentials_t
1614
+ res, const char *password_file,
1615
+ const char *password_conf_file);
1616
+
1617
+ const char *gnutls_srp_server_get_username(gnutls_session_t session);
1618
+
1619
+ void gnutls_srp_set_prime_bits(gnutls_session_t session,
1620
+ unsigned int bits);
1621
+
1622
+ int gnutls_srp_verifier(const char *username,
1623
+ const char *password,
1624
+ const gnutls_datum_t * salt,
1625
+ const gnutls_datum_t * generator,
1626
+ const gnutls_datum_t * prime,
1627
+ gnutls_datum_t * res);
1532
1628
 
1533
1629
  /* The static parameters defined in draft-ietf-tls-srp-05
1534
1630
  * Those should be used as input to gnutls_srp_verifier().
1535
1631
  */
1536
- extern const gnutls_datum_t gnutls_srp_4096_group_prime;
1537
- extern const gnutls_datum_t gnutls_srp_4096_group_generator;
1538
-
1539
- extern const gnutls_datum_t gnutls_srp_3072_group_prime;
1540
- extern const gnutls_datum_t gnutls_srp_3072_group_generator;
1541
-
1542
- extern const gnutls_datum_t gnutls_srp_2048_group_prime;
1543
- extern const gnutls_datum_t gnutls_srp_2048_group_generator;
1544
-
1545
- extern const gnutls_datum_t gnutls_srp_1536_group_prime;
1546
- extern const gnutls_datum_t gnutls_srp_1536_group_generator;
1547
-
1548
- extern const gnutls_datum_t gnutls_srp_1024_group_prime;
1549
- extern const gnutls_datum_t gnutls_srp_1024_group_generator;
1550
-
1551
- typedef int gnutls_srp_server_credentials_function (gnutls_session_t,
1552
- const char *username,
1553
- gnutls_datum_t * salt,
1554
- gnutls_datum_t *
1555
- verifier,
1556
- gnutls_datum_t *
1557
- generator,
1558
- gnutls_datum_t * prime);
1559
- void
1560
- gnutls_srp_set_server_credentials_function (
1561
- gnutls_srp_server_credentials_t cred,
1562
- gnutls_srp_server_credentials_function * func);
1563
-
1564
- typedef int gnutls_srp_client_credentials_function (gnutls_session_t,
1565
- char **, char **);
1566
- void
1567
- gnutls_srp_set_client_credentials_function (
1568
- gnutls_srp_client_credentials_t cred,
1569
- gnutls_srp_client_credentials_function * func);
1570
-
1571
- int gnutls_srp_base64_encode (const gnutls_datum_t * data, char *result,
1572
- size_t * result_size);
1573
- int gnutls_srp_base64_encode_alloc (const gnutls_datum_t * data,
1574
- gnutls_datum_t * result);
1575
-
1576
- int gnutls_srp_base64_decode (const gnutls_datum_t * b64_data, char *result,
1577
- size_t * result_size);
1578
- int gnutls_srp_base64_decode_alloc (const gnutls_datum_t * b64_data,
1579
- gnutls_datum_t * result);
1632
+ extern const gnutls_datum_t gnutls_srp_4096_group_prime;
1633
+ extern const gnutls_datum_t gnutls_srp_4096_group_generator;
1634
+
1635
+ extern const gnutls_datum_t gnutls_srp_3072_group_prime;
1636
+ extern const gnutls_datum_t gnutls_srp_3072_group_generator;
1637
+
1638
+ extern const gnutls_datum_t gnutls_srp_2048_group_prime;
1639
+ extern const gnutls_datum_t gnutls_srp_2048_group_generator;
1640
+
1641
+ extern const gnutls_datum_t gnutls_srp_1536_group_prime;
1642
+ extern const gnutls_datum_t gnutls_srp_1536_group_generator;
1643
+
1644
+ extern const gnutls_datum_t gnutls_srp_1024_group_prime;
1645
+ extern const gnutls_datum_t gnutls_srp_1024_group_generator;
1646
+
1647
+ typedef int gnutls_srp_server_credentials_function(gnutls_session_t,
1648
+ const char *username,
1649
+ gnutls_datum_t * salt,
1650
+ gnutls_datum_t *
1651
+ verifier,
1652
+ gnutls_datum_t *
1653
+ generator,
1654
+ gnutls_datum_t * prime);
1655
+ void
1656
+ gnutls_srp_set_server_credentials_function(gnutls_srp_server_credentials_t
1657
+ cred,
1658
+ gnutls_srp_server_credentials_function
1659
+ * func);
1660
+
1661
+ typedef int gnutls_srp_client_credentials_function(gnutls_session_t,
1662
+ char **, char **);
1663
+ void
1664
+ gnutls_srp_set_client_credentials_function(gnutls_srp_client_credentials_t
1665
+ cred,
1666
+ gnutls_srp_client_credentials_function
1667
+ * func);
1668
+
1669
+ int gnutls_srp_base64_encode(const gnutls_datum_t * data, char *result,
1670
+ size_t * result_size);
1671
+ int gnutls_srp_base64_encode_alloc(const gnutls_datum_t * data,
1672
+ gnutls_datum_t * result);
1673
+
1674
+ int gnutls_srp_base64_decode(const gnutls_datum_t * b64_data, char *result,
1675
+ size_t * result_size);
1676
+ int gnutls_srp_base64_decode_alloc(const gnutls_datum_t * b64_data,
1677
+ gnutls_datum_t * result);
1580
1678
 
1581
1679
  /* PSK stuff */
1582
- typedef struct gnutls_psk_server_credentials_st
1583
- *gnutls_psk_server_credentials_t;
1584
- typedef struct gnutls_psk_client_credentials_st
1585
- *gnutls_psk_client_credentials_t;
1680
+ typedef struct gnutls_psk_server_credentials_st
1681
+ *gnutls_psk_server_credentials_t;
1682
+ typedef struct gnutls_psk_client_credentials_st
1683
+ *gnutls_psk_client_credentials_t;
1586
1684
 
1587
1685
  /**
1588
1686
  * gnutls_psk_key_flags:
@@ -1591,66 +1689,66 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1591
1689
  *
1592
1690
  * Enumeration of different PSK key flags.
1593
1691
  */
1594
- typedef enum gnutls_psk_key_flags
1595
- {
1596
- GNUTLS_PSK_KEY_RAW = 0,
1597
- GNUTLS_PSK_KEY_HEX
1598
- } gnutls_psk_key_flags;
1599
-
1600
- void
1601
- gnutls_psk_free_client_credentials (gnutls_psk_client_credentials_t sc);
1602
- int
1603
- gnutls_psk_allocate_client_credentials (gnutls_psk_client_credentials_t *
1604
- sc);
1605
- int gnutls_psk_set_client_credentials (gnutls_psk_client_credentials_t res,
1606
- const char *username,
1607
- const gnutls_datum_t * key,
1608
- gnutls_psk_key_flags flags);
1609
-
1610
- void
1611
- gnutls_psk_free_server_credentials (gnutls_psk_server_credentials_t sc);
1612
- int
1613
- gnutls_psk_allocate_server_credentials (gnutls_psk_server_credentials_t *
1614
- sc);
1615
- int gnutls_psk_set_server_credentials_file (gnutls_psk_server_credentials_t
1616
- res, const char *password_file);
1617
-
1618
- int
1619
- gnutls_psk_set_server_credentials_hint (gnutls_psk_server_credentials_t
1620
- res, const char *hint);
1621
-
1622
- const char *gnutls_psk_server_get_username (gnutls_session_t session);
1623
- const char *gnutls_psk_client_get_hint (gnutls_session_t session);
1624
-
1625
- typedef int gnutls_psk_server_credentials_function (gnutls_session_t,
1626
- const char *username,
1627
- gnutls_datum_t * key);
1628
- void
1629
- gnutls_psk_set_server_credentials_function (
1630
- gnutls_psk_server_credentials_t cred,
1631
- gnutls_psk_server_credentials_function * func);
1632
-
1633
- typedef int gnutls_psk_client_credentials_function (gnutls_session_t,
1634
- char **username,
1635
- gnutls_datum_t * key);
1636
- void
1637
- gnutls_psk_set_client_credentials_function (
1638
- gnutls_psk_client_credentials_t cred,
1639
- gnutls_psk_client_credentials_function * func);
1640
-
1641
- int gnutls_hex_encode (const gnutls_datum_t * data, char *result,
1642
- size_t * result_size);
1643
- int gnutls_hex_decode (const gnutls_datum_t * hex_data, void *result,
1644
- size_t * result_size);
1645
-
1646
- void
1647
- gnutls_psk_set_server_dh_params (gnutls_psk_server_credentials_t res,
1648
- gnutls_dh_params_t dh_params);
1649
-
1650
- void
1651
- gnutls_psk_set_server_params_function (gnutls_psk_server_credentials_t
1652
- res,
1653
- gnutls_params_function * func);
1692
+ typedef enum gnutls_psk_key_flags {
1693
+ GNUTLS_PSK_KEY_RAW = 0,
1694
+ GNUTLS_PSK_KEY_HEX
1695
+ } gnutls_psk_key_flags;
1696
+
1697
+ void
1698
+ gnutls_psk_free_client_credentials(gnutls_psk_client_credentials_t sc);
1699
+ int
1700
+ gnutls_psk_allocate_client_credentials(gnutls_psk_client_credentials_t *
1701
+ sc);
1702
+ int gnutls_psk_set_client_credentials(gnutls_psk_client_credentials_t res,
1703
+ const char *username,
1704
+ const gnutls_datum_t * key,
1705
+ gnutls_psk_key_flags flags);
1706
+
1707
+ void
1708
+ gnutls_psk_free_server_credentials(gnutls_psk_server_credentials_t sc);
1709
+ int
1710
+ gnutls_psk_allocate_server_credentials(gnutls_psk_server_credentials_t *
1711
+ sc);
1712
+ int gnutls_psk_set_server_credentials_file(gnutls_psk_server_credentials_t
1713
+ res, const char *password_file);
1714
+
1715
+ int
1716
+ gnutls_psk_set_server_credentials_hint(gnutls_psk_server_credentials_t
1717
+ res, const char *hint);
1718
+
1719
+ const char *gnutls_psk_server_get_username(gnutls_session_t session);
1720
+ const char *gnutls_psk_client_get_hint(gnutls_session_t session);
1721
+
1722
+ typedef int gnutls_psk_server_credentials_function(gnutls_session_t,
1723
+ const char *username,
1724
+ gnutls_datum_t * key);
1725
+ void
1726
+ gnutls_psk_set_server_credentials_function(gnutls_psk_server_credentials_t
1727
+ cred,
1728
+ gnutls_psk_server_credentials_function
1729
+ * func);
1730
+
1731
+ typedef int gnutls_psk_client_credentials_function(gnutls_session_t,
1732
+ char **username,
1733
+ gnutls_datum_t * key);
1734
+ void
1735
+ gnutls_psk_set_client_credentials_function(gnutls_psk_client_credentials_t
1736
+ cred,
1737
+ gnutls_psk_client_credentials_function
1738
+ * func);
1739
+
1740
+ int gnutls_hex_encode(const gnutls_datum_t * data, char *result,
1741
+ size_t * result_size);
1742
+ int gnutls_hex_decode(const gnutls_datum_t * hex_data, void *result,
1743
+ size_t * result_size);
1744
+
1745
+ void
1746
+ gnutls_psk_set_server_dh_params(gnutls_psk_server_credentials_t res,
1747
+ gnutls_dh_params_t dh_params);
1748
+
1749
+ void
1750
+ gnutls_psk_set_server_params_function(gnutls_psk_server_credentials_t
1751
+ res, gnutls_params_function * func);
1654
1752
 
1655
1753
  /**
1656
1754
  * gnutls_x509_subject_alt_name_t:
@@ -1665,28 +1763,27 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1665
1763
  *
1666
1764
  * Enumeration of different subject alternative names types.
1667
1765
  */
1668
- typedef enum gnutls_x509_subject_alt_name_t
1669
- {
1670
- GNUTLS_SAN_DNSNAME = 1,
1671
- GNUTLS_SAN_RFC822NAME = 2,
1672
- GNUTLS_SAN_URI = 3,
1673
- GNUTLS_SAN_IPADDRESS = 4,
1674
- GNUTLS_SAN_OTHERNAME = 5,
1675
- GNUTLS_SAN_DN = 6,
1676
- /* The following are "virtual" subject alternative name types, in
1677
- that they are represented by an otherName value and an OID.
1678
- Used by gnutls_x509_crt_get_subject_alt_othername_oid. */
1679
- GNUTLS_SAN_OTHERNAME_XMPP = 1000
1680
- } gnutls_x509_subject_alt_name_t;
1681
-
1682
- struct gnutls_openpgp_crt_int;
1683
- typedef struct gnutls_openpgp_crt_int *gnutls_openpgp_crt_t;
1684
-
1685
- struct gnutls_openpgp_privkey_int;
1686
- typedef struct gnutls_openpgp_privkey_int *gnutls_openpgp_privkey_t;
1687
-
1688
- struct gnutls_pkcs11_privkey_st;
1689
- typedef struct gnutls_pkcs11_privkey_st *gnutls_pkcs11_privkey_t;
1766
+ typedef enum gnutls_x509_subject_alt_name_t {
1767
+ GNUTLS_SAN_DNSNAME = 1,
1768
+ GNUTLS_SAN_RFC822NAME = 2,
1769
+ GNUTLS_SAN_URI = 3,
1770
+ GNUTLS_SAN_IPADDRESS = 4,
1771
+ GNUTLS_SAN_OTHERNAME = 5,
1772
+ GNUTLS_SAN_DN = 6,
1773
+ /* The following are "virtual" subject alternative name types, in
1774
+ that they are represented by an otherName value and an OID.
1775
+ Used by gnutls_x509_crt_get_subject_alt_othername_oid. */
1776
+ GNUTLS_SAN_OTHERNAME_XMPP = 1000
1777
+ } gnutls_x509_subject_alt_name_t;
1778
+
1779
+ struct gnutls_openpgp_crt_int;
1780
+ typedef struct gnutls_openpgp_crt_int *gnutls_openpgp_crt_t;
1781
+
1782
+ struct gnutls_openpgp_privkey_int;
1783
+ typedef struct gnutls_openpgp_privkey_int *gnutls_openpgp_privkey_t;
1784
+
1785
+ struct gnutls_pkcs11_privkey_st;
1786
+ typedef struct gnutls_pkcs11_privkey_st *gnutls_pkcs11_privkey_t;
1690
1787
 
1691
1788
  /**
1692
1789
  * gnutls_privkey_type_t:
@@ -1697,57 +1794,53 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1697
1794
  *
1698
1795
  * Enumeration of different private key types.
1699
1796
  */
1700
- typedef enum
1701
- {
1702
- GNUTLS_PRIVKEY_X509,
1703
- GNUTLS_PRIVKEY_OPENPGP,
1704
- GNUTLS_PRIVKEY_PKCS11,
1705
- GNUTLS_PRIVKEY_EXT
1706
- } gnutls_privkey_type_t;
1707
-
1708
- typedef struct gnutls_retr2_st
1709
- {
1710
- gnutls_certificate_type_t cert_type;
1711
- gnutls_privkey_type_t key_type;
1712
-
1713
- union
1714
- {
1715
- gnutls_x509_crt_t *x509;
1716
- gnutls_openpgp_crt_t pgp;
1717
- } cert;
1718
- unsigned int ncerts; /* one for pgp keys */
1719
-
1720
- union
1721
- {
1722
- gnutls_x509_privkey_t x509;
1723
- gnutls_openpgp_privkey_t pgp;
1724
- gnutls_pkcs11_privkey_t pkcs11;
1725
- } key;
1726
-
1727
- unsigned int deinit_all; /* if non zero all keys will be deinited */
1728
- } gnutls_retr2_st;
1797
+ typedef enum {
1798
+ GNUTLS_PRIVKEY_X509,
1799
+ GNUTLS_PRIVKEY_OPENPGP,
1800
+ GNUTLS_PRIVKEY_PKCS11,
1801
+ GNUTLS_PRIVKEY_EXT
1802
+ } gnutls_privkey_type_t;
1803
+
1804
+ typedef struct gnutls_retr2_st {
1805
+ gnutls_certificate_type_t cert_type;
1806
+ gnutls_privkey_type_t key_type;
1807
+
1808
+ union {
1809
+ gnutls_x509_crt_t *x509;
1810
+ gnutls_openpgp_crt_t pgp;
1811
+ } cert;
1812
+ unsigned int ncerts; /* one for pgp keys */
1813
+
1814
+ union {
1815
+ gnutls_x509_privkey_t x509;
1816
+ gnutls_openpgp_privkey_t pgp;
1817
+ gnutls_pkcs11_privkey_t pkcs11;
1818
+ } key;
1819
+
1820
+ unsigned int deinit_all; /* if non zero all keys will be deinited */
1821
+ } gnutls_retr2_st;
1729
1822
 
1730
1823
 
1731
1824
  /* Functions that allow auth_info_t structures handling
1732
1825
  */
1733
1826
 
1734
- gnutls_credentials_type_t gnutls_auth_get_type (gnutls_session_t session);
1735
- gnutls_credentials_type_t
1736
- gnutls_auth_server_get_type (gnutls_session_t session);
1737
- gnutls_credentials_type_t
1738
- gnutls_auth_client_get_type (gnutls_session_t session);
1827
+ gnutls_credentials_type_t gnutls_auth_get_type(gnutls_session_t session);
1828
+ gnutls_credentials_type_t
1829
+ gnutls_auth_server_get_type(gnutls_session_t session);
1830
+ gnutls_credentials_type_t
1831
+ gnutls_auth_client_get_type(gnutls_session_t session);
1739
1832
 
1740
1833
  /* DH */
1741
1834
 
1742
- void gnutls_dh_set_prime_bits (gnutls_session_t session, unsigned int bits);
1743
- int gnutls_dh_get_secret_bits (gnutls_session_t session);
1744
- int gnutls_dh_get_peers_public_bits (gnutls_session_t session);
1745
- int gnutls_dh_get_prime_bits (gnutls_session_t session);
1835
+ void gnutls_dh_set_prime_bits(gnutls_session_t session, unsigned int bits);
1836
+ int gnutls_dh_get_secret_bits(gnutls_session_t session);
1837
+ int gnutls_dh_get_peers_public_bits(gnutls_session_t session);
1838
+ int gnutls_dh_get_prime_bits(gnutls_session_t session);
1746
1839
 
1747
- int gnutls_dh_get_group (gnutls_session_t session, gnutls_datum_t * raw_gen,
1748
- gnutls_datum_t * raw_prime);
1749
- int gnutls_dh_get_pubkey (gnutls_session_t session,
1750
- gnutls_datum_t * raw_key);
1840
+ int gnutls_dh_get_group(gnutls_session_t session, gnutls_datum_t * raw_gen,
1841
+ gnutls_datum_t * raw_prime);
1842
+ int gnutls_dh_get_pubkey(gnutls_session_t session,
1843
+ gnutls_datum_t * raw_key);
1751
1844
 
1752
1845
  /* X509PKI */
1753
1846
 
@@ -1759,72 +1852,75 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1759
1852
  * instead. It's much more efficient.
1760
1853
  */
1761
1854
 
1762
- typedef int gnutls_certificate_retrieve_function (gnutls_session_t,
1763
- const
1764
- gnutls_datum_t *
1765
- req_ca_rdn,
1766
- int nreqs,
1767
- const
1768
- gnutls_pk_algorithm_t
1769
- * pk_algos,
1770
- int
1771
- pk_algos_length,
1772
- gnutls_retr2_st *);
1773
-
1774
-
1775
- void gnutls_certificate_set_retrieve_function (
1776
- gnutls_certificate_credentials_t cred,
1777
- gnutls_certificate_retrieve_function * func);
1778
-
1779
- typedef int gnutls_certificate_verify_function (gnutls_session_t);
1780
- void
1781
- gnutls_certificate_set_verify_function (gnutls_certificate_credentials_t
1782
- cred,
1783
- gnutls_certificate_verify_function
1784
- * func);
1785
-
1786
- void
1787
- gnutls_certificate_server_set_request (gnutls_session_t session,
1788
- gnutls_certificate_request_t req);
1855
+ typedef int gnutls_certificate_retrieve_function(gnutls_session_t,
1856
+ const
1857
+ gnutls_datum_t *
1858
+ req_ca_rdn,
1859
+ int nreqs,
1860
+ const
1861
+ gnutls_pk_algorithm_t
1862
+ * pk_algos,
1863
+ int
1864
+ pk_algos_length,
1865
+ gnutls_retr2_st *);
1866
+
1867
+
1868
+ void
1869
+ gnutls_certificate_set_retrieve_function(gnutls_certificate_credentials_t
1870
+ cred,
1871
+ gnutls_certificate_retrieve_function
1872
+ * func);
1873
+
1874
+ typedef int gnutls_certificate_verify_function(gnutls_session_t);
1875
+ void
1876
+ gnutls_certificate_set_verify_function(gnutls_certificate_credentials_t
1877
+ cred,
1878
+ gnutls_certificate_verify_function
1879
+ * func);
1880
+
1881
+ void
1882
+ gnutls_certificate_server_set_request(gnutls_session_t session,
1883
+ gnutls_certificate_request_t req);
1789
1884
 
1790
1885
  /* get data from the session
1791
1886
  */
1792
- const gnutls_datum_t *gnutls_certificate_get_peers (gnutls_session_t
1793
- session,
1794
- unsigned int
1795
- *list_size);
1796
- const gnutls_datum_t *gnutls_certificate_get_ours (gnutls_session_t
1797
- session);
1798
-
1799
- int gnutls_certificate_get_peers_subkey_id(gnutls_session_t session,
1800
- gnutls_datum_t *id);
1801
-
1802
- time_t gnutls_certificate_activation_time_peers (gnutls_session_t session);
1803
- time_t gnutls_certificate_expiration_time_peers (gnutls_session_t session);
1804
-
1805
- int gnutls_certificate_client_get_request_status (gnutls_session_t session);
1806
- int gnutls_certificate_verify_peers2 (gnutls_session_t session,
1807
- unsigned int *status);
1808
- int gnutls_certificate_verify_peers3 (gnutls_session_t session,
1809
- const char* hostname,
1810
- unsigned int *status);
1811
-
1812
- int gnutls_certificate_verification_status_print (unsigned int status,
1813
- gnutls_certificate_type_t type,
1814
- gnutls_datum_t * out, unsigned int flags);
1815
-
1816
- int gnutls_pem_base64_encode (const char *msg, const gnutls_datum_t * data,
1817
- char *result, size_t * result_size);
1818
- int gnutls_pem_base64_decode (const char *header,
1819
- const gnutls_datum_t * b64_data,
1820
- unsigned char *result, size_t * result_size);
1821
-
1822
- int gnutls_pem_base64_encode_alloc (const char *msg,
1823
- const gnutls_datum_t * data,
1824
- gnutls_datum_t * result);
1825
- int gnutls_pem_base64_decode_alloc (const char *header,
1826
- const gnutls_datum_t * b64_data,
1827
- gnutls_datum_t * result);
1887
+ const gnutls_datum_t *gnutls_certificate_get_peers(gnutls_session_t
1888
+ session, unsigned int
1889
+ *list_size);
1890
+ const gnutls_datum_t *gnutls_certificate_get_ours(gnutls_session_t
1891
+ session);
1892
+
1893
+ int gnutls_certificate_get_peers_subkey_id(gnutls_session_t session,
1894
+ gnutls_datum_t * id);
1895
+
1896
+ time_t gnutls_certificate_activation_time_peers(gnutls_session_t session);
1897
+ time_t gnutls_certificate_expiration_time_peers(gnutls_session_t session);
1898
+
1899
+ int gnutls_certificate_client_get_request_status(gnutls_session_t session);
1900
+ int gnutls_certificate_verify_peers2(gnutls_session_t session,
1901
+ unsigned int *status);
1902
+ int gnutls_certificate_verify_peers3(gnutls_session_t session,
1903
+ const char *hostname,
1904
+ unsigned int *status);
1905
+
1906
+ int gnutls_certificate_verification_status_print(unsigned int status,
1907
+ gnutls_certificate_type_t
1908
+ type,
1909
+ gnutls_datum_t * out,
1910
+ unsigned int flags);
1911
+
1912
+ int gnutls_pem_base64_encode(const char *msg, const gnutls_datum_t * data,
1913
+ char *result, size_t * result_size);
1914
+ int gnutls_pem_base64_decode(const char *header,
1915
+ const gnutls_datum_t * b64_data,
1916
+ unsigned char *result, size_t * result_size);
1917
+
1918
+ int gnutls_pem_base64_encode_alloc(const char *msg,
1919
+ const gnutls_datum_t * data,
1920
+ gnutls_datum_t * result);
1921
+ int gnutls_pem_base64_decode_alloc(const char *header,
1922
+ const gnutls_datum_t * b64_data,
1923
+ gnutls_datum_t * result);
1828
1924
 
1829
1925
  /* key_usage will be an OR of the following values:
1830
1926
  */
@@ -1841,85 +1937,85 @@ gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session);
1841
1937
  #define GNUTLS_KEY_ENCIPHER_ONLY 1
1842
1938
  #define GNUTLS_KEY_DECIPHER_ONLY 32768
1843
1939
 
1844
- void
1845
- gnutls_certificate_set_params_function (gnutls_certificate_credentials_t
1846
- res,
1847
- gnutls_params_function * func);
1848
- void gnutls_anon_set_params_function (gnutls_anon_server_credentials_t res,
1849
- gnutls_params_function * func);
1850
- void gnutls_psk_set_params_function (gnutls_psk_server_credentials_t res,
1851
- gnutls_params_function * func);
1940
+ void
1941
+ gnutls_certificate_set_params_function(gnutls_certificate_credentials_t
1942
+ res, gnutls_params_function * func);
1943
+ void gnutls_anon_set_params_function(gnutls_anon_server_credentials_t res,
1944
+ gnutls_params_function * func);
1945
+ void gnutls_psk_set_params_function(gnutls_psk_server_credentials_t res,
1946
+ gnutls_params_function * func);
1852
1947
 
1853
- int gnutls_hex2bin (const char *hex_data, size_t hex_size,
1854
- void *bin_data, size_t * bin_size);
1948
+ int gnutls_hex2bin(const char *hex_data, size_t hex_size,
1949
+ void *bin_data, size_t * bin_size);
1855
1950
 
1856
1951
  /* Trust on first use (or ssh like) functions */
1857
1952
 
1858
1953
  /* stores the provided information to a database
1859
1954
  */
1860
- typedef int (*gnutls_tdb_store_func) (const char* db_name,
1861
- const char* host,
1862
- const char* service,
1863
- time_t expiration,
1864
- const gnutls_datum_t* pubkey);
1865
-
1866
- typedef int (*gnutls_tdb_store_commitment_func) (const char* db_name,
1867
- const char* host,
1868
- const char* service,
1869
- time_t expiration,
1870
- gnutls_digest_algorithm_t hash_algo,
1871
- const gnutls_datum_t* hash);
1872
-
1955
+ typedef int (*gnutls_tdb_store_func) (const char *db_name,
1956
+ const char *host,
1957
+ const char *service,
1958
+ time_t expiration,
1959
+ const gnutls_datum_t * pubkey);
1960
+
1961
+ typedef int (*gnutls_tdb_store_commitment_func) (const char *db_name,
1962
+ const char *host,
1963
+ const char *service,
1964
+ time_t expiration,
1965
+ gnutls_digest_algorithm_t
1966
+ hash_algo,
1967
+ const gnutls_datum_t *
1968
+ hash);
1969
+
1873
1970
  /* searches for the provided host/service pair that match the
1874
1971
  * provided public key in the database. */
1875
- typedef int (*gnutls_tdb_verify_func) (const char* db_name,
1876
- const char* host,
1877
- const char* service,
1878
- const gnutls_datum_t *pubkey);
1879
-
1880
-
1881
- struct gnutls_tdb_int;
1882
- typedef struct gnutls_tdb_int *gnutls_tdb_t;
1883
-
1884
- int gnutls_tdb_init (gnutls_tdb_t *tdb);
1885
- void gnutls_tdb_set_store_func (gnutls_tdb_t tdb,
1886
- gnutls_tdb_store_func store);
1887
- void gnutls_tdb_set_store_commitment_func (gnutls_tdb_t tdb,
1888
- gnutls_tdb_store_commitment_func cstore);
1889
- void gnutls_tdb_set_verify_func (gnutls_tdb_t tdb,
1890
- gnutls_tdb_verify_func verify);
1891
- void gnutls_tdb_deinit (gnutls_tdb_t tdb);
1892
-
1893
- int gnutls_verify_stored_pubkey (const char* db_name,
1894
- gnutls_tdb_t tdb,
1895
- const char* host,
1896
- const char* service,
1897
- gnutls_certificate_type_t cert_type,
1898
- const gnutls_datum_t * cert,
1899
- unsigned int flags);
1900
-
1901
- int gnutls_store_commitment (const char* db_name,
1902
- gnutls_tdb_t tdb,
1903
- const char* host,
1904
- const char* service,
1905
- gnutls_digest_algorithm_t hash_algo,
1906
- const gnutls_datum_t* hash,
1907
- time_t expiration,
1908
- unsigned int flags);
1909
-
1910
- int gnutls_store_pubkey (const char* db_name,
1911
- gnutls_tdb_t tdb,
1912
- const char* host,
1913
- const char* service,
1914
- gnutls_certificate_type_t cert_type,
1915
- const gnutls_datum_t * cert,
1916
- time_t expiration,
1917
- unsigned int flags);
1972
+ typedef int (*gnutls_tdb_verify_func) (const char *db_name,
1973
+ const char *host,
1974
+ const char *service,
1975
+ const gnutls_datum_t * pubkey);
1976
+
1977
+
1978
+ struct gnutls_tdb_int;
1979
+ typedef struct gnutls_tdb_int *gnutls_tdb_t;
1980
+
1981
+ int gnutls_tdb_init(gnutls_tdb_t * tdb);
1982
+ void gnutls_tdb_set_store_func(gnutls_tdb_t tdb,
1983
+ gnutls_tdb_store_func store);
1984
+ void gnutls_tdb_set_store_commitment_func(gnutls_tdb_t tdb,
1985
+ gnutls_tdb_store_commitment_func
1986
+ cstore);
1987
+ void gnutls_tdb_set_verify_func(gnutls_tdb_t tdb,
1988
+ gnutls_tdb_verify_func verify);
1989
+ void gnutls_tdb_deinit(gnutls_tdb_t tdb);
1990
+
1991
+ int gnutls_verify_stored_pubkey(const char *db_name,
1992
+ gnutls_tdb_t tdb,
1993
+ const char *host,
1994
+ const char *service,
1995
+ gnutls_certificate_type_t cert_type,
1996
+ const gnutls_datum_t * cert,
1997
+ unsigned int flags);
1998
+
1999
+ int gnutls_store_commitment(const char *db_name,
2000
+ gnutls_tdb_t tdb,
2001
+ const char *host,
2002
+ const char *service,
2003
+ gnutls_digest_algorithm_t hash_algo,
2004
+ const gnutls_datum_t * hash,
2005
+ time_t expiration, unsigned int flags);
2006
+
2007
+ int gnutls_store_pubkey(const char *db_name,
2008
+ gnutls_tdb_t tdb,
2009
+ const char *host,
2010
+ const char *service,
2011
+ gnutls_certificate_type_t cert_type,
2012
+ const gnutls_datum_t * cert,
2013
+ time_t expiration, unsigned int flags);
1918
2014
 
1919
2015
  /* Other helper functions */
1920
- int gnutls_load_file(const char* filename, gnutls_datum_t * data);
2016
+ int gnutls_load_file(const char *filename, gnutls_datum_t * data);
1921
2017
 
1922
- int gnutls_url_is_supported (const char* url);
2018
+ int gnutls_url_is_supported(const char *url);
1923
2019
 
1924
2020
  /* PIN callback */
1925
2021
 
@@ -1934,15 +2030,14 @@ int gnutls_url_is_supported (const char* url);
1934
2030
  *
1935
2031
  * Enumeration of different flags that are input to the PIN function.
1936
2032
  */
1937
- typedef enum
1938
- {
1939
- GNUTLS_PIN_USER = (1 << 0),
1940
- GNUTLS_PIN_SO = (1 << 1),
1941
- GNUTLS_PIN_FINAL_TRY = (1 << 2),
1942
- GNUTLS_PIN_COUNT_LOW = (1 << 3),
1943
- GNUTLS_PIN_CONTEXT_SPECIFIC = (1 << 4),
1944
- GNUTLS_PIN_WRONG = (1 << 5),
1945
- } gnutls_pin_flag_t;
2033
+ typedef enum {
2034
+ GNUTLS_PIN_USER = (1 << 0),
2035
+ GNUTLS_PIN_SO = (1 << 1),
2036
+ GNUTLS_PIN_FINAL_TRY = (1 << 2),
2037
+ GNUTLS_PIN_COUNT_LOW = (1 << 3),
2038
+ GNUTLS_PIN_CONTEXT_SPECIFIC = (1 << 4),
2039
+ GNUTLS_PIN_WRONG = (1 << 5),
2040
+ } gnutls_pin_flag_t;
1946
2041
 
1947
2042
  #define GNUTLS_PKCS11_PIN_USER GNUTLS_PIN_USER
1948
2043
  #define GNUTLS_PKCS11_PIN_SO GNUTLS_PIN_SO
@@ -1985,13 +2080,14 @@ int gnutls_url_is_supported (const char* url);
1985
2080
  * Since: 2.12.0
1986
2081
  **/
1987
2082
  typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
1988
- const char *token_url,
1989
- const char *token_label,
1990
- unsigned int flags,
1991
- char *pin, size_t pin_max);
2083
+ const char *token_url,
2084
+ const char *token_label,
2085
+ unsigned int flags,
2086
+ char *pin, size_t pin_max);
1992
2087
 
1993
- void gnutls_certificate_set_pin_function (gnutls_certificate_credentials_t,
1994
- gnutls_pin_callback_t fn, void *userdata);
2088
+ void gnutls_certificate_set_pin_function(gnutls_certificate_credentials_t,
2089
+ gnutls_pin_callback_t fn,
2090
+ void *userdata);
1995
2091
 
1996
2092
  /* Gnutls error codes. The mapping to a TLS alert is also shown in
1997
2093
  * comments.
@@ -2001,35 +2097,35 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2001
2097
  #define GNUTLS_E_UNKNOWN_COMPRESSION_ALGORITHM -3
2002
2098
  #define GNUTLS_E_UNKNOWN_CIPHER_TYPE -6
2003
2099
  #define GNUTLS_E_LARGE_PACKET -7
2004
- #define GNUTLS_E_UNSUPPORTED_VERSION_PACKET -8 /* GNUTLS_A_PROTOCOL_VERSION */
2005
- #define GNUTLS_E_UNEXPECTED_PACKET_LENGTH -9 /* GNUTLS_A_RECORD_OVERFLOW */
2100
+ #define GNUTLS_E_UNSUPPORTED_VERSION_PACKET -8 /* GNUTLS_A_PROTOCOL_VERSION */
2101
+ #define GNUTLS_E_UNEXPECTED_PACKET_LENGTH -9 /* GNUTLS_A_RECORD_OVERFLOW */
2006
2102
  #define GNUTLS_E_INVALID_SESSION -10
2007
2103
  #define GNUTLS_E_FATAL_ALERT_RECEIVED -12
2008
- #define GNUTLS_E_UNEXPECTED_PACKET -15 /* GNUTLS_A_UNEXPECTED_MESSAGE */
2104
+ #define GNUTLS_E_UNEXPECTED_PACKET -15 /* GNUTLS_A_UNEXPECTED_MESSAGE */
2009
2105
  #define GNUTLS_E_WARNING_ALERT_RECEIVED -16
2010
2106
  #define GNUTLS_E_ERROR_IN_FINISHED_PACKET -18
2011
2107
  #define GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET -19
2012
- #define GNUTLS_E_UNKNOWN_CIPHER_SUITE -21 /* GNUTLS_A_HANDSHAKE_FAILURE */
2108
+ #define GNUTLS_E_UNKNOWN_CIPHER_SUITE -21 /* GNUTLS_A_HANDSHAKE_FAILURE */
2013
2109
  #define GNUTLS_E_UNWANTED_ALGORITHM -22
2014
2110
  #define GNUTLS_E_MPI_SCAN_FAILED -23
2015
- #define GNUTLS_E_DECRYPTION_FAILED -24 /* GNUTLS_A_DECRYPTION_FAILED, GNUTLS_A_BAD_RECORD_MAC */
2111
+ #define GNUTLS_E_DECRYPTION_FAILED -24 /* GNUTLS_A_DECRYPTION_FAILED, GNUTLS_A_BAD_RECORD_MAC */
2016
2112
  #define GNUTLS_E_MEMORY_ERROR -25
2017
- #define GNUTLS_E_DECOMPRESSION_FAILED -26 /* GNUTLS_A_DECOMPRESSION_FAILURE */
2113
+ #define GNUTLS_E_DECOMPRESSION_FAILED -26 /* GNUTLS_A_DECOMPRESSION_FAILURE */
2018
2114
  #define GNUTLS_E_COMPRESSION_FAILED -27
2019
2115
  #define GNUTLS_E_AGAIN -28
2020
2116
  #define GNUTLS_E_EXPIRED -29
2021
2117
  #define GNUTLS_E_DB_ERROR -30
2022
2118
  #define GNUTLS_E_SRP_PWD_ERROR -31
2023
2119
  #define GNUTLS_E_INSUFFICIENT_CREDENTIALS -32
2024
- #define GNUTLS_E_INSUFICIENT_CREDENTIALS GNUTLS_E_INSUFFICIENT_CREDENTIALS /* for backwards compatibility only */
2120
+ #define GNUTLS_E_INSUFICIENT_CREDENTIALS GNUTLS_E_INSUFFICIENT_CREDENTIALS /* for backwards compatibility only */
2025
2121
  #define GNUTLS_E_INSUFFICIENT_CRED GNUTLS_E_INSUFFICIENT_CREDENTIALS
2026
- #define GNUTLS_E_INSUFICIENT_CRED GNUTLS_E_INSUFFICIENT_CREDENTIALS /* for backwards compatibility only */
2122
+ #define GNUTLS_E_INSUFICIENT_CRED GNUTLS_E_INSUFFICIENT_CREDENTIALS /* for backwards compatibility only */
2027
2123
 
2028
2124
  #define GNUTLS_E_HASH_FAILED -33
2029
2125
  #define GNUTLS_E_BASE64_DECODING_ERROR -34
2030
2126
 
2031
2127
  #define GNUTLS_E_MPI_PRINT_FAILED -35
2032
- #define GNUTLS_E_REHANDSHAKE -37 /* GNUTLS_A_NO_RENEGOTIATION */
2128
+ #define GNUTLS_E_REHANDSHAKE -37 /* GNUTLS_A_NO_RENEGOTIATION */
2033
2129
  #define GNUTLS_E_GOT_APPLICATION_DATA -38
2034
2130
  #define GNUTLS_E_RECORD_LIMIT_REACHED -39
2035
2131
  #define GNUTLS_E_ENCRYPTION_FAILED -40
@@ -2039,13 +2135,13 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2039
2135
  #define GNUTLS_E_PK_SIGN_FAILED -46
2040
2136
  #define GNUTLS_E_X509_UNSUPPORTED_CRITICAL_EXTENSION -47
2041
2137
  #define GNUTLS_E_KEY_USAGE_VIOLATION -48
2042
- #define GNUTLS_E_NO_CERTIFICATE_FOUND -49 /* GNUTLS_A_BAD_CERTIFICATE */
2138
+ #define GNUTLS_E_NO_CERTIFICATE_FOUND -49 /* GNUTLS_A_BAD_CERTIFICATE */
2043
2139
  #define GNUTLS_E_INVALID_REQUEST -50
2044
2140
  #define GNUTLS_E_SHORT_MEMORY_BUFFER -51
2045
2141
  #define GNUTLS_E_INTERRUPTED -52
2046
2142
  #define GNUTLS_E_PUSH_ERROR -53
2047
2143
  #define GNUTLS_E_PULL_ERROR -54
2048
- #define GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER -55 /* GNUTLS_A_ILLEGAL_PARAMETER */
2144
+ #define GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER -55 /* GNUTLS_A_ILLEGAL_PARAMETER */
2049
2145
  #define GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE -56
2050
2146
  #define GNUTLS_E_PKCS1_WRONG_PAD -57
2051
2147
  #define GNUTLS_E_RECEIVED_ILLEGAL_EXTENSION -58
@@ -2088,7 +2184,7 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2088
2184
  #define GNUTLS_E_CERTIFICATE_ERROR -43
2089
2185
  #define GNUTLS_E_X509_CERTIFICATE_ERROR GNUTLS_E_CERTIFICATE_ERROR
2090
2186
  #define GNUTLS_E_CERTIFICATE_KEY_MISMATCH -60
2091
- #define GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE -61 /* GNUTLS_A_UNSUPPORTED_CERTIFICATE */
2187
+ #define GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE -61 /* GNUTLS_A_UNSUPPORTED_CERTIFICATE */
2092
2188
  #define GNUTLS_E_X509_UNKNOWN_SAN -62
2093
2189
  #define GNUTLS_E_OPENPGP_FINGERPRINT_UNSUPPORTED -94
2094
2190
  #define GNUTLS_E_X509_UNSUPPORTED_ATTRIBUTE -95
@@ -2096,7 +2192,7 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2096
2192
  #define GNUTLS_E_UNKNOWN_PKCS_CONTENT_TYPE -97
2097
2193
  #define GNUTLS_E_UNKNOWN_PKCS_BAG_TYPE -98
2098
2194
  #define GNUTLS_E_INVALID_PASSWORD -99
2099
- #define GNUTLS_E_MAC_VERIFY_FAILED -100 /* for PKCS #12 MAC */
2195
+ #define GNUTLS_E_MAC_VERIFY_FAILED -100 /* for PKCS #12 MAC */
2100
2196
  #define GNUTLS_E_CONSTRAINT_ERROR -101
2101
2197
 
2102
2198
  #define GNUTLS_E_WARNING_IA_IPHF_RECEIVED -102
@@ -2111,7 +2207,7 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2111
2207
  #define GNUTLS_E_PREMATURE_TERMINATION -110
2112
2208
 
2113
2209
  #define GNUTLS_E_BASE64_ENCODING_ERROR -201
2114
- #define GNUTLS_E_INCOMPATIBLE_GCRYPT_LIBRARY -202 /* obsolete */
2210
+ #define GNUTLS_E_INCOMPATIBLE_GCRYPT_LIBRARY -202 /* obsolete */
2115
2211
  #define GNUTLS_E_INCOMPATIBLE_CRYPTO_LIBRARY -202
2116
2212
  #define GNUTLS_E_INCOMPATIBLE_LIBTASN1_LIBRARY -203
2117
2213
 
@@ -2181,6 +2277,7 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2181
2277
  #define GNUTLS_E_OCSP_RESPONSE_ERROR -341
2182
2278
  #define GNUTLS_E_RANDOM_DEVICE_ERROR -342
2183
2279
  #define GNUTLS_E_AUTH_ERROR -343
2280
+ #define GNUTLS_E_NO_APPLICATION_PROTOCOL -344
2184
2281
 
2185
2282
  #define GNUTLS_E_UNIMPLEMENTED_FEATURE -1250
2186
2283
 
@@ -2189,10 +2286,12 @@ typedef int (*gnutls_pin_callback_t) (void *userdata, int attempt,
2189
2286
  #define GNUTLS_E_APPLICATION_ERROR_MAX -65000
2190
2287
  #define GNUTLS_E_APPLICATION_ERROR_MIN -65500
2191
2288
 
2289
+ /* *INDENT-OFF* */
2192
2290
  #ifdef __cplusplus
2193
2291
  }
2194
2292
  #endif
2293
+ /* *INDENT-ON* */
2195
2294
 
2196
2295
  #include <gnutls/compat.h>
2197
2296
 
2198
- #endif /* GNUTLS_H */
2297
+ #endif /* GNUTLS_H */