glib2 1.1.8-x86-mingw32 → 1.1.9-x86-mingw32

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