glib2 1.2.5-x86-mingw32 → 1.2.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +3 -3
- data/ext/glib2/rbglib.c +0 -1
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib2conversions.h +0 -2
- data/ext/glib2/rbglib_source.c +9 -6
- data/ext/glib2/rbgobj_closure.c +4 -2
- data/ext/glib2/rbgprivate.h +0 -1
- data/lib/1.9/glib2.so +0 -0
- data/lib/2.0/glib2.so +0 -0
- data/lib/glib-mkenums.rb +1 -3
- data/lib/gnome2-raketask.rb +3 -0
- data/lib/gnome2-win32-binary-build-task.rb +4 -2
- data/test/test_source.rb +29 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.def +837 -803
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +200 -194
- data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
- data/vendor/local/bin/libgnutls-xssl-28.def +176 -0
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +5 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +43 -4
- data/vendor/local/include/glib-2.0/gio/gapplication.h +41 -3
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +27 -8
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +7 -4
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gconverter.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +25 -3
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +44 -3
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +16 -5
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +34 -3
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +53 -3
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +24 -5
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +14 -4
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +8 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +29 -3
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gdrive.h +28 -3
- data/vendor/local/include/glib-2.0/gio/gemblem.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gfile.h +115 -3
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +77 -3
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gicon.h +8 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +23 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +9 -3
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +7 -3
- data/vendor/local/include/glib-2.0/gio/ginitable.h +8 -3
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gio.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -10
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +70 -70
- data/vendor/local/include/glib-2.0/gio/gioerror.h +6 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +26 -3
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +7 -3
- data/vendor/local/include/glib-2.0/gio/giostream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/giotypes.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gmenu.h +27 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +83 -2
- data/vendor/local/include/glib-2.0/gio/gmount.h +27 -3
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +10 -3
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +22 -3
- data/vendor/local/include/glib-2.0/gio/gpermission.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gproxy.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gresolver.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gresource.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gseekable.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsettings.h +47 -3
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +12 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +31 -5
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +56 -3
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +39 -3
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +21 -3
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gvfs.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gvolume.h +20 -3
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +6 -3
- data/vendor/local/include/glib-2.0/glib-unix.h +33 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +5 -4
- data/vendor/local/include/glib-2.0/glib/galloca.h +3 -3
- data/vendor/local/include/glib-2.0/glib/garray.h +52 -3
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +23 -3
- data/vendor/local/include/glib-2.0/glib/gatomic.h +17 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +5 -3
- data/vendor/local/include/glib-2.0/glib/gbase64.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +6 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +43 -3
- data/vendor/local/include/glib-2.0/glib/gbytes.h +17 -3
- data/vendor/local/include/glib-2.0/glib/gcharset.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gconvert.h +48 -12
- data/vendor/local/include/glib-2.0/glib/gdataset.h +18 -3
- data/vendor/local/include/glib-2.0/glib/gdate.h +50 -3
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +50 -3
- data/vendor/local/include/glib-2.0/glib/gdir.h +19 -11
- data/vendor/local/include/glib-2.0/glib/genviron.h +26 -11
- data/vendor/local/include/glib-2.0/glib/gerror.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +47 -18
- data/vendor/local/include/glib-2.0/glib/ggettext.h +9 -3
- data/vendor/local/include/glib-2.0/glib/ghash.h +40 -3
- data/vendor/local/include/glib-2.0/glib/ghmac.h +3 -3
- data/vendor/local/include/glib-2.0/glib/ghook.h +26 -3
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +8 -3
- data/vendor/local/include/glib-2.0/glib/giochannel.h +61 -20
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +50 -3
- data/vendor/local/include/glib-2.0/glib/glist.h +33 -3
- data/vendor/local/include/glib-2.0/glib/gmacros.h +15 -11
- data/vendor/local/include/glib-2.0/glib/gmain.h +124 -6
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +23 -4
- data/vendor/local/include/glib-2.0/glib/gmem.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gmessages.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gnode.h +29 -3
- data/vendor/local/include/glib-2.0/glib/goption.h +29 -3
- data/vendor/local/include/glib-2.0/glib/gpattern.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gpoll.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gprimes.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gprintf.h +11 -4
- data/vendor/local/include/glib-2.0/glib/gqsort.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gquark.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gqueue.h +43 -3
- data/vendor/local/include/glib-2.0/glib/grand.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +43 -3
- data/vendor/local/include/glib-2.0/glib/gscanner.h +24 -3
- data/vendor/local/include/glib-2.0/glib/gsequence.h +40 -3
- data/vendor/local/include/glib-2.0/glib/gshell.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gslice.h +13 -3
- data/vendor/local/include/glib-2.0/glib/gslist.h +31 -3
- data/vendor/local/include/glib-2.0/glib/gspawn.h +62 -13
- data/vendor/local/include/glib-2.0/glib/gstdio.h +23 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +50 -4
- data/vendor/local/include/glib-2.0/glib/gstring.h +38 -5
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +49 -3
- data/vendor/local/include/glib-2.0/glib/gthread.h +22 -3
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +17 -3
- data/vendor/local/include/glib-2.0/glib/gtimer.h +14 -3
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +13 -3
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gtree.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gtypes.h +6 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +70 -9
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gutils.h +33 -23
- data/vendor/local/include/glib-2.0/glib/gvariant.h +112 -3
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +33 -3
- data/vendor/local/include/glib-2.0/glib/gversion.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +43 -18
- data/vendor/local/include/glib-2.0/glib/gwin32.h +28 -13
- data/vendor/local/include/glib-2.0/gmodule.h +21 -7
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +13 -3
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +13 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +21 -3
- data/vendor/local/include/glib-2.0/gobject/genums.h +17 -3
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +64 -3
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +330 -286
- data/vendor/local/include/glib-2.0/gobject/gobject.h +73 -13
- data/vendor/local/include/glib-2.0/gobject/gparam.h +32 -3
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +27 -4
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +41 -3
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +5 -3
- data/vendor/local/include/glib-2.0/gobject/gtype.h +73 -10
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +11 -3
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +8 -3
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +14 -3
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +14 -14
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +41 -3
- data/vendor/local/include/gnutls/abstract.h +15 -6
- data/vendor/local/include/gnutls/compat.h +1 -1
- data/vendor/local/include/gnutls/crypto.h +3 -1
- data/vendor/local/include/gnutls/dtls.h +1 -1
- data/vendor/local/include/gnutls/gnutls.h +49 -7
- data/vendor/local/include/gnutls/gnutlsxx.h +1 -1
- data/vendor/local/include/gnutls/openpgp.h +4 -1
- data/vendor/local/include/gnutls/pkcs11.h +5 -2
- data/vendor/local/include/gnutls/pkcs12.h +1 -1
- data/vendor/local/include/gnutls/tpm.h +5 -3
- data/vendor/local/include/gnutls/x509.h +25 -3
- data/vendor/local/include/gnutls/xssl.h +121 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.la +1 -1
- data/vendor/local/lib/libgnutls-xssl.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.la +41 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +3 -3
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.la +1 -1
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3400.3-gdb.py → libglib-2.0.so.0.3600.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3400.3-gdb.py → libgobject-2.0.so.0.3600.0-gdb.py} +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.py +2 -1
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_docbook.py +31 -23
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.py +2 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/utils.py +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +5 -17
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +4 -4
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +129 -129
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +53 -53
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -49
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +149 -123
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +371 -354
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +130 -48
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +135 -151
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +72 -60
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +77 -75
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +67 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +42 -42
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1814 -1830
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +149 -149
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +61 -61
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +143 -141
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +443 -447
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +239 -243
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +81 -80
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +124 -124
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +791 -720
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +110 -53
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +152 -124
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +42 -42
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +69 -69
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +65 -62
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +133 -127
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +72 -13
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +89 -45
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +167 -167
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +129 -91
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +121 -121
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +50 -49
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +37 -29
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +125 -125
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +430 -430
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +56 -56
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +53 -51
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +222 -214
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +323 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +501 -363
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +189 -109
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +78 -68
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +44 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +323 -13
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +37 -34
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +56 -56
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +73 -73
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +47 -47
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +85 -85
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +49 -49
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +6 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +34 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +20 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +256 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +21 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +258 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +9 -6
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +400 -408
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +246 -246
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +68 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +160 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +16 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +66 -49
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +175 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +145 -149
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +143 -141
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +91 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +69 -69
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +92 -16
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +17 -5
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +16 -6
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +91 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/networking.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +12 -3
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +114 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +79 -3
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +5 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +15 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +62 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +104 -104
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +53 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +46 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +142 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +16 -57
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +19 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +33 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +119 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +11 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +48 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +375 -147
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +173 -147
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +241 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +17 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +33 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +23 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +8 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +50 -27
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +155 -155
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/index.html +4 -3
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +24 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -72
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +63 -63
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +14 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +18 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +83 -50
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +344 -344
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +50 -50
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +81 -81
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +68 -72
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +259 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +463 -443
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +356 -355
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +371 -427
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +41 -41
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +7 -36
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +96 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +24 -24
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +12 -11
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +5 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/info/gnutls-guile.info +15 -15
- data/vendor/local/share/info/gnutls.info +1274 -1229
- data/vendor/local/share/info/gnutls.info-1 +2153 -2008
- data/vendor/local/share/info/gnutls.info-2 +991 -314
- data/vendor/local/share/info/gnutls.info-3 +358 -232
- data/vendor/local/share/info/gnutls.info-4 +928 -671
- data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/certtool.1 +27 -4
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +13 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +2 -2
- data/vendor/local/share/man/man1/gnutls-cli.1 +11 -2
- data/vendor/local/share/man/man1/gnutls-serv.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- data/vendor/local/share/man/man1/ocsptool.1 +2 -2
- data/vendor/local/share/man/man1/p11tool.1 +23 -2
- data/vendor/local/share/man/man1/psktool.1 +2 -2
- data/vendor/local/share/man/man1/srptool.1 +2 -2
- data/vendor/local/share/man/man1/tpmtool.1 +2 -2
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_bye.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +3 -4
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_check_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +2 -4
- data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +7 -2
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_load_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_perror.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +11 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_prf.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_privkey_status.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +6 -3
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +4 -3
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_random_art.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_range_split.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_cork.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_send_range.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_record_uncork.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rnd.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_strerror.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +4 -5
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +9 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +8 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +6 -6
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +5 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +8 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +2 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +6 -4
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +7 -5
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +1 -1
- metadata +76 -36
- data/ext/glib2/rbglib_completion.c +0 -195
- data/sample/completion.rb +0 -45
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1604
- data/vendor/local/lib/glib-2.0.def +0 -1603
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gobject-2.0.def +0 -417
- data/vendor/local/lib/pkgconfig/gnutls-dane.pc +0 -24
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -162
@@ -1,9 +1,9 @@
|
|
1
1
|
This is gnutls.info, produced by makeinfo version 4.13 from gnutls.texi.
|
2
2
|
|
3
|
-
This manual is last updated
|
4
|
-
GnuTLS.
|
3
|
+
This manual is last updated 21 March 2013 for version 3.1.10 of GnuTLS.
|
5
4
|
|
6
|
-
Copyright (C) 2001-
|
5
|
+
Copyright (C) 2001-2013 Free Software Foundation, Inc.\\ Copyright (C)
|
6
|
+
2001-2013 Nikos Mavrogiannopoulos
|
7
7
|
|
8
8
|
Permission is granted to copy, distribute and/or modify this
|
9
9
|
document under the terms of the GNU Free Documentation License,
|
@@ -28,9 +28,118 @@ START-INFO-DIR-ENTRY
|
|
28
28
|
END-INFO-DIR-ENTRY
|
29
29
|
|
30
30
|
|
31
|
-
File: gnutls.info, Node:
|
31
|
+
File: gnutls.info, Node: DTLS sessions, Prev: Asynchronous operation, Up: Setting up the transport layer
|
32
32
|
|
33
|
-
|
33
|
+
6.5.2 DTLS sessions
|
34
|
+
-------------------
|
35
|
+
|
36
|
+
Because datagram TLS can operate over connections where the peer of a
|
37
|
+
server cannot be reliably verified, functionality is available to
|
38
|
+
prevent denial of service attacks. GnuTLS requires a server to generate
|
39
|
+
a secret key that is used to sign a cookie(1). That cookie is sent to
|
40
|
+
the client using *note gnutls_dtls_cookie_send::, and the client must
|
41
|
+
reply using the correct cookie. The server side should verify the
|
42
|
+
initial message sent by client using *note gnutls_dtls_cookie_verify::.
|
43
|
+
If successful the session should be initialized and associated with the
|
44
|
+
cookie using *note gnutls_dtls_prestate_set::, before proceeding to the
|
45
|
+
handshake.
|
46
|
+
|
47
|
+
`INT *note gnutls_key_generate:: (gnutls_datum_t * KEY, unsigned int KEY_SIZE)'
|
48
|
+
|
49
|
+
`INT *note gnutls_dtls_cookie_send:: (gnutls_datum_t* KEY, void* CLIENT_DATA, size_t CLIENT_DATA_SIZE, gnutls_dtls_prestate_st* PRESTATE, gnutls_transport_ptr_t PTR, gnutls_push_func PUSH_FUNC)'
|
50
|
+
|
51
|
+
`INT *note gnutls_dtls_cookie_verify:: (gnutls_datum_t* KEY, void* CLIENT_DATA, size_t CLIENT_DATA_SIZE, void* _MSG, size_t MSG_SIZE, gnutls_dtls_prestate_st* PRESTATE)'
|
52
|
+
|
53
|
+
`VOID *note gnutls_dtls_prestate_set:: (gnutls_session_t SESSION, gnutls_dtls_prestate_st* PRESTATE)'
|
54
|
+
|
55
|
+
Note that the above apply to server side only and they are not
|
56
|
+
mandatory to be used. Not using them, however, allows denial of service
|
57
|
+
attacks. The client side cookie handling is part of *note
|
58
|
+
gnutls_handshake::.
|
59
|
+
|
60
|
+
Datagrams are typically restricted by a maximum transfer unit (MTU).
|
61
|
+
For that both client and server side should set the correct maximum
|
62
|
+
transfer unit for the layer underneath GnuTLS. This will allow proper
|
63
|
+
fragmentation of DTLS messages and prevent messages from being silently
|
64
|
+
discarded by the transport layer. The "correct" maximum transfer unit
|
65
|
+
can be obtained through a path MTU discovery mechanism [_RFC4821_].
|
66
|
+
|
67
|
+
`VOID *note gnutls_dtls_set_mtu:: (gnutls_session_t SESSION, unsigned int MTU)'
|
68
|
+
|
69
|
+
`UNSIGNED INT *note gnutls_dtls_get_mtu:: (gnutls_session_t SESSION)'
|
70
|
+
|
71
|
+
`UNSIGNED INT *note gnutls_dtls_get_data_mtu:: (gnutls_session_t SESSION)'
|
72
|
+
|
73
|
+
---------- Footnotes ----------
|
74
|
+
|
75
|
+
(1) A key of 128 bits or 16 bytes should be sufficient for this purpose.
|
76
|
+
|
77
|
+
|
78
|
+
File: gnutls.info, Node: TLS handshake, Next: Data transfer and termination, Prev: Setting up the transport layer, Up: How to use GnuTLS in applications
|
79
|
+
|
80
|
+
6.6 TLS handshake
|
81
|
+
=================
|
82
|
+
|
83
|
+
Once a session has been initialized and a network connection has been
|
84
|
+
set up, TLS and DTLS protocols perform a handshake. The handshake is
|
85
|
+
the actual key exchange.
|
86
|
+
|
87
|
+
-- Function: int gnutls_handshake (gnutls_session_t SESSION)
|
88
|
+
SESSION: is a `gnutls_session_t' structure.
|
89
|
+
|
90
|
+
This function does the handshake of the TLS/SSL protocol, and
|
91
|
+
initializes the TLS connection.
|
92
|
+
|
93
|
+
This function will fail if any problem is encountered, and will
|
94
|
+
return a negative error code. In case of a client, if the client
|
95
|
+
has asked to resume a session, but the server couldn't, then a
|
96
|
+
full handshake will be performed.
|
97
|
+
|
98
|
+
The non-fatal errors such as `GNUTLS_E_AGAIN' and
|
99
|
+
`GNUTLS_E_INTERRUPTED' interrupt the handshake procedure, which
|
100
|
+
should be resumed later. Call this function again, until it
|
101
|
+
returns 0; cf. `gnutls_record_get_direction()' and
|
102
|
+
`gnutls_error_is_fatal()' .
|
103
|
+
|
104
|
+
If this function is called by a server after a rehandshake request
|
105
|
+
then `GNUTLS_E_GOT_APPLICATION_DATA' or
|
106
|
+
`GNUTLS_E_WARNING_ALERT_RECEIVED' may be returned. Note that
|
107
|
+
these are non fatal errors, only in the specific case of a
|
108
|
+
rehandshake. Their meaning is that the client rejected the
|
109
|
+
rehandshake request or in the case of
|
110
|
+
`GNUTLS_E_GOT_APPLICATION_DATA' it might also mean that some data
|
111
|
+
were pending.
|
112
|
+
|
113
|
+
*Returns:* `GNUTLS_E_SUCCESS' on success, otherwise a negative
|
114
|
+
error code.
|
115
|
+
|
116
|
+
-- Function: void gnutls_handshake_set_timeout (gnutls_session_t
|
117
|
+
SESSION, unsigned int MS)
|
118
|
+
SESSION: is a `gnutls_session_t' structure.
|
119
|
+
|
120
|
+
MS: is a timeout value in milliseconds
|
121
|
+
|
122
|
+
This function sets the timeout for the handshake process to the
|
123
|
+
provided value. Use an `ms' value of zero to disable timeout.
|
124
|
+
|
125
|
+
Note that in order for the timeout to be enforced
|
126
|
+
`gnutls_transport_set_pull_timeout_function()' must be set (it is
|
127
|
+
set by default in most systems).
|
128
|
+
|
129
|
+
The handshake process doesn't ensure the verification of the peer's
|
130
|
+
identity. When certificates are in use, this can be done, either after
|
131
|
+
the handshake is complete, or during the handshake if *note
|
132
|
+
gnutls_certificate_set_verify_function:: has been used. In both cases
|
133
|
+
the *note gnutls_certificate_verify_peers2:: function can be used to
|
134
|
+
verify the peer's certificate (see *note Certificate authentication::
|
135
|
+
for more information).
|
136
|
+
|
137
|
+
`INT *note gnutls_certificate_verify_peers2:: (gnutls_session_t SESSION, unsigned int * STATUS)'
|
138
|
+
|
139
|
+
|
140
|
+
File: gnutls.info, Node: Data transfer and termination, Next: Buffered data transfer, Prev: TLS handshake, Up: How to use GnuTLS in applications
|
141
|
+
|
142
|
+
6.7 Data transfer and termination
|
34
143
|
=================================
|
35
144
|
|
36
145
|
Once the handshake is complete and peer's identity has been verified
|
@@ -211,9 +320,47 @@ can be deinitialized with the *note gnutls_deinit:: function.
|
|
211
320
|
database if the session was terminated abnormally.
|
212
321
|
|
213
322
|
|
214
|
-
File: gnutls.info, Node:
|
323
|
+
File: gnutls.info, Node: Buffered data transfer, Next: Handling alerts, Prev: Data transfer and termination, Up: How to use GnuTLS in applications
|
324
|
+
|
325
|
+
6.8 Buffered data transfer
|
326
|
+
==========================
|
215
327
|
|
216
|
-
|
328
|
+
Although *note gnutls_record_send:: is sufficient to transmit data to
|
329
|
+
the peer, when many small chunks of data are to be transmitted it is
|
330
|
+
inefficient and wastes bandwidth due to the TLS record overhead. In
|
331
|
+
that case it is preferrable to combine the small chunks before
|
332
|
+
transmission. The following functions provide that functionality.
|
333
|
+
|
334
|
+
-- Function: void gnutls_record_cork (gnutls_session_t SESSION)
|
335
|
+
SESSION: is a `gnutls_session_t' structure.
|
336
|
+
|
337
|
+
If called `gnutls_record_send()' will no longer send partial
|
338
|
+
records. All queued records will be sent when `gnutls_uncork()'
|
339
|
+
is called, or when the maximum record size is reached.
|
340
|
+
|
341
|
+
*Since:* 3.1.9
|
342
|
+
|
343
|
+
-- Function: int gnutls_record_uncork (gnutls_session_t SESSION,
|
344
|
+
unsigned int FLAGS)
|
345
|
+
SESSION: is a `gnutls_session_t' structure.
|
346
|
+
|
347
|
+
FLAGS: Could be zero or `GNUTLS_RECORD_WAIT'
|
348
|
+
|
349
|
+
This resets the effect of `gnutls_cork()' , and flushes any pending
|
350
|
+
data. If the `GNUTLS_RECORD_WAIT' flag is specified then this
|
351
|
+
function will block until the data is sent or a fatal error occurs
|
352
|
+
(i.e., the function will retry on `GNUTLS_E_AGAIN' and
|
353
|
+
`GNUTLS_E_INTERRUPTED' ).
|
354
|
+
|
355
|
+
*Returns:* On success the number of transmitted data is returned,
|
356
|
+
or otherwise a negative error code.
|
357
|
+
|
358
|
+
*Since:* 3.1.9
|
359
|
+
|
360
|
+
|
361
|
+
File: gnutls.info, Node: Handling alerts, Next: Priority Strings, Prev: Buffered data transfer, Up: How to use GnuTLS in applications
|
362
|
+
|
363
|
+
6.9 Handling alerts
|
217
364
|
===================
|
218
365
|
|
219
366
|
During a TLS connection alert messages may be exchanged by the two
|
@@ -295,8 +442,8 @@ The Alert Protocol::.
|
|
295
442
|
|
296
443
|
File: gnutls.info, Node: Priority Strings, Next: Selecting cryptographic key sizes, Prev: Handling alerts, Up: How to use GnuTLS in applications
|
297
444
|
|
298
|
-
|
299
|
-
|
445
|
+
6.10 Priority strings
|
446
|
+
=====================
|
300
447
|
|
301
448
|
In order to specify cipher suite preferences on a TLS session there are
|
302
449
|
priority functions that accept a string specifying the enabled for the
|
@@ -338,7 +485,7 @@ NONE Means nothing is enabled. This disables even
|
|
338
485
|
protocols and compression methods. It should be
|
339
486
|
followed by the algorithms to be enabled.
|
340
487
|
|
341
|
-
Table
|
488
|
+
Table 6.2: Supported initial keywords.
|
342
489
|
|
343
490
|
Unless the initial keyword is "NONE" the defaults (in preference order)
|
344
491
|
are for TLS protocols TLS 1.2, TLS1.1, TLS1.0, SSL3.0; for compression
|
@@ -404,7 +551,7 @@ Elliptic CURVE-SECP192R1, CURVE-SECP224R1,
|
|
404
551
|
curves CURVE-SECP256R1, CURVE-SECP384R1,
|
405
552
|
CURVE-SECP521R1. Catch all is CURVE-ALL.
|
406
553
|
|
407
|
-
Table
|
554
|
+
Table 6.3: The supported algorithm keywords in priority strings.
|
408
555
|
|
409
556
|
Note that the DHE key exchange methods are generally slower(2) than
|
410
557
|
their elliptic curves counterpart (ECDHE). Moreover the plain
|
@@ -445,7 +592,7 @@ Keyword Description
|
|
445
592
|
version record version in
|
446
593
|
client hello.
|
447
594
|
|
448
|
-
Table
|
595
|
+
Table 6.4: Special priority string keywords.
|
449
596
|
|
450
597
|
Keyword Description
|
451
598
|
------------------------------------------------------------------
|
@@ -499,7 +646,7 @@ Keyword Description
|
|
499
646
|
the certificate chain.
|
500
647
|
%VERIFY_ALLOW_X509_V1_CA_CRT will allow V1 CAs in chains.
|
501
648
|
|
502
|
-
Table
|
649
|
+
Table 6.5: More priority string keywords.
|
503
650
|
|
504
651
|
Finally the ciphersuites enabled by any priority string can be listed
|
505
652
|
using the `gnutls-cli' application (see *note gnutls-cli Invocation::),
|
@@ -534,7 +681,7 @@ key sizes:: for the acceptable security levels.
|
|
534
681
|
|
535
682
|
File: gnutls.info, Node: Selecting cryptographic key sizes, Next: Advanced topics, Prev: Priority Strings, Up: How to use GnuTLS in applications
|
536
683
|
|
537
|
-
|
684
|
+
6.11 Selecting cryptographic key sizes
|
538
685
|
======================================
|
539
686
|
|
540
687
|
Because many algorithms are involved in TLS, it is not easy to set a
|
@@ -562,7 +709,7 @@ bits and SRP key parameter
|
|
562
709
|
128 3248 256 `HIGH' Long term protection
|
563
710
|
256 15424 512 `ULTRA' Foreseeable future
|
564
711
|
|
565
|
-
Table
|
712
|
+
Table 6.6: Key sizes and security parameters.
|
566
713
|
|
567
714
|
The first column provides a security parameter in a number of bits.
|
568
715
|
This gives an indication of the number of combinations to be tried by
|
@@ -621,6 +768,8 @@ Those functions will convert a human understandable security parameter
|
|
621
768
|
of `gnutls_sec_param_t' type, to a number of bits suitable for a public
|
622
769
|
key algorithm.
|
623
770
|
|
771
|
+
`CONST CHAR * *note gnutls_sec_param_get_name:: (gnutls_sec_param_t PARAM)'
|
772
|
+
|
624
773
|
The following functions will set the minimum acceptable group size for
|
625
774
|
Diffie-Hellman and SRP authentication.
|
626
775
|
`VOID *note gnutls_dh_set_prime_bits:: (gnutls_session_t SESSION, unsigned int BITS)'
|
@@ -630,7 +779,7 @@ Diffie-Hellman and SRP authentication.
|
|
630
779
|
|
631
780
|
File: gnutls.info, Node: Advanced topics, Prev: Selecting cryptographic key sizes, Up: How to use GnuTLS in applications
|
632
781
|
|
633
|
-
|
782
|
+
6.12 Advanced topics
|
634
783
|
====================
|
635
784
|
|
636
785
|
* Menu:
|
@@ -646,7 +795,7 @@ File: gnutls.info, Node: Advanced topics, Prev: Selecting cryptographic key si
|
|
646
795
|
|
647
796
|
File: gnutls.info, Node: Session resumption, Next: Certificate verification, Up: Advanced topics
|
648
797
|
|
649
|
-
|
798
|
+
6.12.1 Session resumption
|
650
799
|
-------------------------
|
651
800
|
|
652
801
|
Client side
|
@@ -754,7 +903,7 @@ otherwise.
|
|
754
903
|
|
755
904
|
File: gnutls.info, Node: Certificate verification, Next: Parameter generation, Prev: Session resumption, Up: Advanced topics
|
756
905
|
|
757
|
-
|
906
|
+
6.12.2 Certificate verification
|
758
907
|
-------------------------------
|
759
908
|
|
760
909
|
In this section the functionality for additional certificate
|
@@ -762,7 +911,7 @@ verification methods is listed. These methods are intended to be used
|
|
762
911
|
in addition to normal PKI verification, in order to reduce the risk of
|
763
912
|
a compromised CA being undetected.
|
764
913
|
|
765
|
-
|
914
|
+
6.12.2.1 Trust on first use
|
766
915
|
...........................
|
767
916
|
|
768
917
|
The GnuTLS library includes functionlity to use an SSH-like trust on
|
@@ -902,7 +1051,7 @@ should contain storage and retrieval functions and specified as below.
|
|
902
1051
|
|
903
1052
|
`VOID *note gnutls_tdb_set_store_commitment_func:: (gnutls_tdb_t TDB, gnutls_tdb_store_commitment_func CSTORE)'
|
904
1053
|
|
905
|
-
|
1054
|
+
6.12.2.2 DANE verification
|
906
1055
|
..........................
|
907
1056
|
|
908
1057
|
Since the DANE library is not included in GnuTLS it requires programs
|
@@ -943,7 +1092,8 @@ below.
|
|
943
1092
|
|
944
1093
|
SFLAGS: Flags for the the initialization of `s' (if NULL)
|
945
1094
|
|
946
|
-
VFLAGS: Verification flags;
|
1095
|
+
VFLAGS: Verification flags; an OR'ed list of `dane_verify_flags_t'
|
1096
|
+
.
|
947
1097
|
|
948
1098
|
VERIFY: An OR'ed list of `dane_verify_status_t' .
|
949
1099
|
|
@@ -954,6 +1104,9 @@ below.
|
|
954
1104
|
available for the DANE record then the verify flag
|
955
1105
|
`DANE_VERIFY_NO_DNSSEC_DATA' is set.
|
956
1106
|
|
1107
|
+
Note that the CA constraint only applies for the directly
|
1108
|
+
certifying CA and does not account for long CA chains.
|
1109
|
+
|
957
1110
|
Due to the many possible options of DANE, there is no single threat
|
958
1111
|
model countered. When notifying the user about DANE verification
|
959
1112
|
results it may be better to mention: DANE verification did not
|
@@ -984,7 +1137,7 @@ by the verify functions to indicate the status of the verification.
|
|
984
1137
|
`DANE_VERIFY_NO_DANE_INFO'
|
985
1138
|
No DANE data were found in the DNS record.
|
986
1139
|
|
987
|
-
Figure
|
1140
|
+
Figure 6.2: The DANE verification status flags.
|
988
1141
|
|
989
1142
|
In order to generate a DANE TLSA entry to use in a DNS server you may
|
990
1143
|
use danetool (see *note danetool Invocation::).
|
@@ -992,7 +1145,7 @@ use danetool (see *note danetool Invocation::).
|
|
992
1145
|
|
993
1146
|
File: gnutls.info, Node: Parameter generation, Next: Keying Material Exporters, Prev: Certificate verification, Up: Advanced topics
|
994
1147
|
|
995
|
-
|
1148
|
+
6.12.3 Parameter generation
|
996
1149
|
---------------------------
|
997
1150
|
|
998
1151
|
Several TLS ciphersuites require additional parameters that need to be
|
@@ -1062,7 +1215,7 @@ interface is available using a callback function.
|
|
1062
1215
|
|
1063
1216
|
File: gnutls.info, Node: Keying Material Exporters, Next: Channel Bindings, Prev: Parameter generation, Up: Advanced topics
|
1064
1217
|
|
1065
|
-
|
1218
|
+
6.12.4 Keying material exporters
|
1066
1219
|
--------------------------------
|
1067
1220
|
|
1068
1221
|
The TLS PRF can be used by other protocols to derive keys based on the
|
@@ -1087,7 +1240,7 @@ low-level TLS PRF interface called *note gnutls_prf_raw::.
|
|
1087
1240
|
|
1088
1241
|
File: gnutls.info, Node: Channel Bindings, Next: Interoperability, Prev: Keying Material Exporters, Up: Advanced topics
|
1089
1242
|
|
1090
|
-
|
1243
|
+
6.12.5 Channel bindings
|
1091
1244
|
-----------------------
|
1092
1245
|
|
1093
1246
|
In user authentication protocols (e.g., EAP or SASL mechanisms) it is
|
@@ -1128,7 +1281,7 @@ Note that it must be run after a successful TLS handshake.
|
|
1128
1281
|
|
1129
1282
|
File: gnutls.info, Node: Interoperability, Next: Compatibility with the OpenSSL library, Prev: Channel Bindings, Up: Advanced topics
|
1130
1283
|
|
1131
|
-
|
1284
|
+
6.12.6 Interoperability
|
1132
1285
|
-----------------------
|
1133
1286
|
|
1134
1287
|
The TLS protocols support many ciphersuites, extensions and version
|
@@ -1160,7 +1313,7 @@ NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:-CIPHER-ALL:+ARCFOUR-128:%COMPAT
|
|
1160
1313
|
|
1161
1314
|
File: gnutls.info, Node: Compatibility with the OpenSSL library, Prev: Interoperability, Up: Advanced topics
|
1162
1315
|
|
1163
|
-
|
1316
|
+
6.12.7 Compatibility with the OpenSSL library
|
1164
1317
|
---------------------------------------------
|
1165
1318
|
|
1166
1319
|
To ease GnuTLS' integration with existing applications, a compatibility
|
@@ -1179,7 +1332,7 @@ compatibility layer include:
|
|
1179
1332
|
|
1180
1333
|
File: gnutls.info, Node: GnuTLS application examples, Next: Using GnuTLS as a cryptographic library, Prev: How to use GnuTLS in applications, Up: Top
|
1181
1334
|
|
1182
|
-
|
1335
|
+
7 GnuTLS application examples
|
1183
1336
|
*****************************
|
1184
1337
|
|
1185
1338
|
In this chapter several examples of real-world use cases are listed.
|
@@ -1192,11 +1345,12 @@ no error checking.
|
|
1192
1345
|
* Server examples::
|
1193
1346
|
* OCSP example::
|
1194
1347
|
* Miscellaneous examples::
|
1348
|
+
* XSSL examples::
|
1195
1349
|
|
1196
1350
|
|
1197
1351
|
File: gnutls.info, Node: Client examples, Next: Server examples, Up: GnuTLS application examples
|
1198
1352
|
|
1199
|
-
|
1353
|
+
7.1 Client examples
|
1200
1354
|
===================
|
1201
1355
|
|
1202
1356
|
This section contains examples of TLS and SSL clients, using GnuTLS.
|
@@ -1222,7 +1376,7 @@ example.
|
|
1222
1376
|
|
1223
1377
|
File: gnutls.info, Node: Simple client example with X.509 certificate support, Next: Simple client example with SSH-style certificate verification, Up: Client examples
|
1224
1378
|
|
1225
|
-
|
1379
|
+
7.1.1 Simple client example with X.509 certificate support
|
1226
1380
|
----------------------------------------------------------
|
1227
1381
|
|
1228
1382
|
Let's assume now that we want to create a TCP client which communicates
|
@@ -1245,7 +1399,7 @@ resumption.
|
|
1245
1399
|
#include "examples.h"
|
1246
1400
|
|
1247
1401
|
/* A very basic TLS client, with X.509 authentication and server certificate
|
1248
|
-
* verification. Note that error checking for missing files etc. is
|
1402
|
+
* verification. Note that error checking for missing files etc. is omitted
|
1249
1403
|
* for simplicity.
|
1250
1404
|
*/
|
1251
1405
|
|
@@ -1310,7 +1464,7 @@ int main (void)
|
|
1310
1464
|
*/
|
1311
1465
|
sd = tcp_connect ();
|
1312
1466
|
|
1313
|
-
|
1467
|
+
gnutls_transport_set_int (session, sd);
|
1314
1468
|
gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
|
1315
1469
|
|
1316
1470
|
/* Perform the TLS handshake
|
@@ -1329,7 +1483,11 @@ int main (void)
|
|
1329
1483
|
}
|
1330
1484
|
else
|
1331
1485
|
{
|
1332
|
-
|
1486
|
+
char* desc;
|
1487
|
+
|
1488
|
+
desc = gnutls_session_get_desc(session);
|
1489
|
+
printf ("- Session info: %s\n", desc);
|
1490
|
+
gnutls_free(desc);
|
1333
1491
|
}
|
1334
1492
|
|
1335
1493
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -1340,18 +1498,25 @@ int main (void)
|
|
1340
1498
|
printf ("- Peer has closed the TLS connection\n");
|
1341
1499
|
goto end;
|
1342
1500
|
}
|
1501
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
1502
|
+
{
|
1503
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
1504
|
+
}
|
1343
1505
|
else if (ret < 0)
|
1344
1506
|
{
|
1345
1507
|
fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
|
1346
1508
|
goto end;
|
1347
1509
|
}
|
1348
1510
|
|
1349
|
-
|
1350
|
-
for (ii = 0; ii < ret; ii++)
|
1511
|
+
if (ret > 0)
|
1351
1512
|
{
|
1352
|
-
|
1513
|
+
printf ("- Received %d bytes: ", ret);
|
1514
|
+
for (ii = 0; ii < ret; ii++)
|
1515
|
+
{
|
1516
|
+
fputc (buffer[ii], stdout);
|
1517
|
+
}
|
1518
|
+
fputs ("\n", stdout);
|
1353
1519
|
}
|
1354
|
-
fputs ("\n", stdout);
|
1355
1520
|
|
1356
1521
|
gnutls_bye (session, GNUTLS_SHUT_RDWR);
|
1357
1522
|
|
@@ -1415,7 +1580,7 @@ _verify_certificate_callback (gnutls_session_t session)
|
|
1415
1580
|
|
1416
1581
|
File: gnutls.info, Node: Simple client example with SSH-style certificate verification, Next: Simple client example with anonymous authentication, Prev: Simple client example with X.509 certificate support, Up: Client examples
|
1417
1582
|
|
1418
|
-
|
1583
|
+
7.1.2 Simple client example with SSH-style certificate verification
|
1419
1584
|
-------------------------------------------------------------------
|
1420
1585
|
|
1421
1586
|
This is an alternative verification function that will use the X.509
|
@@ -1539,7 +1704,7 @@ _ssh_verify_certificate_callback (gnutls_session_t session)
|
|
1539
1704
|
|
1540
1705
|
File: gnutls.info, Node: Simple client example with anonymous authentication, Next: Simple Datagram TLS client example, Prev: Simple client example with SSH-style certificate verification, Up: Client examples
|
1541
1706
|
|
1542
|
-
|
1707
|
+
7.1.3 Simple client example with anonymous authentication
|
1543
1708
|
---------------------------------------------------------
|
1544
1709
|
|
1545
1710
|
The simplest client using TLS is the one that doesn't do any
|
@@ -1605,7 +1770,7 @@ main (void)
|
|
1605
1770
|
*/
|
1606
1771
|
sd = tcp_connect ();
|
1607
1772
|
|
1608
|
-
|
1773
|
+
gnutls_transport_set_int (session, sd);
|
1609
1774
|
gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
|
1610
1775
|
|
1611
1776
|
/* Perform the TLS handshake
|
@@ -1624,7 +1789,11 @@ main (void)
|
|
1624
1789
|
}
|
1625
1790
|
else
|
1626
1791
|
{
|
1627
|
-
|
1792
|
+
char* desc;
|
1793
|
+
|
1794
|
+
desc = gnutls_session_get_desc(session);
|
1795
|
+
printf ("- Session info: %s\n", desc);
|
1796
|
+
gnutls_free(desc);
|
1628
1797
|
}
|
1629
1798
|
|
1630
1799
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -1635,18 +1804,25 @@ main (void)
|
|
1635
1804
|
printf ("- Peer has closed the TLS connection\n");
|
1636
1805
|
goto end;
|
1637
1806
|
}
|
1807
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
1808
|
+
{
|
1809
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
1810
|
+
}
|
1638
1811
|
else if (ret < 0)
|
1639
1812
|
{
|
1640
1813
|
fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
|
1641
1814
|
goto end;
|
1642
1815
|
}
|
1643
1816
|
|
1644
|
-
|
1645
|
-
for (ii = 0; ii < ret; ii++)
|
1817
|
+
if (ret > 0)
|
1646
1818
|
{
|
1647
|
-
|
1819
|
+
printf ("- Received %d bytes: ", ret);
|
1820
|
+
for (ii = 0; ii < ret; ii++)
|
1821
|
+
{
|
1822
|
+
fputc (buffer[ii], stdout);
|
1823
|
+
}
|
1824
|
+
fputs ("\n", stdout);
|
1648
1825
|
}
|
1649
|
-
fputs ("\n", stdout);
|
1650
1826
|
|
1651
1827
|
gnutls_bye (session, GNUTLS_SHUT_RDWR);
|
1652
1828
|
|
@@ -1666,7 +1842,7 @@ end:
|
|
1666
1842
|
|
1667
1843
|
File: gnutls.info, Node: Simple Datagram TLS client example, Next: Obtaining session information, Prev: Simple client example with anonymous authentication, Up: Client examples
|
1668
1844
|
|
1669
|
-
|
1845
|
+
7.1.4 Simple datagram TLS client example
|
1670
1846
|
----------------------------------------
|
1671
1847
|
|
1672
1848
|
This is a client that uses UDP to connect to a server. This is the DTLS
|
@@ -1739,7 +1915,7 @@ main (void)
|
|
1739
1915
|
/* connect to the peer */
|
1740
1916
|
sd = udp_connect ();
|
1741
1917
|
|
1742
|
-
|
1918
|
+
gnutls_transport_set_int (session, sd);
|
1743
1919
|
|
1744
1920
|
/* set the connection MTU */
|
1745
1921
|
gnutls_dtls_set_mtu (session, 1000);
|
@@ -1750,7 +1926,8 @@ main (void)
|
|
1750
1926
|
{
|
1751
1927
|
ret = gnutls_handshake (session);
|
1752
1928
|
}
|
1753
|
-
while (ret
|
1929
|
+
while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
|
1930
|
+
/* Note that DTLS may also receive GNUTLS_E_LARGE_PACKET */
|
1754
1931
|
|
1755
1932
|
if (ret < 0)
|
1756
1933
|
{
|
@@ -1760,7 +1937,11 @@ main (void)
|
|
1760
1937
|
}
|
1761
1938
|
else
|
1762
1939
|
{
|
1763
|
-
|
1940
|
+
char* desc;
|
1941
|
+
|
1942
|
+
desc = gnutls_session_get_desc(session);
|
1943
|
+
printf ("- Session info: %s\n", desc);
|
1944
|
+
gnutls_free(desc);
|
1764
1945
|
}
|
1765
1946
|
|
1766
1947
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -1771,18 +1952,25 @@ main (void)
|
|
1771
1952
|
printf ("- Peer has closed the TLS connection\n");
|
1772
1953
|
goto end;
|
1773
1954
|
}
|
1955
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
1956
|
+
{
|
1957
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
1958
|
+
}
|
1774
1959
|
else if (ret < 0)
|
1775
1960
|
{
|
1776
1961
|
fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
|
1777
1962
|
goto end;
|
1778
1963
|
}
|
1779
1964
|
|
1780
|
-
|
1781
|
-
for (ii = 0; ii < ret; ii++)
|
1965
|
+
if (ret > 0)
|
1782
1966
|
{
|
1783
|
-
|
1967
|
+
printf ("- Received %d bytes: ", ret);
|
1968
|
+
for (ii = 0; ii < ret; ii++)
|
1969
|
+
{
|
1970
|
+
fputc (buffer[ii], stdout);
|
1971
|
+
}
|
1972
|
+
fputs ("\n", stdout);
|
1784
1973
|
}
|
1785
|
-
fputs ("\n", stdout);
|
1786
1974
|
|
1787
1975
|
/* It is suggested not to use GNUTLS_SHUT_RDWR in DTLS
|
1788
1976
|
* connections because the peer's closure message might
|
@@ -1805,7 +1993,7 @@ end:
|
|
1805
1993
|
|
1806
1994
|
File: gnutls.info, Node: Obtaining session information, Next: Using a callback to select the certificate to use, Prev: Simple Datagram TLS client example, Up: Client examples
|
1807
1995
|
|
1808
|
-
|
1996
|
+
7.1.5 Obtaining session information
|
1809
1997
|
-----------------------------------
|
1810
1998
|
|
1811
1999
|
Most of the times it is desirable to know the security properties of
|
@@ -1950,7 +2138,7 @@ print_info (gnutls_session_t session)
|
|
1950
2138
|
|
1951
2139
|
File: gnutls.info, Node: Using a callback to select the certificate to use, Next: Verifying a certificate, Prev: Obtaining session information, Up: Client examples
|
1952
2140
|
|
1953
|
-
|
2141
|
+
7.1.6 Using a callback to select the certificate to use
|
1954
2142
|
-------------------------------------------------------
|
1955
2143
|
|
1956
2144
|
There are cases where a client holds several certificate and key pairs,
|
@@ -2089,7 +2277,7 @@ main (void)
|
|
2089
2277
|
*/
|
2090
2278
|
sd = tcp_connect ();
|
2091
2279
|
|
2092
|
-
|
2280
|
+
gnutls_transport_set_int (session, sd);
|
2093
2281
|
|
2094
2282
|
/* Perform the TLS handshake
|
2095
2283
|
*/
|
@@ -2103,7 +2291,11 @@ main (void)
|
|
2103
2291
|
}
|
2104
2292
|
else
|
2105
2293
|
{
|
2106
|
-
|
2294
|
+
char* desc;
|
2295
|
+
|
2296
|
+
desc = gnutls_session_get_desc(session);
|
2297
|
+
printf ("- Session info: %s\n", desc);
|
2298
|
+
gnutls_free(desc);
|
2107
2299
|
}
|
2108
2300
|
|
2109
2301
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -2204,7 +2396,7 @@ cert_callback (gnutls_session_t session,
|
|
2204
2396
|
|
2205
2397
|
File: gnutls.info, Node: Verifying a certificate, Next: Client using a smart card with TLS, Prev: Using a callback to select the certificate to use, Up: Client examples
|
2206
2398
|
|
2207
|
-
|
2399
|
+
7.1.7 Verifying a certificate
|
2208
2400
|
-----------------------------
|
2209
2401
|
|
2210
2402
|
An example is listed below which uses the high level verification
|
@@ -2361,7 +2553,7 @@ print_details_func (gnutls_x509_crt_t cert,
|
|
2361
2553
|
|
2362
2554
|
File: gnutls.info, Node: Client using a smart card with TLS, Next: Client with Resume capability example, Prev: Verifying a certificate, Up: Client examples
|
2363
2555
|
|
2364
|
-
|
2556
|
+
7.1.8 Using a smart card with TLS
|
2365
2557
|
---------------------------------
|
2366
2558
|
|
2367
2559
|
This example will demonstrate how to load keys and certificates from a
|
@@ -2483,7 +2675,7 @@ main (void)
|
|
2483
2675
|
*/
|
2484
2676
|
sd = tcp_connect ();
|
2485
2677
|
|
2486
|
-
|
2678
|
+
gnutls_transport_set_int (session, sd);
|
2487
2679
|
|
2488
2680
|
/* Perform the TLS handshake
|
2489
2681
|
*/
|
@@ -2497,7 +2689,11 @@ main (void)
|
|
2497
2689
|
}
|
2498
2690
|
else
|
2499
2691
|
{
|
2500
|
-
|
2692
|
+
char* desc;
|
2693
|
+
|
2694
|
+
desc = gnutls_session_get_desc(session);
|
2695
|
+
printf ("- Session info: %s\n", desc);
|
2696
|
+
gnutls_free(desc);
|
2501
2697
|
}
|
2502
2698
|
|
2503
2699
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -2540,7 +2736,7 @@ end:
|
|
2540
2736
|
|
2541
2737
|
File: gnutls.info, Node: Client with Resume capability example, Next: Simple client example with SRP authentication, Prev: Client using a smart card with TLS, Up: Client examples
|
2542
2738
|
|
2543
|
-
|
2739
|
+
7.1.9 Client with resume capability example
|
2544
2740
|
-------------------------------------------
|
2545
2741
|
|
2546
2742
|
This is a modification of the simple client example. Here we
|
@@ -2609,7 +2805,7 @@ main (void)
|
|
2609
2805
|
free (session_data);
|
2610
2806
|
}
|
2611
2807
|
|
2612
|
-
|
2808
|
+
gnutls_transport_set_int (session, sd);
|
2613
2809
|
gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
|
2614
2810
|
|
2615
2811
|
/* Perform the TLS handshake
|
@@ -2667,18 +2863,25 @@ main (void)
|
|
2667
2863
|
printf ("- Peer has closed the TLS connection\n");
|
2668
2864
|
goto end;
|
2669
2865
|
}
|
2866
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
2867
|
+
{
|
2868
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
2869
|
+
}
|
2670
2870
|
else if (ret < 0)
|
2671
2871
|
{
|
2672
2872
|
fprintf (stderr, "*** Error: %s\n", gnutls_strerror (ret));
|
2673
2873
|
goto end;
|
2674
2874
|
}
|
2675
2875
|
|
2676
|
-
|
2677
|
-
for (ii = 0; ii < ret; ii++)
|
2876
|
+
if (ret > 0)
|
2678
2877
|
{
|
2679
|
-
|
2878
|
+
printf ("- Received %d bytes: ", ret);
|
2879
|
+
for (ii = 0; ii < ret; ii++)
|
2880
|
+
{
|
2881
|
+
fputc (buffer[ii], stdout);
|
2882
|
+
}
|
2883
|
+
fputs ("\n", stdout);
|
2680
2884
|
}
|
2681
|
-
fputs ("\n", stdout);
|
2682
2885
|
|
2683
2886
|
gnutls_bye (session, GNUTLS_SHUT_RDWR);
|
2684
2887
|
|
@@ -2700,7 +2903,7 @@ main (void)
|
|
2700
2903
|
|
2701
2904
|
File: gnutls.info, Node: Simple client example with SRP authentication, Next: Simple client example in C++, Prev: Client with Resume capability example, Up: Client examples
|
2702
2905
|
|
2703
|
-
|
2906
|
+
7.1.10 Simple client example with SRP authentication
|
2704
2907
|
----------------------------------------------------
|
2705
2908
|
|
2706
2909
|
The following client is a very simple SRP TLS client which connects to
|
@@ -2768,7 +2971,7 @@ main (void)
|
|
2768
2971
|
gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
|
2769
2972
|
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
|
2770
2973
|
|
2771
|
-
|
2974
|
+
gnutls_transport_set_int (session, sd);
|
2772
2975
|
gnutls_handshake_set_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
|
2773
2976
|
|
2774
2977
|
/* Perform the TLS handshake
|
@@ -2787,7 +2990,11 @@ main (void)
|
|
2787
2990
|
}
|
2788
2991
|
else
|
2789
2992
|
{
|
2790
|
-
|
2993
|
+
char* desc;
|
2994
|
+
|
2995
|
+
desc = gnutls_session_get_desc(session);
|
2996
|
+
printf ("- Session info: %s\n", desc);
|
2997
|
+
gnutls_free(desc);
|
2791
2998
|
}
|
2792
2999
|
|
2793
3000
|
gnutls_record_send (session, MSG, strlen (MSG));
|
@@ -2837,7 +3044,7 @@ end:
|
|
2837
3044
|
|
2838
3045
|
File: gnutls.info, Node: Simple client example in C++, Next: Helper functions for TCP connections, Prev: Simple client example with SRP authentication, Up: Client examples
|
2839
3046
|
|
2840
|
-
|
3047
|
+
7.1.11 Simple client example using the C++ API
|
2841
3048
|
----------------------------------------------
|
2842
3049
|
|
2843
3050
|
The following client is a simple example of a client client utilizing
|
@@ -2944,7 +3151,7 @@ int main(void)
|
|
2944
3151
|
|
2945
3152
|
File: gnutls.info, Node: Helper functions for TCP connections, Next: Helper functions for UDP connections, Prev: Simple client example in C++, Up: Client examples
|
2946
3153
|
|
2947
|
-
|
3154
|
+
7.1.12 Helper functions for TCP connections
|
2948
3155
|
-------------------------------------------
|
2949
3156
|
|
2950
3157
|
Those helper function abstract away TCP connection handling from the
|
@@ -3011,7 +3218,7 @@ tcp_close (int sd)
|
|
3011
3218
|
|
3012
3219
|
File: gnutls.info, Node: Helper functions for UDP connections, Prev: Helper functions for TCP connections, Up: Client examples
|
3013
3220
|
|
3014
|
-
|
3221
|
+
7.1.13 Helper functions for UDP connections
|
3015
3222
|
-------------------------------------------
|
3016
3223
|
|
3017
3224
|
The UDP helper functions abstract away UDP connection handling from the
|
@@ -3087,7 +3294,7 @@ udp_close (int sd)
|
|
3087
3294
|
|
3088
3295
|
File: gnutls.info, Node: Server examples, Next: OCSP example, Prev: Client examples, Up: GnuTLS application examples
|
3089
3296
|
|
3090
|
-
|
3297
|
+
7.2 Server examples
|
3091
3298
|
===================
|
3092
3299
|
|
3093
3300
|
This section contains examples of TLS and SSL servers, using GnuTLS.
|
@@ -3103,7 +3310,7 @@ This section contains examples of TLS and SSL servers, using GnuTLS.
|
|
3103
3310
|
|
3104
3311
|
File: gnutls.info, Node: Echo server with X.509 authentication, Next: Echo server with OpenPGP authentication, Up: Server examples
|
3105
3312
|
|
3106
|
-
|
3313
|
+
7.2.1 Echo server with X.509 authentication
|
3107
3314
|
-------------------------------------------
|
3108
3315
|
|
3109
3316
|
This example is a very simple echo server which supports X.509
|
@@ -3138,34 +3345,13 @@ authentication.
|
|
3138
3345
|
#define PORT 5556 /* listen to 5556 port */
|
3139
3346
|
|
3140
3347
|
/* These are global */
|
3141
|
-
gnutls_certificate_credentials_t x509_cred;
|
3142
|
-
gnutls_priority_t priority_cache;
|
3143
|
-
|
3144
|
-
static gnutls_session_t
|
3145
|
-
initialize_tls_session (void)
|
3146
|
-
{
|
3147
|
-
gnutls_session_t session;
|
3148
|
-
|
3149
|
-
gnutls_init (&session, GNUTLS_SERVER);
|
3150
|
-
|
3151
|
-
gnutls_priority_set (session, priority_cache);
|
3152
|
-
|
3153
|
-
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
3154
|
-
|
3155
|
-
/* We don't request any certificate from the client.
|
3156
|
-
* If we did we would need to verify it.
|
3157
|
-
*/
|
3158
|
-
gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
|
3159
|
-
|
3160
|
-
return session;
|
3161
|
-
}
|
3162
|
-
|
3163
3348
|
static gnutls_dh_params_t dh_params;
|
3164
3349
|
|
3165
3350
|
static int
|
3166
3351
|
generate_dh_params (void)
|
3167
3352
|
{
|
3168
|
-
int bits =
|
3353
|
+
unsigned int bits =
|
3354
|
+
gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
|
3169
3355
|
|
3170
3356
|
/* Generate Diffie-Hellman parameters - for use with DHE
|
3171
3357
|
* kx algorithms. When short bit length is used, it might
|
@@ -3182,6 +3368,8 @@ main (void)
|
|
3182
3368
|
{
|
3183
3369
|
int listen_sd;
|
3184
3370
|
int sd, ret;
|
3371
|
+
gnutls_certificate_credentials_t x509_cred;
|
3372
|
+
gnutls_priority_t priority_cache;
|
3185
3373
|
struct sockaddr_in sa_serv;
|
3186
3374
|
struct sockaddr_in sa_cli;
|
3187
3375
|
socklen_t client_len;
|
@@ -3238,7 +3426,13 @@ main (void)
|
|
3238
3426
|
client_len = sizeof (sa_cli);
|
3239
3427
|
for (;;)
|
3240
3428
|
{
|
3241
|
-
session
|
3429
|
+
gnutls_init (&session, GNUTLS_SERVER);
|
3430
|
+
gnutls_priority_set (session, priority_cache);
|
3431
|
+
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
3432
|
+
/* We don't request any certificate from the client.
|
3433
|
+
* If we did we would need to verify it.
|
3434
|
+
*/
|
3435
|
+
gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
|
3242
3436
|
|
3243
3437
|
sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
|
3244
3438
|
|
@@ -3246,7 +3440,7 @@ main (void)
|
|
3246
3440
|
inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
|
3247
3441
|
sizeof (topbuf)), ntohs (sa_cli.sin_port));
|
3248
3442
|
|
3249
|
-
|
3443
|
+
gnutls_transport_set_int (session, sd);
|
3250
3444
|
|
3251
3445
|
do
|
3252
3446
|
{
|
@@ -3269,7 +3463,6 @@ main (void)
|
|
3269
3463
|
|
3270
3464
|
for (;;)
|
3271
3465
|
{
|
3272
|
-
memset (buffer, 0, MAX_BUF + 1);
|
3273
3466
|
ret = gnutls_record_recv (session, buffer, MAX_BUF);
|
3274
3467
|
|
3275
3468
|
if (ret == 0)
|
@@ -3277,6 +3470,10 @@ main (void)
|
|
3277
3470
|
printf ("\n- Peer has closed the GnuTLS connection\n");
|
3278
3471
|
break;
|
3279
3472
|
}
|
3473
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
3474
|
+
{
|
3475
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
3476
|
+
}
|
3280
3477
|
else if (ret < 0)
|
3281
3478
|
{
|
3282
3479
|
fprintf (stderr, "\n*** Received corrupted "
|
@@ -3287,7 +3484,7 @@ main (void)
|
|
3287
3484
|
{
|
3288
3485
|
/* echo data back to the client
|
3289
3486
|
*/
|
3290
|
-
gnutls_record_send (session, buffer,
|
3487
|
+
gnutls_record_send (session, buffer, ret);
|
3291
3488
|
}
|
3292
3489
|
}
|
3293
3490
|
printf ("\n");
|
@@ -3313,7 +3510,7 @@ main (void)
|
|
3313
3510
|
|
3314
3511
|
File: gnutls.info, Node: Echo server with OpenPGP authentication, Next: Echo server with SRP authentication, Prev: Echo server with X.509 authentication, Up: Server examples
|
3315
3512
|
|
3316
|
-
|
3513
|
+
7.2.2 Echo server with OpenPGP authentication
|
3317
3514
|
---------------------------------------------
|
3318
3515
|
|
3319
3516
|
The following example is an echo server which supports OpenPGP key
|
@@ -3350,15 +3547,15 @@ we separated them to keep these examples as simple as possible.
|
|
3350
3547
|
#define SOCKET_ERR(err,s) if(err==-1) {perror(s);return(1);}
|
3351
3548
|
#define MAX_BUF 1024
|
3352
3549
|
#define PORT 5556 /* listen to 5556 port */
|
3353
|
-
#define DH_BITS 1024
|
3354
3550
|
|
3355
3551
|
/* These are global */
|
3356
|
-
gnutls_certificate_credentials_t cred;
|
3357
3552
|
gnutls_dh_params_t dh_params;
|
3358
3553
|
|
3359
3554
|
static int
|
3360
3555
|
generate_dh_params (void)
|
3361
3556
|
{
|
3557
|
+
unsigned int bits =
|
3558
|
+
gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
|
3362
3559
|
|
3363
3560
|
/* Generate Diffie-Hellman parameters - for use with DHE
|
3364
3561
|
* kx algorithms. These should be discarded and regenerated
|
@@ -3366,29 +3563,11 @@ generate_dh_params (void)
|
|
3366
3563
|
* security requirements.
|
3367
3564
|
*/
|
3368
3565
|
gnutls_dh_params_init (&dh_params);
|
3369
|
-
gnutls_dh_params_generate2 (dh_params,
|
3566
|
+
gnutls_dh_params_generate2 (dh_params, bits);
|
3370
3567
|
|
3371
3568
|
return 0;
|
3372
3569
|
}
|
3373
3570
|
|
3374
|
-
static gnutls_session_t
|
3375
|
-
initialize_tls_session (void)
|
3376
|
-
{
|
3377
|
-
gnutls_session_t session;
|
3378
|
-
|
3379
|
-
gnutls_init (&session, GNUTLS_SERVER);
|
3380
|
-
|
3381
|
-
gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
|
3382
|
-
|
3383
|
-
/* request client certificate if any.
|
3384
|
-
*/
|
3385
|
-
gnutls_certificate_server_set_request (session, GNUTLS_CERT_REQUEST);
|
3386
|
-
|
3387
|
-
gnutls_dh_set_prime_bits (session, DH_BITS);
|
3388
|
-
|
3389
|
-
return session;
|
3390
|
-
}
|
3391
|
-
|
3392
3571
|
int
|
3393
3572
|
main (void)
|
3394
3573
|
{
|
@@ -3399,6 +3578,7 @@ main (void)
|
|
3399
3578
|
socklen_t client_len;
|
3400
3579
|
char topbuf[512];
|
3401
3580
|
gnutls_session_t session;
|
3581
|
+
gnutls_certificate_credentials_t cred;
|
3402
3582
|
char buffer[MAX_BUF + 1];
|
3403
3583
|
int optval = 1;
|
3404
3584
|
char name[256];
|
@@ -3443,7 +3623,12 @@ main (void)
|
|
3443
3623
|
client_len = sizeof (sa_cli);
|
3444
3624
|
for (;;)
|
3445
3625
|
{
|
3446
|
-
session
|
3626
|
+
gnutls_init (&session, GNUTLS_SERVER);
|
3627
|
+
gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
|
3628
|
+
|
3629
|
+
/* request client certificate if any.
|
3630
|
+
*/
|
3631
|
+
gnutls_certificate_server_set_request (session, GNUTLS_CERT_REQUEST);
|
3447
3632
|
|
3448
3633
|
sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
|
3449
3634
|
|
@@ -3451,7 +3636,7 @@ main (void)
|
|
3451
3636
|
inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
|
3452
3637
|
sizeof (topbuf)), ntohs (sa_cli.sin_port));
|
3453
3638
|
|
3454
|
-
|
3639
|
+
gnutls_transport_set_int (session, sd);
|
3455
3640
|
ret = gnutls_handshake (session);
|
3456
3641
|
if (ret < 0)
|
3457
3642
|
{
|
@@ -3468,7 +3653,6 @@ main (void)
|
|
3468
3653
|
|
3469
3654
|
for (;;)
|
3470
3655
|
{
|
3471
|
-
memset (buffer, 0, MAX_BUF + 1);
|
3472
3656
|
ret = gnutls_record_recv (session, buffer, MAX_BUF);
|
3473
3657
|
|
3474
3658
|
if (ret == 0)
|
@@ -3476,6 +3660,10 @@ main (void)
|
|
3476
3660
|
printf ("\n- Peer has closed the GnuTLS connection\n");
|
3477
3661
|
break;
|
3478
3662
|
}
|
3663
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
3664
|
+
{
|
3665
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
3666
|
+
}
|
3479
3667
|
else if (ret < 0)
|
3480
3668
|
{
|
3481
3669
|
fprintf (stderr, "\n*** Received corrupted "
|
@@ -3486,7 +3674,7 @@ main (void)
|
|
3486
3674
|
{
|
3487
3675
|
/* echo data back to the client
|
3488
3676
|
*/
|
3489
|
-
gnutls_record_send (session, buffer,
|
3677
|
+
gnutls_record_send (session, buffer, ret);
|
3490
3678
|
}
|
3491
3679
|
}
|
3492
3680
|
printf ("\n");
|
@@ -3511,7 +3699,7 @@ main (void)
|
|
3511
3699
|
|
3512
3700
|
File: gnutls.info, Node: Echo server with SRP authentication, Next: Echo server with anonymous authentication, Prev: Echo server with OpenPGP authentication, Up: Server examples
|
3513
3701
|
|
3514
|
-
|
3702
|
+
7.2.3 Echo server with SRP authentication
|
3515
3703
|
-----------------------------------------
|
3516
3704
|
|
3517
3705
|
This is a server which supports SRP authentication. It is also possible
|
@@ -3549,31 +3737,6 @@ separate for simplicity.
|
|
3549
3737
|
#define MAX_BUF 1024
|
3550
3738
|
#define PORT 5556 /* listen to 5556 port */
|
3551
3739
|
|
3552
|
-
/* These are global */
|
3553
|
-
gnutls_srp_server_credentials_t srp_cred;
|
3554
|
-
gnutls_certificate_credentials_t cert_cred;
|
3555
|
-
|
3556
|
-
static gnutls_session_t
|
3557
|
-
initialize_tls_session (void)
|
3558
|
-
{
|
3559
|
-
gnutls_session_t session;
|
3560
|
-
|
3561
|
-
gnutls_init (&session, GNUTLS_SERVER);
|
3562
|
-
|
3563
|
-
gnutls_priority_set_direct (session, "NORMAL:-KX-ALL:+SRP:+SRP-DSS:+SRP-RSA", NULL);
|
3564
|
-
|
3565
|
-
gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
|
3566
|
-
/* for the certificate authenticated ciphersuites.
|
3567
|
-
*/
|
3568
|
-
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
|
3569
|
-
|
3570
|
-
/* request client certificate if any.
|
3571
|
-
*/
|
3572
|
-
gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
|
3573
|
-
|
3574
|
-
return session;
|
3575
|
-
}
|
3576
|
-
|
3577
3740
|
int
|
3578
3741
|
main (void)
|
3579
3742
|
{
|
@@ -3584,6 +3747,8 @@ main (void)
|
|
3584
3747
|
socklen_t client_len;
|
3585
3748
|
char topbuf[512];
|
3586
3749
|
gnutls_session_t session;
|
3750
|
+
gnutls_srp_server_credentials_t srp_cred;
|
3751
|
+
gnutls_certificate_credentials_t cert_cred;
|
3587
3752
|
char buffer[MAX_BUF + 1];
|
3588
3753
|
int optval = 1;
|
3589
3754
|
char name[256];
|
@@ -3627,7 +3792,17 @@ main (void)
|
|
3627
3792
|
client_len = sizeof (sa_cli);
|
3628
3793
|
for (;;)
|
3629
3794
|
{
|
3630
|
-
session
|
3795
|
+
gnutls_init (&session, GNUTLS_SERVER);
|
3796
|
+
gnutls_priority_set_direct (session,
|
3797
|
+
"NORMAL:-KX-ALL:+SRP:+SRP-DSS:+SRP-RSA", NULL);
|
3798
|
+
gnutls_credentials_set (session, GNUTLS_CRD_SRP, srp_cred);
|
3799
|
+
/* for the certificate authenticated ciphersuites.
|
3800
|
+
*/
|
3801
|
+
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, cert_cred);
|
3802
|
+
|
3803
|
+
/* request client certificate if any.
|
3804
|
+
*/
|
3805
|
+
gnutls_certificate_server_set_request (session, GNUTLS_CERT_IGNORE);
|
3631
3806
|
|
3632
3807
|
sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
|
3633
3808
|
|
@@ -3635,7 +3810,7 @@ main (void)
|
|
3635
3810
|
inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
|
3636
3811
|
sizeof (topbuf)), ntohs (sa_cli.sin_port));
|
3637
3812
|
|
3638
|
-
|
3813
|
+
gnutls_transport_set_int (session, sd);
|
3639
3814
|
|
3640
3815
|
do
|
3641
3816
|
{
|
@@ -3658,7 +3833,6 @@ main (void)
|
|
3658
3833
|
|
3659
3834
|
for (;;)
|
3660
3835
|
{
|
3661
|
-
memset (buffer, 0, MAX_BUF + 1);
|
3662
3836
|
ret = gnutls_record_recv (session, buffer, MAX_BUF);
|
3663
3837
|
|
3664
3838
|
if (ret == 0)
|
@@ -3666,6 +3840,10 @@ main (void)
|
|
3666
3840
|
printf ("\n- Peer has closed the GnuTLS connection\n");
|
3667
3841
|
break;
|
3668
3842
|
}
|
3843
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
3844
|
+
{
|
3845
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
3846
|
+
}
|
3669
3847
|
else if (ret < 0)
|
3670
3848
|
{
|
3671
3849
|
fprintf (stderr, "\n*** Received corrupted "
|
@@ -3676,7 +3854,7 @@ main (void)
|
|
3676
3854
|
{
|
3677
3855
|
/* echo data back to the client
|
3678
3856
|
*/
|
3679
|
-
gnutls_record_send (session, buffer,
|
3857
|
+
gnutls_record_send (session, buffer, ret);
|
3680
3858
|
}
|
3681
3859
|
}
|
3682
3860
|
printf ("\n");
|
@@ -3701,7 +3879,7 @@ main (void)
|
|
3701
3879
|
|
3702
3880
|
File: gnutls.info, Node: Echo server with anonymous authentication, Next: DTLS echo server with X.509 authentication, Prev: Echo server with SRP authentication, Up: Server examples
|
3703
3881
|
|
3704
|
-
|
3882
|
+
7.2.4 Echo server with anonymous authentication
|
3705
3883
|
-----------------------------------------------
|
3706
3884
|
|
3707
3885
|
This example server supports anonymous authentication, and could be
|
@@ -3731,40 +3909,22 @@ used to serve the example client for anonymous authentication.
|
|
3731
3909
|
#define SOCKET_ERR(err,s) if(err==-1) {perror(s);return(1);}
|
3732
3910
|
#define MAX_BUF 1024
|
3733
3911
|
#define PORT 5556 /* listen to 5556 port */
|
3734
|
-
#define DH_BITS 1024
|
3735
3912
|
|
3736
3913
|
/* These are global */
|
3737
|
-
gnutls_anon_server_credentials_t anoncred;
|
3738
|
-
|
3739
|
-
static gnutls_session_t
|
3740
|
-
initialize_tls_session (void)
|
3741
|
-
{
|
3742
|
-
gnutls_session_t session;
|
3743
|
-
|
3744
|
-
gnutls_init (&session, GNUTLS_SERVER);
|
3745
|
-
|
3746
|
-
gnutls_priority_set_direct (session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);
|
3747
|
-
|
3748
|
-
gnutls_credentials_set (session, GNUTLS_CRD_ANON, anoncred);
|
3749
|
-
|
3750
|
-
gnutls_dh_set_prime_bits (session, DH_BITS);
|
3751
|
-
|
3752
|
-
return session;
|
3753
|
-
}
|
3754
|
-
|
3755
3914
|
static gnutls_dh_params_t dh_params;
|
3756
3915
|
|
3757
3916
|
static int
|
3758
3917
|
generate_dh_params (void)
|
3759
3918
|
{
|
3760
|
-
|
3919
|
+
unsigned int bits =
|
3920
|
+
gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
|
3761
3921
|
/* Generate Diffie-Hellman parameters - for use with DHE
|
3762
3922
|
* kx algorithms. These should be discarded and regenerated
|
3763
3923
|
* once a day, once a week or once a month. Depending on the
|
3764
3924
|
* security requirements.
|
3765
3925
|
*/
|
3766
3926
|
gnutls_dh_params_init (&dh_params);
|
3767
|
-
gnutls_dh_params_generate2 (dh_params,
|
3927
|
+
gnutls_dh_params_generate2 (dh_params, bits);
|
3768
3928
|
|
3769
3929
|
return 0;
|
3770
3930
|
}
|
@@ -3779,6 +3939,7 @@ main (void)
|
|
3779
3939
|
socklen_t client_len;
|
3780
3940
|
char topbuf[512];
|
3781
3941
|
gnutls_session_t session;
|
3942
|
+
gnutls_anon_server_credentials_t anoncred;
|
3782
3943
|
char buffer[MAX_BUF + 1];
|
3783
3944
|
int optval = 1;
|
3784
3945
|
|
@@ -3815,7 +3976,9 @@ main (void)
|
|
3815
3976
|
client_len = sizeof (sa_cli);
|
3816
3977
|
for (;;)
|
3817
3978
|
{
|
3818
|
-
session
|
3979
|
+
gnutls_init (&session, GNUTLS_SERVER);
|
3980
|
+
gnutls_priority_set_direct (session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);
|
3981
|
+
gnutls_credentials_set (session, GNUTLS_CRD_ANON, anoncred);
|
3819
3982
|
|
3820
3983
|
sd = accept (listen_sd, (struct sockaddr *) & sa_cli, &client_len);
|
3821
3984
|
|
@@ -3823,7 +3986,7 @@ main (void)
|
|
3823
3986
|
inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf,
|
3824
3987
|
sizeof (topbuf)), ntohs (sa_cli.sin_port));
|
3825
3988
|
|
3826
|
-
|
3989
|
+
gnutls_transport_set_int (session, sd);
|
3827
3990
|
|
3828
3991
|
do
|
3829
3992
|
{
|
@@ -3846,7 +4009,6 @@ main (void)
|
|
3846
4009
|
|
3847
4010
|
for (;;)
|
3848
4011
|
{
|
3849
|
-
memset (buffer, 0, MAX_BUF + 1);
|
3850
4012
|
ret = gnutls_record_recv (session, buffer, MAX_BUF);
|
3851
4013
|
|
3852
4014
|
if (ret == 0)
|
@@ -3854,6 +4016,10 @@ main (void)
|
|
3854
4016
|
printf ("\n- Peer has closed the GnuTLS connection\n");
|
3855
4017
|
break;
|
3856
4018
|
}
|
4019
|
+
else if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
4020
|
+
{
|
4021
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
4022
|
+
}
|
3857
4023
|
else if (ret < 0)
|
3858
4024
|
{
|
3859
4025
|
fprintf (stderr, "\n*** Received corrupted "
|
@@ -3864,7 +4030,7 @@ main (void)
|
|
3864
4030
|
{
|
3865
4031
|
/* echo data back to the client
|
3866
4032
|
*/
|
3867
|
-
gnutls_record_send (session, buffer,
|
4033
|
+
gnutls_record_send (session, buffer, ret);
|
3868
4034
|
}
|
3869
4035
|
}
|
3870
4036
|
printf ("\n");
|
@@ -3889,7 +4055,7 @@ main (void)
|
|
3889
4055
|
|
3890
4056
|
File: gnutls.info, Node: DTLS echo server with X.509 authentication, Prev: Echo server with anonymous authentication, Up: Server examples
|
3891
4057
|
|
3892
|
-
|
4058
|
+
7.2.5 DTLS echo server with X.509 authentication
|
3893
4059
|
------------------------------------------------
|
3894
4060
|
|
3895
4061
|
This example is a very simple echo server using Datagram TLS and X.509
|
@@ -3942,7 +4108,6 @@ static ssize_t pull_func (gnutls_transport_ptr_t p, void *data, size_t size);
|
|
3942
4108
|
static const char *human_addr (const struct sockaddr *sa, socklen_t salen,
|
3943
4109
|
char *buf, size_t buflen);
|
3944
4110
|
static int wait_for_connection (int fd);
|
3945
|
-
static gnutls_session_t initialize_tls_session (void);
|
3946
4111
|
static int generate_dh_params (void);
|
3947
4112
|
|
3948
4113
|
/* Use global credentials and parameters to simplify
|
@@ -4070,7 +4235,10 @@ main (void)
|
|
4070
4235
|
else
|
4071
4236
|
continue;
|
4072
4237
|
|
4073
|
-
session
|
4238
|
+
gnutls_init (&session, GNUTLS_SERVER | GNUTLS_DATAGRAM);
|
4239
|
+
gnutls_priority_set (session, priority_cache);
|
4240
|
+
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
4241
|
+
|
4074
4242
|
gnutls_dtls_prestate_set (session, &prestate);
|
4075
4243
|
gnutls_dtls_set_mtu (session, mtu);
|
4076
4244
|
|
@@ -4088,7 +4256,10 @@ main (void)
|
|
4088
4256
|
{
|
4089
4257
|
ret = gnutls_handshake (session);
|
4090
4258
|
}
|
4091
|
-
while (ret
|
4259
|
+
while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
|
4260
|
+
/* Note that DTLS may also receive GNUTLS_E_LARGE_PACKET.
|
4261
|
+
* In that case the MTU should be adjusted.
|
4262
|
+
*/
|
4092
4263
|
|
4093
4264
|
if (ret < 0)
|
4094
4265
|
{
|
@@ -4109,17 +4280,24 @@ main (void)
|
|
4109
4280
|
}
|
4110
4281
|
while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED);
|
4111
4282
|
|
4112
|
-
if (ret < 0)
|
4283
|
+
if (ret < 0 && gnutls_error_is_fatal (ret) == 0)
|
4284
|
+
{
|
4285
|
+
fprintf (stderr, "*** Warning: %s\n", gnutls_strerror (ret));
|
4286
|
+
continue;
|
4287
|
+
}
|
4288
|
+
else if (ret < 0)
|
4113
4289
|
{
|
4114
4290
|
fprintf (stderr, "Error in recv(): %s\n",
|
4115
4291
|
gnutls_strerror (ret));
|
4116
4292
|
break;
|
4117
4293
|
}
|
4294
|
+
|
4118
4295
|
if (ret == 0)
|
4119
4296
|
{
|
4120
4297
|
printf ("EOF\n\n");
|
4121
4298
|
break;
|
4122
4299
|
}
|
4300
|
+
|
4123
4301
|
buffer[ret] = 0;
|
4124
4302
|
printf ("received[%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x]: %s\n",
|
4125
4303
|
sequence[0], sequence[1], sequence[2], sequence[3],
|
@@ -4306,24 +4484,11 @@ human_addr (const struct sockaddr *sa, socklen_t salen,
|
|
4306
4484
|
return save_buf;
|
4307
4485
|
}
|
4308
4486
|
|
4309
|
-
static gnutls_session_t
|
4310
|
-
initialize_tls_session (void)
|
4311
|
-
{
|
4312
|
-
gnutls_session_t session;
|
4313
|
-
|
4314
|
-
gnutls_init (&session, GNUTLS_SERVER | GNUTLS_DATAGRAM);
|
4315
|
-
|
4316
|
-
gnutls_priority_set (session, priority_cache);
|
4317
|
-
|
4318
|
-
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
4319
|
-
|
4320
|
-
return session;
|
4321
|
-
}
|
4322
|
-
|
4323
4487
|
static int
|
4324
4488
|
generate_dh_params (void)
|
4325
4489
|
{
|
4326
|
-
int bits =
|
4490
|
+
int bits =
|
4491
|
+
gnutls_sec_param_to_pk_bits (GNUTLS_PK_DH, GNUTLS_SEC_PARAM_LEGACY);
|
4327
4492
|
|
4328
4493
|
/* Generate Diffie-Hellman parameters - for use with DHE
|
4329
4494
|
* kx algorithms. When short bit length is used, it might
|
@@ -4338,7 +4503,7 @@ generate_dh_params (void)
|
|
4338
4503
|
|
4339
4504
|
File: gnutls.info, Node: OCSP example, Next: Miscellaneous examples, Prev: Server examples, Up: GnuTLS application examples
|
4340
4505
|
|
4341
|
-
|
4506
|
+
7.3 OCSP example
|
4342
4507
|
================
|
4343
4508
|
|
4344
4509
|
Generate OCSP request
|
@@ -4664,9 +4829,9 @@ get_data (void *buffer, size_t size, size_t nmemb, void *userp)
|
|
4664
4829
|
}
|
4665
4830
|
|
4666
4831
|
|
4667
|
-
File: gnutls.info, Node: Miscellaneous examples, Prev: OCSP example, Up: GnuTLS application examples
|
4832
|
+
File: gnutls.info, Node: Miscellaneous examples, Next: XSSL examples, Prev: OCSP example, Up: GnuTLS application examples
|
4668
4833
|
|
4669
|
-
|
4834
|
+
7.4 Miscellaneous examples
|
4670
4835
|
==========================
|
4671
4836
|
|
4672
4837
|
* Menu:
|
@@ -4678,7 +4843,7 @@ File: gnutls.info, Node: Miscellaneous examples, Prev: OCSP example, Up: GnuT
|
|
4678
4843
|
|
4679
4844
|
File: gnutls.info, Node: Checking for an alert, Next: X.509 certificate parsing example, Up: Miscellaneous examples
|
4680
4845
|
|
4681
|
-
|
4846
|
+
7.4.1 Checking for an alert
|
4682
4847
|
---------------------------
|
4683
4848
|
|
4684
4849
|
This is a function that checks if an alert has been received in the
|
@@ -4726,7 +4891,7 @@ check_alert (gnutls_session_t session, int ret)
|
|
4726
4891
|
|
4727
4892
|
File: gnutls.info, Node: X.509 certificate parsing example, Next: Listing the ciphersuites in a priority string, Prev: Checking for an alert, Up: Miscellaneous examples
|
4728
4893
|
|
4729
|
-
|
4894
|
+
7.4.2 X.509 certificate parsing example
|
4730
4895
|
---------------------------------------
|
4731
4896
|
|
4732
4897
|
To demonstrate the X.509 parsing capabilities an example program is
|
@@ -4859,7 +5024,7 @@ print_x509_certificate_info (gnutls_session_t session)
|
|
4859
5024
|
|
4860
5025
|
File: gnutls.info, Node: Listing the ciphersuites in a priority string, Prev: X.509 certificate parsing example, Up: Miscellaneous examples
|
4861
5026
|
|
4862
|
-
|
5027
|
+
7.4.3 Listing the ciphersuites in a priority string
|
4863
5028
|
---------------------------------------------------
|
4864
5029
|
|
4865
5030
|
This is a small program to list the enabled ciphersuites by a priority
|
@@ -4920,11 +5085,224 @@ int main(int argc, char** argv)
|
|
4920
5085
|
print_cipher_suite_list (argv[1]);
|
4921
5086
|
}
|
4922
5087
|
|
5088
|
+
|
5089
|
+
File: gnutls.info, Node: XSSL examples, Prev: Miscellaneous examples, Up: GnuTLS application examples
|
5090
|
+
|
5091
|
+
7.5 XSSL examples
|
5092
|
+
=================
|
5093
|
+
|
5094
|
+
XSSL is an experimental API available in the `gnutls-xssl' library and
|
5095
|
+
in `gnutls/xssl.h' header. It is intended to be a very simple to use
|
5096
|
+
API avoid the GnuTLS API. The API however has the following limitations
|
5097
|
+
* It is applicable to blocking sockets only.
|
5098
|
+
|
5099
|
+
* The server verification is based on its DNS name.
|
5100
|
+
|
5101
|
+
* Menu:
|
5102
|
+
|
5103
|
+
* Example client with X.509 certificate authentication::
|
5104
|
+
* Example client with X.509 certificate authentication and TOFU::
|
5105
|
+
|
5106
|
+
|
5107
|
+
File: gnutls.info, Node: Example client with X.509 certificate authentication, Next: Example client with X.509 certificate authentication and TOFU, Up: XSSL examples
|
5108
|
+
|
5109
|
+
7.5.1 Example client with X.509 certificate authentication
|
5110
|
+
----------------------------------------------------------
|
5111
|
+
|
5112
|
+
/* This example code is placed in the public domain. */
|
5113
|
+
|
5114
|
+
#ifdef HAVE_CONFIG_H
|
5115
|
+
#include <config.h>
|
5116
|
+
#endif
|
5117
|
+
|
5118
|
+
#include <stdio.h>
|
5119
|
+
#include <stdlib.h>
|
5120
|
+
#include <string.h>
|
5121
|
+
#include <gnutls/gnutls.h>
|
5122
|
+
#include <gnutls/xssl.h>
|
5123
|
+
#include "examples.h"
|
5124
|
+
|
5125
|
+
/* A simple TLS client, with X.509 authentication. Certificate verification
|
5126
|
+
* is explicit.
|
5127
|
+
*/
|
5128
|
+
|
5129
|
+
extern int tcp_connect (void);
|
5130
|
+
extern void tcp_close (int sd);
|
5131
|
+
|
5132
|
+
int main (void)
|
5133
|
+
{
|
5134
|
+
int ret;
|
5135
|
+
char *line = NULL;
|
5136
|
+
size_t line_len;
|
5137
|
+
xssl_cred_t cred;
|
5138
|
+
xssl_t sb;
|
5139
|
+
unsigned int status;
|
5140
|
+
int fd;
|
5141
|
+
|
5142
|
+
gnutls_global_init ();
|
5143
|
+
|
5144
|
+
fd = tcp_connect ();
|
5145
|
+
|
5146
|
+
ret = xssl_cred_init(&cred, GNUTLS_VMETHOD_SYSTEM_CAS, NULL, 0);
|
5147
|
+
if (ret < 0)
|
5148
|
+
exit(1);
|
5149
|
+
|
5150
|
+
/* Initialize TLS session
|
5151
|
+
*/
|
5152
|
+
ret = xssl_client_init(&sb, "www.example.com", NULL,
|
5153
|
+
(gnutls_transport_ptr_t)fd,
|
5154
|
+
NULL, cred, &status, 0);
|
5155
|
+
if (ret < 0)
|
5156
|
+
{
|
5157
|
+
if (ret == GNUTLS_E_AUTH_ERROR)
|
5158
|
+
{
|
5159
|
+
gnutls_datum_t txt;
|
5160
|
+
|
5161
|
+
gnutls_certificate_verification_status_print(status, GNUTLS_CRT_X509,
|
5162
|
+
&txt, 0);
|
5163
|
+
|
5164
|
+
fprintf(stderr, "Verification error (%x): %s\n", status, txt.data);
|
5165
|
+
gnutls_free(txt.data);
|
5166
|
+
}
|
5167
|
+
exit(1);
|
5168
|
+
}
|
5169
|
+
|
5170
|
+
#define REQ "GET / HTTP/1.0\r\n"
|
5171
|
+
ret = xssl_write(sb, REQ, sizeof(REQ)-1);
|
5172
|
+
if (ret < 0)
|
5173
|
+
exit(1);
|
5174
|
+
|
5175
|
+
do
|
5176
|
+
{
|
5177
|
+
ret = xssl_getline(sb, &line, &line_len);
|
5178
|
+
if (ret < 0)
|
5179
|
+
exit(1);
|
5180
|
+
|
5181
|
+
fprintf(stderr, "received: %s\n", line);
|
5182
|
+
}
|
5183
|
+
while (ret >= 0);
|
5184
|
+
|
5185
|
+
gnutls_free(line);
|
5186
|
+
|
5187
|
+
xssl_deinit(sb);
|
5188
|
+
|
5189
|
+
tcp_close (fd);
|
5190
|
+
|
5191
|
+
xssl_cred_deinit (cred);
|
5192
|
+
|
5193
|
+
gnutls_global_deinit ();
|
5194
|
+
}
|
5195
|
+
|
5196
|
+
|
5197
|
+
File: gnutls.info, Node: Example client with X.509 certificate authentication and TOFU, Prev: Example client with X.509 certificate authentication, Up: XSSL examples
|
5198
|
+
|
5199
|
+
7.5.2 Example client with X.509 certificate authentication and TOFU
|
5200
|
+
-------------------------------------------------------------------
|
5201
|
+
|
5202
|
+
/* This example code is placed in the public domain. */
|
5203
|
+
|
5204
|
+
#ifdef HAVE_CONFIG_H
|
5205
|
+
#include <config.h>
|
5206
|
+
#endif
|
5207
|
+
|
5208
|
+
#include <stdio.h>
|
5209
|
+
#include <stdlib.h>
|
5210
|
+
#include <string.h>
|
5211
|
+
#include <gnutls/gnutls.h>
|
5212
|
+
#include <gnutls/xssl.h>
|
5213
|
+
#include "examples.h"
|
5214
|
+
|
5215
|
+
/* A simple TLS client, with X.509 authentication. Certificate verification
|
5216
|
+
* with a fixed CA, and trust on first use.
|
5217
|
+
*/
|
5218
|
+
|
5219
|
+
extern int tcp_connect (void);
|
5220
|
+
extern void tcp_close (int sd);
|
5221
|
+
|
5222
|
+
int main (void)
|
5223
|
+
{
|
5224
|
+
int ret;
|
5225
|
+
char *line = NULL;
|
5226
|
+
size_t line_len;
|
5227
|
+
xssl_cred_t cred;
|
5228
|
+
xssl_t sb;
|
5229
|
+
gnutls_cinput_st aux[2];
|
5230
|
+
unsigned aux_size = 0;
|
5231
|
+
unsigned int status;
|
5232
|
+
int fd;
|
5233
|
+
|
5234
|
+
gnutls_global_init ();
|
5235
|
+
|
5236
|
+
fd = tcp_connect ();
|
5237
|
+
|
5238
|
+
aux[aux_size].type = GNUTLS_CINPUT_TYPE_FILE;
|
5239
|
+
aux[aux_size].contents = GNUTLS_CINPUT_CAS;
|
5240
|
+
aux[aux_size].fmt = GNUTLS_X509_FMT_PEM;
|
5241
|
+
aux[aux_size].i1.file = "/path/to/ca/file";
|
5242
|
+
aux_size++;
|
5243
|
+
|
5244
|
+
/* This may be skipped to use the default DB file */
|
5245
|
+
aux[aux_size].type = GNUTLS_CINPUT_TYPE_FILE;
|
5246
|
+
aux[aux_size].contents = GNUTLS_CINPUT_TOFU_DB;
|
5247
|
+
aux[aux_size].i1.file = "/path/to/trust/db/file";
|
5248
|
+
aux_size++;
|
5249
|
+
|
5250
|
+
ret = xssl_cred_init(&cred, GNUTLS_VMETHOD_GIVEN_CAS|GNUTLS_VMETHOD_TOFU,
|
5251
|
+
aux, aux_size);
|
5252
|
+
if (ret < 0)
|
5253
|
+
exit(1);
|
5254
|
+
|
5255
|
+
/* Initialize TLS session
|
5256
|
+
*/
|
5257
|
+
ret = xssl_client_init(&sb, "www.example.com", NULL,
|
5258
|
+
(gnutls_transport_ptr_t)fd,
|
5259
|
+
NULL, cred, &status, 0);
|
5260
|
+
if (ret < 0)
|
5261
|
+
{
|
5262
|
+
if (ret == GNUTLS_E_AUTH_ERROR)
|
5263
|
+
{
|
5264
|
+
gnutls_datum_t txt;
|
5265
|
+
|
5266
|
+
gnutls_certificate_verification_status_print(status, GNUTLS_CRT_X509,
|
5267
|
+
&txt, 0);
|
5268
|
+
|
5269
|
+
fprintf(stderr, "Verification error (%x): %s\n", status, txt.data);
|
5270
|
+
gnutls_free(txt.data);
|
5271
|
+
}
|
5272
|
+
exit(1);
|
5273
|
+
}
|
5274
|
+
|
5275
|
+
#define REQ "GET / HTTP/1.0\r\n"
|
5276
|
+
ret = xssl_write(sb, REQ, sizeof(REQ)-1);
|
5277
|
+
if (ret < 0)
|
5278
|
+
exit(1);
|
5279
|
+
|
5280
|
+
do
|
5281
|
+
{
|
5282
|
+
ret = xssl_getline(sb, &line, &line_len);
|
5283
|
+
if (ret < 0)
|
5284
|
+
exit(1);
|
5285
|
+
|
5286
|
+
fprintf(stderr, "received: %s\n", line);
|
5287
|
+
}
|
5288
|
+
while (ret >= 0);
|
5289
|
+
|
5290
|
+
gnutls_free(line);
|
5291
|
+
|
5292
|
+
xssl_deinit(sb);
|
5293
|
+
|
5294
|
+
tcp_close (fd);
|
5295
|
+
|
5296
|
+
xssl_cred_deinit (cred);
|
5297
|
+
|
5298
|
+
gnutls_global_deinit ();
|
5299
|
+
}
|
5300
|
+
|
4923
5301
|
|
4924
5302
|
File: gnutls.info, Node: Using GnuTLS as a cryptographic library, Next: Other included programs, Prev: GnuTLS application examples, Up: Top
|
4925
5303
|
|
4926
|
-
|
4927
|
-
|
5304
|
+
8 Using GnuTLS as a cryptographic library
|
5305
|
+
*****************************************
|
4928
5306
|
|
4929
5307
|
GnuTLS is not a low-level cryptographic library, i.e., it does not
|
4930
5308
|
provide access to basic cryptographic primitives. However it abstracts
|
@@ -4934,15 +5312,15 @@ the random number generation.
|
|
4934
5312
|
|
4935
5313
|
* Menu:
|
4936
5314
|
|
4937
|
-
*
|
5315
|
+
* Encryption algorithms::
|
4938
5316
|
* Hash and HMAC functions::
|
4939
5317
|
* Random number generation::
|
4940
5318
|
|
4941
5319
|
|
4942
|
-
File: gnutls.info, Node:
|
5320
|
+
File: gnutls.info, Node: Encryption algorithms, Next: Hash and HMAC functions, Up: Using GnuTLS as a cryptographic library
|
4943
5321
|
|
4944
|
-
|
4945
|
-
|
5322
|
+
8.1 Encryption algorithms
|
5323
|
+
=========================
|
4946
5324
|
|
4947
5325
|
The available functions to access symmetric crypto algorithms operations
|
4948
5326
|
are shown below. The supported algorithms are the algorithms required
|
@@ -4967,10 +5345,10 @@ associated data and retrieve the authentication tag.
|
|
4967
5345
|
`INT *note gnutls_cipher_tag:: (gnutls_cipher_hd_t HANDLE, void * TAG, size_t TAG_SIZE)'
|
4968
5346
|
|
4969
5347
|
|
4970
|
-
File: gnutls.info, Node: Hash and HMAC functions, Next: Random number generation, Prev:
|
5348
|
+
File: gnutls.info, Node: Hash and HMAC functions, Next: Random number generation, Prev: Encryption algorithms, Up: Using GnuTLS as a cryptographic library
|
4971
5349
|
|
4972
|
-
|
4973
|
-
|
5350
|
+
8.2 Hash and HMAC functions
|
5351
|
+
===========================
|
4974
5352
|
|
4975
5353
|
The available operations to access hash functions and hash-MAC (HMAC)
|
4976
5354
|
algorithms are shown below. HMAC algorithms provided keyed hash
|
@@ -5004,11 +5382,13 @@ supported hash functions are the same as the HMAC algorithms.
|
|
5004
5382
|
|
5005
5383
|
`INT *note gnutls_hash_fast:: (gnutls_digest_algorithm_t ALGORITHM, const void * TEXT, size_t TEXTLEN, void * DIGEST)'
|
5006
5384
|
|
5385
|
+
`INT *note gnutls_fingerprint:: (gnutls_digest_algorithm_t ALGO, const gnutls_datum_t * DATA, void * RESULT, size_t * RESULT_SIZE)'
|
5386
|
+
|
5007
5387
|
|
5008
5388
|
File: gnutls.info, Node: Random number generation, Prev: Hash and HMAC functions, Up: Using GnuTLS as a cryptographic library
|
5009
5389
|
|
5010
|
-
|
5011
|
-
|
5390
|
+
8.3 Random number generation
|
5391
|
+
============================
|
5012
5392
|
|
5013
5393
|
Access to the random number generator is provided using the *note
|
5014
5394
|
gnutls_rnd:: function. It allows obtaining random data of various
|
@@ -5025,7 +5405,7 @@ levels.
|
|
5025
5405
|
`GNUTLS_RND_KEY'
|
5026
5406
|
Fatal in many sessions if broken.
|
5027
5407
|
|
5028
|
-
Figure
|
5408
|
+
Figure 8.1: The random number levels.
|
5029
5409
|
|
5030
5410
|
-- Function: int gnutls_rnd (gnutls_rnd_level_t LEVEL, void * DATA,
|
5031
5411
|
size_t LEN)
|
@@ -5045,8 +5425,8 @@ Figure 10.1: The random number levels.
|
|
5045
5425
|
|
5046
5426
|
File: gnutls.info, Node: Other included programs, Next: Internal architecture of GnuTLS, Prev: Using GnuTLS as a cryptographic library, Up: Top
|
5047
5427
|
|
5048
|
-
|
5049
|
-
|
5428
|
+
9 Other included programs
|
5429
|
+
*************************
|
5050
5430
|
|
5051
5431
|
Included with GnuTLS are also a few command line tools that let you use
|
5052
5432
|
the library for common tasks without writing an application. The
|
@@ -5061,8 +5441,8 @@ applications are discussed in this chapter.
|
|
5061
5441
|
|
5062
5442
|
File: gnutls.info, Node: gnutls-cli Invocation, Next: gnutls-serv Invocation, Up: Other included programs
|
5063
5443
|
|
5064
|
-
|
5065
|
-
|
5444
|
+
9.1 Invoking gnutls-cli
|
5445
|
+
=======================
|
5066
5446
|
|
5067
5447
|
Simple client program to set up a TLS connection to some other computer.
|
5068
5448
|
It sets up a TLS connection and forwards data from the standard input
|
@@ -5084,7 +5464,7 @@ platforms without a working `fork(2)' function. The `PAGER'
|
|
5084
5464
|
environment variable is used to select the program, defaulting to
|
5085
5465
|
`more'. Both will exit with a status code of 0.
|
5086
5466
|
|
5087
|
-
gnutls-cli - GnuTLS client - Ver. 3.1.
|
5467
|
+
gnutls-cli - GnuTLS client - Ver. 3.1.10
|
5088
5468
|
USAGE: gnutls-cli [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [hostname]
|
5089
5469
|
|
5090
5470
|
-d, --debug=num Enable debugging.
|
@@ -5141,11 +5521,13 @@ USAGE: gnutls-cli [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [hostname]
|
|
5141
5521
|
--pskkey=str PSK key (in hex) to use
|
5142
5522
|
-p, --port=str The port or service to connect to
|
5143
5523
|
--insecure Don't abort program if server certificate can't be validated
|
5524
|
+
--ranges Use length-hiding padding to prevent traffic analysis
|
5144
5525
|
--benchmark-ciphers Benchmark individual ciphers
|
5145
5526
|
--benchmark-soft-ciphers Benchmark individual software ciphers (no hw acceleration)
|
5146
5527
|
--benchmark-tls-kx Benchmark TLS key exchange methods
|
5147
5528
|
--benchmark-tls-ciphers Benchmark TLS ciphers
|
5148
5529
|
-l, --list Print a list of the supported algorithms and modes
|
5530
|
+
--disable-sni Do not send a Server Name Indication (SNI)
|
5149
5531
|
-v, --version[=arg] Output version information and exit
|
5150
5532
|
-h, --help Display extended usage information and exit
|
5151
5533
|
-!, --more-help Extended usage information passed thru pager
|
@@ -5251,6 +5633,13 @@ sets of ciphersuites such as PERFORMANCE, NORMAL, SECURE128, SECURE256.
|
|
5251
5633
|
Check the GnuTLS manual on section "Priority strings" for more
|
5252
5634
|
information on allowed keywords
|
5253
5635
|
|
5636
|
+
ranges option
|
5637
|
+
-------------
|
5638
|
+
|
5639
|
+
This is the "use length-hiding padding to prevent traffic analysis"
|
5640
|
+
option. When possible (e.g., when %NEW_PADDING is specified), use
|
5641
|
+
length-hiding padding to prevent traffic analysis.
|
5642
|
+
|
5254
5643
|
list option (-l)
|
5255
5644
|
----------------
|
5256
5645
|
|
@@ -5321,8 +5710,8 @@ To list the ciphersuites in a priority string:
|
|
5321
5710
|
|
5322
5711
|
File: gnutls.info, Node: gnutls-serv Invocation, Next: gnutls-cli-debug Invocation, Prev: gnutls-cli Invocation, Up: Other included programs
|
5323
5712
|
|
5324
|
-
|
5325
|
-
|
5713
|
+
9.2 Invoking gnutls-serv
|
5714
|
+
========================
|
5326
5715
|
|
5327
5716
|
Server program that listens to incoming TLS connections.
|
5328
5717
|
|
@@ -5342,7 +5731,7 @@ platforms without a working `fork(2)' function. The `PAGER'
|
|
5342
5731
|
environment variable is used to select the program, defaulting to
|
5343
5732
|
`more'. Both will exit with a status code of 0.
|
5344
5733
|
|
5345
|
-
gnutls-serv - GnuTLS server - Ver. 3.1.
|
5734
|
+
gnutls-serv - GnuTLS server - Ver. 3.1.10
|
5346
5735
|
USAGE: gnutls-serv [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
|
5347
5736
|
|
5348
5737
|
-d, --debug=num Enable debugging.
|
@@ -5600,8 +5989,8 @@ get this command:
|
|
5600
5989
|
|
5601
5990
|
File: gnutls.info, Node: gnutls-cli-debug Invocation, Prev: gnutls-serv Invocation, Up: Other included programs
|
5602
5991
|
|
5603
|
-
|
5604
|
-
|
5992
|
+
9.3 Invoking gnutls-cli-debug
|
5993
|
+
=============================
|
5605
5994
|
|
5606
5995
|
TLS debug client. It sets up multiple TLS connections to a server and
|
5607
5996
|
queries its capabilities. It was created to assist in debugging GnuTLS,
|
@@ -5626,7 +6015,7 @@ platforms without a working `fork(2)' function. The `PAGER'
|
|
5626
6015
|
environment variable is used to select the program, defaulting to
|
5627
6016
|
`more'. Both will exit with a status code of 0.
|
5628
6017
|
|
5629
|
-
gnutls-cli-debug - GnuTLS debug client - Ver. 3.1.
|
6018
|
+
gnutls-cli-debug - GnuTLS debug client - Ver. 3.1.10
|
5630
6019
|
USAGE: gnutls-cli-debug [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
|
5631
6020
|
|
5632
6021
|
-d, --debug=num Enable debugging.
|
@@ -5729,7 +6118,7 @@ gnutls-cli-debug Examples
|
|
5729
6118
|
|
5730
6119
|
File: gnutls.info, Node: Internal architecture of GnuTLS, Next: Upgrading from previous versions, Prev: Other included programs, Up: Top
|
5731
6120
|
|
5732
|
-
|
6121
|
+
10 Internal Architecture of GnuTLS
|
5733
6122
|
**********************************
|
5734
6123
|
|
5735
6124
|
This chapter is to give a brief description of the way GnuTLS works.
|
@@ -5747,7 +6136,7 @@ to know what happens inside the black box.
|
|
5747
6136
|
|
5748
6137
|
File: gnutls.info, Node: The TLS Protocol, Next: TLS Handshake Protocol, Up: Internal architecture of GnuTLS
|
5749
6138
|
|
5750
|
-
|
6139
|
+
10.1 The TLS Protocol
|
5751
6140
|
=====================
|
5752
6141
|
|
5753
6142
|
The main use case for the TLS protocol is shown in *note
|
@@ -5758,12 +6147,12 @@ with the peer and be able to exchange data.
|
|
5758
6147
|
|
5759
6148
|
[image src="gnutls-client-server-use-case.png"]
|
5760
6149
|
|
5761
|
-
Figure
|
6150
|
+
Figure 10.1: TLS protocol use case.
|
5762
6151
|
|
5763
6152
|
|
5764
6153
|
File: gnutls.info, Node: TLS Handshake Protocol, Next: TLS Authentication Methods, Prev: The TLS Protocol, Up: Internal architecture of GnuTLS
|
5765
6154
|
|
5766
|
-
|
6155
|
+
10.2 TLS Handshake Protocol
|
5767
6156
|
===========================
|
5768
6157
|
|
5769
6158
|
The GnuTLS handshake protocol is implemented as a state machine that
|
@@ -5773,7 +6162,7 @@ fig:gnutls-handshake::.
|
|
5773
6162
|
|
5774
6163
|
[image src="gnutls-handshake-state.png"]
|
5775
6164
|
|
5776
|
-
Figure
|
6165
|
+
Figure 10.2: GnuTLS handshake state machine.
|
5777
6166
|
|
5778
6167
|
Also the way the input is processed varies per ciphersuite. Several
|
5779
6168
|
implementations of the internal handlers are available and *note
|
@@ -5784,12 +6173,12 @@ illustrate the idea in *note fig:gnutls-handshake-sequence::.
|
|
5784
6173
|
|
5785
6174
|
[image src="gnutls-handshake-sequence.png"]
|
5786
6175
|
|
5787
|
-
Figure
|
6176
|
+
Figure 10.3: GnuTLS handshake process sequence.
|
5788
6177
|
|
5789
6178
|
|
5790
6179
|
File: gnutls.info, Node: TLS Authentication Methods, Next: TLS Extension Handling, Prev: TLS Handshake Protocol, Up: Internal architecture of GnuTLS
|
5791
6180
|
|
5792
|
-
|
6181
|
+
10.3 TLS Authentication Methods
|
5793
6182
|
===============================
|
5794
6183
|
|
5795
6184
|
In GnuTLS authentication methods can be implemented quite easily.
|
@@ -5837,7 +6226,7 @@ its pointers has to be registered in `gnutls_algorithms.c' in the
|
|
5837
6226
|
|
5838
6227
|
File: gnutls.info, Node: TLS Extension Handling, Next: Cryptographic Backend, Prev: TLS Authentication Methods, Up: Internal architecture of GnuTLS
|
5839
6228
|
|
5840
|
-
|
6229
|
+
10.4 TLS Extension Handling
|
5841
6230
|
===========================
|
5842
6231
|
|
5843
6232
|
As with authentication methods, the TLS extensions handlers can be
|
@@ -5891,7 +6280,7 @@ make the extension be enabled by default. Look at existing checks
|
|
5891
6280
|
fi
|
5892
6281
|
AM_CONDITIONAL(ENABLE_FOOBAR, test "$ac_enable_foobar" != "no")
|
5893
6282
|
|
5894
|
-
These lines should go in `
|
6283
|
+
These lines should go in `m4/hooks.m4'.
|
5895
6284
|
|
5896
6285
|
Add IANA extension value to `extensions_t' in `gnutls_int.h'.
|
5897
6286
|
.............................................................
|
@@ -6162,7 +6551,7 @@ Another way is to run capabilities check with:
|
|
6162
6551
|
|
6163
6552
|
File: gnutls.info, Node: Cryptographic Backend, Prev: TLS Extension Handling, Up: Internal architecture of GnuTLS
|
6164
6553
|
|
6165
|
-
|
6554
|
+
10.5 Cryptographic Backend
|
6166
6555
|
==========================
|
6167
6556
|
|
6168
6557
|
Today most new processors, either for embedded or desktop systems
|
@@ -6176,7 +6565,7 @@ to accessing cryptographic operations as in *note fig:crypto-layers::.
|
|
6176
6565
|
|
6177
6566
|
[image src="gnutls-crypto-layers.png"]
|
6178
6567
|
|
6179
|
-
Figure
|
6568
|
+
Figure 10.4: GnuTLS cryptographic back-end design.
|
6180
6569
|
|
6181
6570
|
The TLS layer uses a cryptographic provider layer, that will in turn
|
6182
6571
|
either use the default crypto provider - a software crypto library, or
|
@@ -6785,6 +7174,10 @@ expressions.
|
|
6785
7174
|
status (OCSP).
|
6786
7175
|
-341 GNUTLS_E_OCSP_RESPONSE_ERROR The OCSP response is
|
6787
7176
|
invalid
|
7177
|
+
-342 GNUTLS_E_RANDOM_DEVICE_ERROR Error in the system's
|
7178
|
+
randomness device.
|
7179
|
+
-343 GNUTLS_E_AUTH_ERROR Could not authenticate
|
7180
|
+
peer.
|
6788
7181
|
|
6789
7182
|
|
6790
7183
|
File: gnutls.info, Node: Supported ciphersuites, Next: API reference, Prev: Error codes, Up: Top
|
@@ -6797,37 +7190,19 @@ Ciphersuites
|
|
6797
7190
|
|
6798
7191
|
Ciphersuite name TLS ID Since
|
6799
7192
|
--------------------------------------------------------------------------
|
6800
|
-
|
6801
|
-
|
6802
|
-
|
6803
|
-
|
6804
|
-
|
6805
|
-
|
6806
|
-
|
6807
|
-
|
6808
|
-
|
6809
|
-
|
6810
|
-
|
6811
|
-
|
6812
|
-
|
6813
|
-
TLS_PSK_AES_128_GCM_SHA256 0x00 0xA8 TLS1.2
|
6814
|
-
TLS_PSK_NULL_SHA256 0x00 0xB0 TLS1.0
|
6815
|
-
TLS_DHE_PSK_SHA_ARCFOUR_SHA1 0x00 0x8E TLS1.0
|
6816
|
-
TLS_DHE_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8F TLS1.0
|
6817
|
-
TLS_DHE_PSK_SHA_AES_128_CBC_SHA1 0x00 0x90 TLS1.0
|
6818
|
-
TLS_DHE_PSK_SHA_AES_256_CBC_SHA1 0x00 0x91 TLS1.0
|
6819
|
-
TLS_DHE_PSK_AES_128_CBC_SHA256 0x00 0xB2 TLS1.0
|
6820
|
-
TLS_DHE_PSK_AES_128_GCM_SHA256 0x00 0xAA TLS1.2
|
6821
|
-
TLS_DHE_PSK_NULL_SHA256 0x00 0xB4 TLS1.0
|
6822
|
-
TLS_SRP_SHA_3DES_EDE_CBC_SHA1 0xC0 0x1A TLS1.0
|
6823
|
-
TLS_SRP_SHA_AES_128_CBC_SHA1 0xC0 0x1D TLS1.0
|
6824
|
-
TLS_SRP_SHA_AES_256_CBC_SHA1 0xC0 0x20 TLS1.0
|
6825
|
-
TLS_SRP_SHA_DSS_3DES_EDE_CBC_SHA1 0xC0 0x1C TLS1.0
|
6826
|
-
TLS_SRP_SHA_RSA_3DES_EDE_CBC_SHA1 0xC0 0x1B TLS1.0
|
6827
|
-
TLS_SRP_SHA_DSS_AES_128_CBC_SHA1 0xC0 0x1F TLS1.0
|
6828
|
-
TLS_SRP_SHA_RSA_AES_128_CBC_SHA1 0xC0 0x1E TLS1.0
|
6829
|
-
TLS_SRP_SHA_DSS_AES_256_CBC_SHA1 0xC0 0x22 TLS1.0
|
6830
|
-
TLS_SRP_SHA_RSA_AES_256_CBC_SHA1 0xC0 0x21 TLS1.0
|
7193
|
+
TLS_RSA_NULL_MD5 0x00 0x01 SSL3.0
|
7194
|
+
TLS_RSA_NULL_SHA1 0x00 0x02 SSL3.0
|
7195
|
+
TLS_RSA_NULL_SHA256 0x00 0x3B TLS1.2
|
7196
|
+
TLS_RSA_ARCFOUR_SHA1 0x00 0x05 SSL3.0
|
7197
|
+
TLS_RSA_ARCFOUR_MD5 0x00 0x04 SSL3.0
|
7198
|
+
TLS_RSA_3DES_EDE_CBC_SHA1 0x00 0x0A SSL3.0
|
7199
|
+
TLS_RSA_AES_128_CBC_SHA1 0x00 0x2F SSL3.0
|
7200
|
+
TLS_RSA_AES_256_CBC_SHA1 0x00 0x35 SSL3.0
|
7201
|
+
TLS_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x41 TLS1.0
|
7202
|
+
TLS_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x84 TLS1.0
|
7203
|
+
TLS_RSA_AES_128_CBC_SHA256 0x00 0x3C TLS1.2
|
7204
|
+
TLS_RSA_AES_256_CBC_SHA256 0x00 0x3D TLS1.2
|
7205
|
+
TLS_RSA_AES_128_GCM_SHA256 0x00 0x9C TLS1.2
|
6831
7206
|
TLS_DHE_DSS_ARCFOUR_SHA1 0x00 0x66 TLS1.0
|
6832
7207
|
TLS_DHE_DSS_3DES_EDE_CBC_SHA1 0x00 0x13 SSL3.0
|
6833
7208
|
TLS_DHE_DSS_AES_128_CBC_SHA1 0x00 0x32 SSL3.0
|
@@ -6843,27 +7218,8 @@ TLS_DHE_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x45 TLS1.0
|
|
6843
7218
|
TLS_DHE_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x88 TLS1.0
|
6844
7219
|
TLS_DHE_RSA_AES_128_CBC_SHA256 0x00 0x67 TLS1.2
|
6845
7220
|
TLS_DHE_RSA_AES_256_CBC_SHA256 0x00 0x6B TLS1.2
|
6846
|
-
TLS_RSA_NULL_MD5 0x00 0x01 SSL3.0
|
6847
|
-
TLS_RSA_NULL_SHA1 0x00 0x02 SSL3.0
|
6848
|
-
TLS_RSA_NULL_SHA256 0x00 0x3B TLS1.2
|
6849
|
-
TLS_RSA_EXPORT_ARCFOUR_40_MD5 0x00 0x03 SSL3.0
|
6850
|
-
TLS_RSA_ARCFOUR_SHA1 0x00 0x05 SSL3.0
|
6851
|
-
TLS_RSA_ARCFOUR_MD5 0x00 0x04 SSL3.0
|
6852
|
-
TLS_RSA_3DES_EDE_CBC_SHA1 0x00 0x0A SSL3.0
|
6853
|
-
TLS_RSA_AES_128_CBC_SHA1 0x00 0x2F SSL3.0
|
6854
|
-
TLS_RSA_AES_256_CBC_SHA1 0x00 0x35 SSL3.0
|
6855
|
-
TLS_RSA_CAMELLIA_128_CBC_SHA1 0x00 0x41 TLS1.0
|
6856
|
-
TLS_RSA_CAMELLIA_256_CBC_SHA1 0x00 0x84 TLS1.0
|
6857
|
-
TLS_RSA_AES_128_CBC_SHA256 0x00 0x3C TLS1.2
|
6858
|
-
TLS_RSA_AES_256_CBC_SHA256 0x00 0x3D TLS1.2
|
6859
|
-
TLS_RSA_AES_128_GCM_SHA256 0x00 0x9C TLS1.2
|
6860
7221
|
TLS_DHE_RSA_AES_128_GCM_SHA256 0x00 0x9E TLS1.2
|
6861
7222
|
TLS_DHE_DSS_AES_128_GCM_SHA256 0x00 0xA2 TLS1.2
|
6862
|
-
TLS_DH_ANON_AES_128_GCM_SHA256 0x00 0xA6 TLS1.2
|
6863
|
-
TLS_ECDH_ANON_NULL_SHA1 0xC0 0x15 TLS1.0
|
6864
|
-
TLS_ECDH_ANON_3DES_EDE_CBC_SHA1 0xC0 0x17 TLS1.0
|
6865
|
-
TLS_ECDH_ANON_AES_128_CBC_SHA1 0xC0 0x18 TLS1.0
|
6866
|
-
TLS_ECDH_ANON_AES_256_CBC_SHA1 0xC0 0x19 TLS1.0
|
6867
7223
|
TLS_ECDHE_RSA_NULL_SHA1 0xC0 0x10 TLS1.0
|
6868
7224
|
TLS_ECDHE_RSA_3DES_EDE_CBC_SHA1 0xC0 0x12 TLS1.0
|
6869
7225
|
TLS_ECDHE_RSA_AES_128_CBC_SHA1 0xC0 0x13 TLS1.0
|
@@ -6876,6 +7232,9 @@ TLS_ECDHE_ECDSA_AES_128_CBC_SHA256 0xC0 0x23 TLS1.2
|
|
6876
7232
|
TLS_ECDHE_RSA_AES_128_CBC_SHA256 0xC0 0x27 TLS1.2
|
6877
7233
|
TLS_ECDHE_ECDSA_AES_128_GCM_SHA256 0xC0 0x2B TLS1.2
|
6878
7234
|
TLS_ECDHE_RSA_AES_128_GCM_SHA256 0xC0 0x2F TLS1.2
|
7235
|
+
TLS_ECDHE_ECDSA_AES_256_GCM_SHA384 0xC0 0x2C TLS1.2
|
7236
|
+
TLS_ECDHE_RSA_AES_256_GCM_SHA384 0xC0 0x30 TLS1.2
|
7237
|
+
TLS_ECDHE_ECDSA_AES_256_CBC_SHA384 0xC0 0x24 TLS1.2
|
6879
7238
|
TLS_ECDHE_PSK_3DES_EDE_CBC_SHA1 0xC0 0x34 TLS1.0
|
6880
7239
|
TLS_ECDHE_PSK_AES_128_CBC_SHA1 0xC0 0x35 TLS1.0
|
6881
7240
|
TLS_ECDHE_PSK_AES_256_CBC_SHA1 0xC0 0x36 TLS1.0
|
@@ -6883,11 +7242,45 @@ TLS_ECDHE_PSK_AES_128_CBC_SHA256 0xC0 0x37 TLS1.0
|
|
6883
7242
|
TLS_ECDHE_PSK_AES_256_CBC_SHA384 0xC0 0x38 TLS1.0
|
6884
7243
|
TLS_ECDHE_PSK_NULL_SHA256 0xC0 0x3A TLS1.0
|
6885
7244
|
TLS_ECDHE_PSK_NULL_SHA384 0xC0 0x3B TLS1.0
|
6886
|
-
|
6887
|
-
|
6888
|
-
|
7245
|
+
TLS_PSK_SHA_ARCFOUR_SHA1 0x00 0x8A TLS1.0
|
7246
|
+
TLS_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8B TLS1.0
|
7247
|
+
TLS_PSK_SHA_AES_128_CBC_SHA1 0x00 0x8C TLS1.0
|
7248
|
+
TLS_PSK_SHA_AES_256_CBC_SHA1 0x00 0x8D TLS1.0
|
7249
|
+
TLS_PSK_AES_128_CBC_SHA256 0x00 0xAE TLS1.0
|
7250
|
+
TLS_PSK_AES_128_GCM_SHA256 0x00 0xA8 TLS1.2
|
7251
|
+
TLS_PSK_NULL_SHA256 0x00 0xB0 TLS1.0
|
7252
|
+
TLS_DHE_PSK_SHA_ARCFOUR_SHA1 0x00 0x8E TLS1.0
|
7253
|
+
TLS_DHE_PSK_SHA_3DES_EDE_CBC_SHA1 0x00 0x8F TLS1.0
|
7254
|
+
TLS_DHE_PSK_SHA_AES_128_CBC_SHA1 0x00 0x90 TLS1.0
|
7255
|
+
TLS_DHE_PSK_SHA_AES_256_CBC_SHA1 0x00 0x91 TLS1.0
|
7256
|
+
TLS_DHE_PSK_AES_128_CBC_SHA256 0x00 0xB2 TLS1.0
|
7257
|
+
TLS_DHE_PSK_AES_128_GCM_SHA256 0x00 0xAA TLS1.2
|
7258
|
+
TLS_DHE_PSK_NULL_SHA256 0x00 0xB4 TLS1.0
|
6889
7259
|
TLS_PSK_WITH_AES_256_GCM_SHA384 0x00 0xA9 TLS1.2
|
6890
7260
|
TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 0x00 0xAB TLS1.2
|
7261
|
+
TLS_DH_ANON_ARCFOUR_MD5 0x00 0x18 SSL3.0
|
7262
|
+
TLS_DH_ANON_3DES_EDE_CBC_SHA1 0x00 0x1B SSL3.0
|
7263
|
+
TLS_DH_ANON_AES_128_CBC_SHA1 0x00 0x34 SSL3.0
|
7264
|
+
TLS_DH_ANON_AES_256_CBC_SHA1 0x00 0x3A SSL3.0
|
7265
|
+
TLS_DH_ANON_CAMELLIA_128_CBC_SHA1 0x00 0x46 TLS1.0
|
7266
|
+
TLS_DH_ANON_CAMELLIA_256_CBC_SHA1 0x00 0x89 TLS1.0
|
7267
|
+
TLS_DH_ANON_AES_128_CBC_SHA256 0x00 0x6C TLS1.2
|
7268
|
+
TLS_DH_ANON_AES_256_CBC_SHA256 0x00 0x6D TLS1.2
|
7269
|
+
TLS_DH_ANON_AES_128_GCM_SHA256 0x00 0xA6 TLS1.2
|
7270
|
+
TLS_ECDH_ANON_NULL_SHA1 0xC0 0x15 TLS1.0
|
7271
|
+
TLS_ECDH_ANON_3DES_EDE_CBC_SHA1 0xC0 0x17 TLS1.0
|
7272
|
+
TLS_ECDH_ANON_AES_128_CBC_SHA1 0xC0 0x18 TLS1.0
|
7273
|
+
TLS_ECDH_ANON_AES_256_CBC_SHA1 0xC0 0x19 TLS1.0
|
7274
|
+
TLS_SRP_SHA_3DES_EDE_CBC_SHA1 0xC0 0x1A TLS1.0
|
7275
|
+
TLS_SRP_SHA_AES_128_CBC_SHA1 0xC0 0x1D TLS1.0
|
7276
|
+
TLS_SRP_SHA_AES_256_CBC_SHA1 0xC0 0x20 TLS1.0
|
7277
|
+
TLS_SRP_SHA_DSS_3DES_EDE_CBC_SHA1 0xC0 0x1C TLS1.0
|
7278
|
+
TLS_SRP_SHA_RSA_3DES_EDE_CBC_SHA1 0xC0 0x1B TLS1.0
|
7279
|
+
TLS_SRP_SHA_DSS_AES_128_CBC_SHA1 0xC0 0x1F TLS1.0
|
7280
|
+
TLS_SRP_SHA_RSA_AES_128_CBC_SHA1 0xC0 0x1E TLS1.0
|
7281
|
+
TLS_SRP_SHA_DSS_AES_256_CBC_SHA1 0xC0 0x22 TLS1.0
|
7282
|
+
TLS_SRP_SHA_RSA_AES_256_CBC_SHA1 0xC0 0x21 TLS1.0
|
7283
|
+
TLS_RSA_EXPORT_ARCFOUR_40_MD5 0x00 0x03 SSL3.0
|
6891
7284
|
|
6892
7285
|
Certificate types
|
6893
7286
|
=================
|
@@ -6970,12 +7363,12 @@ Key exchange methods
|
|
6970
7363
|
|
6971
7364
|
`DHE-RSA'
|
6972
7365
|
|
7366
|
+
`DHE-DSS'
|
7367
|
+
|
6973
7368
|
`ECDHE-RSA'
|
6974
7369
|
|
6975
7370
|
`ECDHE-ECDSA'
|
6976
7371
|
|
6977
|
-
`DHE-DSS'
|
6978
|
-
|
6979
7372
|
`SRP-DSS'
|
6980
7373
|
|
6981
7374
|
`SRP-RSA'
|
@@ -7061,6 +7454,7 @@ Appendix E API reference
|
|
7061
7454
|
* Menu:
|
7062
7455
|
|
7063
7456
|
* Core TLS API::
|
7457
|
+
* High level TLS API::
|
7064
7458
|
* Datagram TLS API::
|
7065
7459
|
* X509 certificate API::
|
7066
7460
|
* OCSP API::
|
@@ -7074,7 +7468,7 @@ Appendix E API reference
|
|
7074
7468
|
* Compatibility API::
|
7075
7469
|
|
7076
7470
|
|
7077
|
-
File: gnutls.info, Node: Core TLS API, Next:
|
7471
|
+
File: gnutls.info, Node: Core TLS API, Next: High level TLS API, Up: API reference
|
7078
7472
|
|
7079
7473
|
E.1 Core TLS API
|
7080
7474
|
================
|
@@ -7534,6 +7928,8 @@ gnutls_certificate_get_peers_subkey_id
|
|
7534
7928
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
7535
7929
|
otherwise an error code is returned.
|
7536
7930
|
|
7931
|
+
*Since:* 3.1.3
|
7932
|
+
|
7537
7933
|
gnutls_certificate_send_x509_rdn_sequence
|
7538
7934
|
-----------------------------------------
|
7539
7935
|
|
@@ -7580,9 +7976,9 @@ gnutls_certificate_set_dh_params
|
|
7580
7976
|
This function will set the Diffie-Hellman parameters for a
|
7581
7977
|
certificate server to use. These parameters will be used in
|
7582
7978
|
Ephemeral Diffie-Hellman cipher suites. Note that only a pointer
|
7583
|
-
to the parameters are stored in the certificate handle, so
|
7584
|
-
deallocate the parameters before the certificate is
|
7585
|
-
|
7979
|
+
to the parameters are stored in the certificate handle, so you
|
7980
|
+
must not deallocate the parameters before the certificate is
|
7981
|
+
deallocated.
|
7586
7982
|
|
7587
7983
|
gnutls_certificate_set_ocsp_status_request_file
|
7588
7984
|
-----------------------------------------------
|
@@ -7606,6 +8002,8 @@ gnutls_certificate_set_ocsp_status_request_file
|
|
7606
8002
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
7607
8003
|
otherwise a negative error code is returned.
|
7608
8004
|
|
8005
|
+
*Since:* 3.1.3
|
8006
|
+
|
7609
8007
|
gnutls_certificate_set_ocsp_status_request_function
|
7610
8008
|
---------------------------------------------------
|
7611
8009
|
|
@@ -7638,6 +8036,8 @@ gnutls_certificate_set_ocsp_status_request_function
|
|
7638
8036
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
7639
8037
|
otherwise a negative error code is returned.
|
7640
8038
|
|
8039
|
+
*Since:* 3.1.3
|
8040
|
+
|
7641
8041
|
gnutls_certificate_set_params_function
|
7642
8042
|
--------------------------------------
|
7643
8043
|
|
@@ -8483,13 +8883,22 @@ gnutls_db_check_entry
|
|
8483
8883
|
|
8484
8884
|
SESSION_ENTRY: is the session data (not key)
|
8485
8885
|
|
8486
|
-
|
8487
|
-
when you want to clear unnecessary sessions which occupy space in
|
8488
|
-
your backend.
|
8886
|
+
This function has no effect.
|
8489
8887
|
|
8490
8888
|
*Returns:* Returns `GNUTLS_E_EXPIRED' , if the database entry has
|
8491
8889
|
expired or 0 otherwise.
|
8492
8890
|
|
8891
|
+
gnutls_db_check_entry_time
|
8892
|
+
--------------------------
|
8893
|
+
|
8894
|
+
-- Function: time_t gnutls_db_check_entry_time (gnutls_datum_t * ENTRY)
|
8895
|
+
ENTRY: is a pointer to a `gnutls_datum_t' structure.
|
8896
|
+
|
8897
|
+
This function returns the time that this entry was active. It can
|
8898
|
+
be used for database entry expiration.
|
8899
|
+
|
8900
|
+
*Returns:* The time this entry was created, or zero on error.
|
8901
|
+
|
8493
8902
|
gnutls_db_get_ptr
|
8494
8903
|
-----------------
|
8495
8904
|
|
@@ -8725,6 +9134,8 @@ gnutls_dh_params_export2_pkcs3
|
|
8725
9134
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
8726
9135
|
otherwise a negative error code is returned.
|
8727
9136
|
|
9137
|
+
*Since:* 3.1.3
|
9138
|
+
|
8728
9139
|
gnutls_dh_params_export_pkcs3
|
8729
9140
|
-----------------------------
|
8730
9141
|
|
@@ -8871,7 +9282,12 @@ gnutls_dh_set_prime_bits
|
|
8871
9282
|
Note that values lower than 512 bits may allow decryption of the
|
8872
9283
|
exchanged data.
|
8873
9284
|
|
8874
|
-
|
9285
|
+
The function has no effect in server side.
|
9286
|
+
|
9287
|
+
Note that since 3.1.7 this function is deprecated. The minimum
|
9288
|
+
number of bits is set by the priority string level. Also this
|
9289
|
+
function must be called after `gnutls_priority_set_direct()' or
|
9290
|
+
the set value may be overriden by the selected priority options.
|
8875
9291
|
|
8876
9292
|
gnutls_ecc_curve_get
|
8877
9293
|
--------------------
|
@@ -8983,8 +9399,8 @@ gnutls_fingerprint
|
|
8983
9399
|
|
8984
9400
|
This is the usual way to calculate a fingerprint of an X.509 DER
|
8985
9401
|
encoded certificate. Note however that the fingerprint of an
|
8986
|
-
OpenPGP is not just a hash and cannot be calculated
|
8987
|
-
function.
|
9402
|
+
OpenPGP certificate is not just a hash and cannot be calculated
|
9403
|
+
with this function.
|
8988
9404
|
|
8989
9405
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
8990
9406
|
otherwise an error code is returned.
|
@@ -9274,6 +9690,28 @@ gnutls_handshake_set_private_extensions
|
|
9274
9690
|
Enabling the private ciphersuites when talking to other than
|
9275
9691
|
gnutls servers and clients may cause interoperability problems.
|
9276
9692
|
|
9693
|
+
gnutls_handshake_set_random
|
9694
|
+
---------------------------
|
9695
|
+
|
9696
|
+
-- Function: int gnutls_handshake_set_random (gnutls_session_t
|
9697
|
+
SESSION, const gnutls_datum_t* RANDOM)
|
9698
|
+
SESSION: is a `gnutls_session_t' structure.
|
9699
|
+
|
9700
|
+
RANDOM: a random value of 32-bytes
|
9701
|
+
|
9702
|
+
This function will explicitly set the server or client hello
|
9703
|
+
random value in the subsequent TLS handshake. The random value
|
9704
|
+
should be a 32-byte value.
|
9705
|
+
|
9706
|
+
Note that this function should not normally be used as gnutls will
|
9707
|
+
select automatically a random value for the handshake.
|
9708
|
+
|
9709
|
+
This function should not be used when resuming a session.
|
9710
|
+
|
9711
|
+
*Returns:* `GNUTLS_E_SUCCESS' on success, or an error code.
|
9712
|
+
|
9713
|
+
Since 3.1.9
|
9714
|
+
|
9277
9715
|
gnutls_handshake_set_timeout
|
9278
9716
|
----------------------------
|
9279
9717
|
|
@@ -9287,7 +9725,8 @@ gnutls_handshake_set_timeout
|
|
9287
9725
|
provided value. Use an `ms' value of zero to disable timeout.
|
9288
9726
|
|
9289
9727
|
Note that in order for the timeout to be enforced
|
9290
|
-
`gnutls_transport_set_pull_timeout_function()' must be set
|
9728
|
+
`gnutls_transport_set_pull_timeout_function()' must be set (it is
|
9729
|
+
set by default in most systems).
|
9291
9730
|
|
9292
9731
|
gnutls_heartbeat_allowed
|
9293
9732
|
------------------------
|
@@ -9500,7 +9939,7 @@ gnutls_key_generate
|
|
9500
9939
|
|
9501
9940
|
KEY_SIZE: The number of bytes of the key.
|
9502
9941
|
|
9503
|
-
Generates a random key of `
|
9942
|
+
Generates a random key of `key_size' bytes.
|
9504
9943
|
|
9505
9944
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned, or an
|
9506
9945
|
error code.
|
@@ -9659,6 +10098,8 @@ gnutls_ocsp_status_request_enable_client
|
|
9659
10098
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
9660
10099
|
otherwise a negative error code is returned.
|
9661
10100
|
|
10101
|
+
*Since:* 3.1.3
|
10102
|
+
|
9662
10103
|
gnutls_ocsp_status_request_get
|
9663
10104
|
------------------------------
|
9664
10105
|
|
@@ -9676,6 +10117,8 @@ gnutls_ocsp_status_request_get
|
|
9676
10117
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
9677
10118
|
otherwise a negative error code is returned.
|
9678
10119
|
|
10120
|
+
*Since:* 3.1.3
|
10121
|
+
|
9679
10122
|
gnutls_ocsp_status_request_is_checked
|
9680
10123
|
-------------------------------------
|
9681
10124
|
|
@@ -10493,6 +10936,50 @@ gnutls_random_art
|
|
10493
10936
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
10494
10937
|
otherwise an error code is returned.
|
10495
10938
|
|
10939
|
+
gnutls_range_split
|
10940
|
+
------------------
|
10941
|
+
|
10942
|
+
-- Function: int gnutls_range_split (gnutls_session_t SESSION, const
|
10943
|
+
gnutls_range_st * ORIG, gnutls_range_st * NEXT,
|
10944
|
+
gnutls_range_st * REMAINDER)
|
10945
|
+
SESSION: is a `gnutls_session_t' structure
|
10946
|
+
|
10947
|
+
ORIG: is the original range provided by the user
|
10948
|
+
|
10949
|
+
NEXT: is the returned range that can be conveyed in a TLS record
|
10950
|
+
|
10951
|
+
REMAINDER: is the returned remaining range
|
10952
|
+
|
10953
|
+
This function should be used when it is required to hide the length
|
10954
|
+
of very long data that cannot be directly provided to
|
10955
|
+
`gnutls_record_send_range()' . In that case this function should
|
10956
|
+
be called with the desired length hiding range in `orig' . The
|
10957
|
+
returned `next' value should then be used in the next call to
|
10958
|
+
`gnutls_record_send_range()' with the partial data. That process
|
10959
|
+
should be repeated until `remainder' is (0,0).
|
10960
|
+
|
10961
|
+
*Returns:* 0 in case splitting succeeds, non zero in case of error.
|
10962
|
+
Note that `orig' is not changed, while the values of `next' and
|
10963
|
+
`remainder' are modified to store the resulting values.
|
10964
|
+
|
10965
|
+
gnutls_record_can_use_length_hiding
|
10966
|
+
-----------------------------------
|
10967
|
+
|
10968
|
+
-- Function: int gnutls_record_can_use_length_hiding (gnutls_session_t
|
10969
|
+
SESSION)
|
10970
|
+
SESSION: is a `gnutls_session_t' structure.
|
10971
|
+
|
10972
|
+
Returns true (1) if the current session supports length-hiding
|
10973
|
+
padding, false (0) if the current session does not. Returns a
|
10974
|
+
negative value in case of error. If the session supports
|
10975
|
+
length-hiding padding, you can invoke
|
10976
|
+
`gnutls_range_send_message()' to send a message whose length is
|
10977
|
+
hidden in the given range. If the session does not support length
|
10978
|
+
hiding padding, you can use the standard `gnutls_record_send()'
|
10979
|
+
function, or `gnutls_range_send_message()' making sure that the
|
10980
|
+
range is the same as the length of the message you are trying to
|
10981
|
+
send.
|
10982
|
+
|
10496
10983
|
gnutls_record_check_pending
|
10497
10984
|
---------------------------
|
10498
10985
|
|
@@ -10506,6 +10993,18 @@ gnutls_record_check_pending
|
|
10506
10993
|
|
10507
10994
|
*Returns:* Returns the size of the data or zero.
|
10508
10995
|
|
10996
|
+
gnutls_record_cork
|
10997
|
+
------------------
|
10998
|
+
|
10999
|
+
-- Function: void gnutls_record_cork (gnutls_session_t SESSION)
|
11000
|
+
SESSION: is a `gnutls_session_t' structure.
|
11001
|
+
|
11002
|
+
If called `gnutls_record_send()' will no longer send partial
|
11003
|
+
records. All queued records will be sent when `gnutls_uncork()'
|
11004
|
+
is called, or when the maximum record size is reached.
|
11005
|
+
|
11006
|
+
*Since:* 3.1.9
|
11007
|
+
|
10509
11008
|
gnutls_record_disable_padding
|
10510
11009
|
-----------------------------
|
10511
11010
|
|
@@ -10518,8 +11017,8 @@ gnutls_record_disable_padding
|
|
10518
11017
|
complain if a server pads the encrypted data. This of course will
|
10519
11018
|
disable protection against statistical attacks on the data.
|
10520
11019
|
|
10521
|
-
|
10522
|
-
|
11020
|
+
This functions is defunt since 3.1.7. Random padding is disabled
|
11021
|
+
by default unless requested using `gnutls_range_send_message()' .
|
10523
11022
|
|
10524
11023
|
gnutls_record_get_direction
|
10525
11024
|
---------------------------
|
@@ -10643,6 +11142,56 @@ gnutls_record_send
|
|
10643
11142
|
number of bytes this function can send in a single call depends on
|
10644
11143
|
the negotiated maximum record size.
|
10645
11144
|
|
11145
|
+
gnutls_record_send_range
|
11146
|
+
------------------------
|
11147
|
+
|
11148
|
+
-- Function: ssize_t gnutls_record_send_range (gnutls_session_t
|
11149
|
+
SESSION, const void * DATA, size_t DATA_SIZE, const
|
11150
|
+
gnutls_range_st * RANGE)
|
11151
|
+
SESSION: is a `gnutls_session_t' structure.
|
11152
|
+
|
11153
|
+
DATA: contains the data to send.
|
11154
|
+
|
11155
|
+
DATA_SIZE: is the length of the data.
|
11156
|
+
|
11157
|
+
RANGE: is the range of lengths in which the real data length must
|
11158
|
+
be hidden.
|
11159
|
+
|
11160
|
+
This function operates like `gnutls_record_send()' but, while
|
11161
|
+
`gnutls_record_send()' adds minimal padding to each TLS record,
|
11162
|
+
this function uses the TLS extra-padding feature to conceal the
|
11163
|
+
real data size within the range of lengths provided. Some TLS
|
11164
|
+
sessions do not support extra padding (e.g. stream ciphers in
|
11165
|
+
standard TLS or SSL3 sessions). To know whether the current
|
11166
|
+
session supports extra padding, and hence length hiding, use the
|
11167
|
+
`gnutls_record_can_use_length_hiding()' function.
|
11168
|
+
|
11169
|
+
*Note_* This function currently is only limited to blocking
|
11170
|
+
sockets.
|
11171
|
+
|
11172
|
+
*Returns:* The number of bytes sent (that is data_size in a
|
11173
|
+
successful invocation), or a negative error code.
|
11174
|
+
|
11175
|
+
gnutls_record_set_max_empty_records
|
11176
|
+
-----------------------------------
|
11177
|
+
|
11178
|
+
-- Function: void gnutls_record_set_max_empty_records
|
11179
|
+
(gnutls_session_t SESSION, const unsigned int I)
|
11180
|
+
SESSION: is a `gnutls_session_t' structure.
|
11181
|
+
|
11182
|
+
I: is the desired value of maximum empty records that can be
|
11183
|
+
accepted in a row.
|
11184
|
+
|
11185
|
+
Used to set the maximum number of empty fragments that can be
|
11186
|
+
accepted in a row. Accepting many empty fragments is useful for
|
11187
|
+
receiving length-hidden content, where empty fragments filled with
|
11188
|
+
pad are sent to hide the real length of a message. However, a
|
11189
|
+
malicious peer could send empty fragments to mount a DoS attack,
|
11190
|
+
so as a safety measure, a maximum number of empty fragments is
|
11191
|
+
accepted by default. If you know your application must accept a
|
11192
|
+
given number of empty fragments in a row, you can use this
|
11193
|
+
function to set the desired value.
|
11194
|
+
|
10646
11195
|
gnutls_record_set_max_size
|
10647
11196
|
--------------------------
|
10648
11197
|
|
@@ -10667,6 +11216,45 @@ gnutls_record_set_max_size
|
|
10667
11216
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
10668
11217
|
otherwise a negative error code is returned.
|
10669
11218
|
|
11219
|
+
gnutls_record_set_timeout
|
11220
|
+
-------------------------
|
11221
|
+
|
11222
|
+
-- Function: void gnutls_record_set_timeout (gnutls_session_t SESSION,
|
11223
|
+
unsigned int MS)
|
11224
|
+
SESSION: is a `gnutls_session_t' structure.
|
11225
|
+
|
11226
|
+
MS: is a timeout value in milliseconds
|
11227
|
+
|
11228
|
+
This function sets the receive timeout for the record layer to the
|
11229
|
+
provided value. Use an `ms' value of zero to disable timeout (the
|
11230
|
+
default).
|
11231
|
+
|
11232
|
+
Note that in order for the timeout to be enforced
|
11233
|
+
`gnutls_transport_set_pull_timeout_function()' must be set (it is
|
11234
|
+
set by default in most systems).
|
11235
|
+
|
11236
|
+
*Since:* 3.1.7
|
11237
|
+
|
11238
|
+
gnutls_record_uncork
|
11239
|
+
--------------------
|
11240
|
+
|
11241
|
+
-- Function: int gnutls_record_uncork (gnutls_session_t SESSION,
|
11242
|
+
unsigned int FLAGS)
|
11243
|
+
SESSION: is a `gnutls_session_t' structure.
|
11244
|
+
|
11245
|
+
FLAGS: Could be zero or `GNUTLS_RECORD_WAIT'
|
11246
|
+
|
11247
|
+
This resets the effect of `gnutls_cork()' , and flushes any pending
|
11248
|
+
data. If the `GNUTLS_RECORD_WAIT' flag is specified then this
|
11249
|
+
function will block until the data is sent or a fatal error occurs
|
11250
|
+
(i.e., the function will retry on `GNUTLS_E_AGAIN' and
|
11251
|
+
`GNUTLS_E_INTERRUPTED' ).
|
11252
|
+
|
11253
|
+
*Returns:* On success the number of transmitted data is returned,
|
11254
|
+
or otherwise a negative error code.
|
11255
|
+
|
11256
|
+
*Since:* 3.1.9
|
11257
|
+
|
10670
11258
|
gnutls_rehandshake
|
10671
11259
|
------------------
|
10672
11260
|
|
@@ -10847,6 +11435,17 @@ gnutls_session_enable_compatibility_mode
|
|
10847
11435
|
Normally only servers that require maximum compatibility with
|
10848
11436
|
everything out there, need to call this function.
|
10849
11437
|
|
11438
|
+
gnutls_session_force_valid
|
11439
|
+
--------------------------
|
11440
|
+
|
11441
|
+
-- Function: void gnutls_session_force_valid (gnutls_session_t SESSION)
|
11442
|
+
SESSION: is a `gnutls_session_t' structure.
|
11443
|
+
|
11444
|
+
Clears the invalid flag in a session. That means that sessions
|
11445
|
+
were corrupt or invalid data were received can be re-used. Use
|
11446
|
+
only when debugging or experimenting with the TLS protocol. Should
|
11447
|
+
not be used in typical applications.
|
11448
|
+
|
10850
11449
|
gnutls_session_get_data
|
10851
11450
|
-----------------------
|
10852
11451
|
|
@@ -10887,6 +11486,21 @@ gnutls_session_get_data2
|
|
10887
11486
|
*Returns:* On success, `GNUTLS_E_SUCCESS' (0) is returned,
|
10888
11487
|
otherwise an error code is returned.
|
10889
11488
|
|
11489
|
+
gnutls_session_get_desc
|
11490
|
+
-----------------------
|
11491
|
+
|
11492
|
+
-- Function: char * gnutls_session_get_desc (gnutls_session_t SESSION)
|
11493
|
+
SESSION: is a gnutls session
|
11494
|
+
|
11495
|
+
This function returns a string describing the current session.
|
11496
|
+
The string is null terminated and allocated using
|
11497
|
+
`gnutls_malloc()' .
|
11498
|
+
|
11499
|
+
*Returns:* a description of the protocols and algorithms in the
|
11500
|
+
current session.
|
11501
|
+
|
11502
|
+
*Since:* 3.1.10
|
11503
|
+
|
10890
11504
|
gnutls_session_get_id
|
10891
11505
|
---------------------
|
10892
11506
|
|
@@ -11881,6 +12495,37 @@ gnutls_tdb_set_verify_func
|
|
11881
12495
|
gnutls_tdb_verify_func(const char* db_name, const char* host,
|
11882
12496
|
const char* service, const gnutls_datum_t* pubkey);
|
11883
12497
|
|
12498
|
+
gnutls_transport_get_int
|
12499
|
+
------------------------
|
12500
|
+
|
12501
|
+
-- Function: int gnutls_transport_get_int (gnutls_session_t SESSION)
|
12502
|
+
SESSION: is a `gnutls_session_t' structure.
|
12503
|
+
|
12504
|
+
Used to get the first argument of the transport function (like
|
12505
|
+
PUSH and PULL). This must have been set using
|
12506
|
+
`gnutls_transport_set_int()' .
|
12507
|
+
|
12508
|
+
*Returns:* The first argument of the transport function.
|
12509
|
+
|
12510
|
+
*Since:* 3.1.9
|
12511
|
+
|
12512
|
+
gnutls_transport_get_int2
|
12513
|
+
-------------------------
|
12514
|
+
|
12515
|
+
-- Function: void gnutls_transport_get_int2 (gnutls_session_t SESSION,
|
12516
|
+
int * RECV_INT, int * SEND_INT)
|
12517
|
+
SESSION: is a `gnutls_session_t' structure.
|
12518
|
+
|
12519
|
+
RECV_INT: will hold the value for the pull function
|
12520
|
+
|
12521
|
+
SEND_INT: will hold the value for the push function
|
12522
|
+
|
12523
|
+
Used to get the arguments of the transport functions (like PUSH
|
12524
|
+
and PULL). These should have been set using
|
12525
|
+
`gnutls_transport_set_int2()' .
|
12526
|
+
|
12527
|
+
*Since:* 3.1.9
|
12528
|
+
|
11884
12529
|
gnutls_transport_get_ptr
|
11885
12530
|
------------------------
|
11886
12531
|
|
@@ -11948,6 +12593,38 @@ gnutls_transport_set_errno_function
|
|
11948
12593
|
|
11949
12594
|
*Since:* 2.12.0
|
11950
12595
|
|
12596
|
+
gnutls_transport_set_int
|
12597
|
+
------------------------
|
12598
|
+
|
12599
|
+
-- Function: void gnutls_transport_set_int (gnutls_session_t SESSION,
|
12600
|
+
int I)
|
12601
|
+
SESSION: is a `gnutls_session_t' structure.
|
12602
|
+
|
12603
|
+
I: is the value.
|
12604
|
+
|
12605
|
+
Used to set the first argument of the transport function (for push
|
12606
|
+
and pull callbacks) for berkeley style sockets.
|
12607
|
+
|
12608
|
+
*Since:* 3.1.9
|
12609
|
+
|
12610
|
+
gnutls_transport_set_int2
|
12611
|
+
-------------------------
|
12612
|
+
|
12613
|
+
-- Function: void gnutls_transport_set_int2 (gnutls_session_t SESSION,
|
12614
|
+
int RECV_INT, int SEND_INT)
|
12615
|
+
SESSION: is a `gnutls_session_t' structure.
|
12616
|
+
|
12617
|
+
RECV_INT: is the value for the pull function
|
12618
|
+
|
12619
|
+
SEND_INT: is the value for the push function
|
12620
|
+
|
12621
|
+
Used to set the first argument of the transport function (for push
|
12622
|
+
and pull callbacks), when using the berkeley style sockets. With
|
12623
|
+
this function you can set two different pointers for receiving and
|
12624
|
+
sending.
|
12625
|
+
|
12626
|
+
*Since:* 3.1.9
|
12627
|
+
|
11951
12628
|
gnutls_transport_set_ptr
|
11952
12629
|
------------------------
|
11953
12630
|
|
@@ -12013,7 +12690,7 @@ gnutls_transport_set_pull_timeout_function
|
|
12013
12690
|
not suitable for the provided transport calls. The callback
|
12014
12691
|
function is used in DTLS only.
|
12015
12692
|
|
12016
|
-
`gnutls_pull_timeout_func' is of the form,
|
12693
|
+
`gnutls_pull_timeout_func' is of the form, int
|
12017
12694
|
(*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int
|
12018
12695
|
ms);
|
12019
12696
|
|