summaryrefslogtreecommitdiff
path: root/gck/gck.h
Commit message (Collapse)AuthorAgeFilesLines
* Split Gcr and Gck libraries out of gnome-keyringsplitStef Walter2011-10-061-1324/+0
|
* gck: Add support for setting attributes in an arrayStef Walter2011-10-041-0/+16
| | | | | * Either change the attribute to the new value, or add an attribute if one doesn't exist.
* gck: Integrate GTlsInteraction into libgckStef Walter2011-10-031-3/+53
| | | | | | * Deprecate the GckModule signals which were used for password auth * Fire deprecated GckModule signals from a compat GTlsInteraction * Add some tests for this integration
* gck: Fix more argument typesStef Walter2011-09-301-7/+7
| | | | * and mark up introspection annotations on some more arrays
* gck: More introspection tweaks, checking for parameters which allow noneStef Walter2011-09-291-12/+12
|
* gck: More introspection and documentation cleanupStef Walter2011-09-291-7/+7
| | | | * In particular, use guchar * for arrays of bytes.
* gck: Documentation, introspection, and header fixesStef Walter2011-09-291-14/+15
|
* gck: Work around g-ir-scanner syntax problemStef Walter2011-09-291-10/+20
| | | | * Separate typedef from structure declaration.
* Gck: GckAttribute value field is a byte arrayStef Walter2011-09-291-5/+9
|
* gck: Fix introspection warnings and complete introspection annotationsStef Walter2011-09-281-34/+71
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655651
* gcr: Refactor the importer with multiple registered importersStef Walter2011-09-271-0/+4
| | | | | | | | | * Allow multiple importers to register, and have a way for them to identify whether something is importable by the importer or not. * Create a new GnuPG keyring importer. * Add boxed type for a GList of GObject * Some other minor cleanups.
* gck: Add functions for matching uri to modules and tokensStef Walter2011-09-091-2/+12
|
* gck: Add debug output to GckEnumerator and bits of GckSessionStef Walter2011-08-311-0/+4
| | | | | * Also fix up Gcr debugging * And add debugging to trust stuff.
* gck: Cleanup gck API for consistencyStef Walter2011-08-251-1/+3
| | | | | | * The GCK library is incrementing its major library version number this release cycle. So take that advantage to cleanup the API a little bit before stable releases.
* gck: Add async initialization functions.Stef Walter2011-08-251-1/+16
| | | | | * PKCS#11 modules can take indeterminate time to initialize * Allow initialization in a separate thread
* gck: Update GckUriFlags to match p11-kitStef Walter2011-07-061-4/+14
|
* Remove extraneous argument from gck_module_new and gck_module_initializeStef Walter2011-07-061-4/+2
| | | | | | | * Since the signature of these functions changed anyway (API not yet stable, we are going to clean them up a bit more. * The xxx_full versions may be needed in the future if more options show up.
* gck: Use p11-kit for module loading, messages, and uri parsing.Stef Walter2011-07-061-21/+31
|
* gck: Cleanup the documentationStef Walter2011-04-051-256/+75
|
* [gck] Update PKCS#11 URI to add library support.Stef Walter2011-01-191-6/+23
| | | | | Add library-description and library-description and library-manufacturer parts. And refactor to support parsing in different contexts better.
* [gck] Allow enumeration over slots as well as modules.Stef Walter2010-12-181-0/+4
| | | | | Can now enumerate object over a list of slots, as well as a list of modules.
* [gck] Add functionality for dumping PKCS#11 attributes.Stef Walter2010-11-291-0/+3
| | | | gck_attribute_dump() and gck_attributes_dump()
* Merge branch 'ui-widgets'Stef Walter2010-10-051-0/+6
|\
| * Merge branch 'gck-work' into ui-widgetsStef Walter2010-08-281-0/+6
| |
* | [gck] Mark the gck API as unstable with a define.Stef Walter2010-10-011-1/+10
| | | | | | | | Use -DGCK_API_SUBJECT_TO_CHANGE in order to compile.
* | [gck] GckAttribute with const value pointer.Stef Walter2010-09-281-1/+1
| | | | | | | | | | We want to reinforce the fact that attributes are not modifiable once they're setup.
* | [gck] Simplify use of GckMechanismStef Walter2010-09-281-11/+1
| | | | | | | | | | | | | | There's no way to do a deep copy of a GckMechanisms aka CK_MECHANISM. The parameter may contain pointers to other memory else where. So we do a shallow copy instead. The memory is expected to stay around just like a buffer.
* | [gck] Cleanup use of 'full' functions.Stef Walter2010-09-271-38/+38
| | | | | | | | | | | | | | * Expect GCancellable in more places. * Remove a bunch of xxx_full() functions that are redundant. * Add a few xxx_full() functions where we don't want to have to fill in full mechanisms.
* | [gck] Add session options, remove module options.Stef Walter2010-09-271-18/+28
| | | | | | | | | | | | Add concept of session options, which are different (but sometimes related to) session PKCS#11 flags. The session options take the place of module options, which were much harder to use appropriately.
* | [gck] Add gck_attributes_add_all() for copying GckAttributesStef Walter2010-09-181-0/+3
| | | | | | | | New function allows deep copying of a GckAttributes array.
* | [gck] Expose CK_BBOOL and CK_ULONG casting helpers.Stef Walter2010-09-181-0/+8
|/ | | | | Add gck_value_to_ulong() and gck_value_to_boolean() to check and cast CK_BBOOL and CK_ULONG.
* Port gnome-keyring to new gck library.Stef Walter2010-08-251-0/+2
|
* [gck] Implement PkCS#11 URI's and enumerationStef Walter2010-08-091-17/+96
| | | | | * PKCS#11 URI spec is not completely finalized yet. * Removed old callback style enumeration and replaced with gio style.
* [gck] Add methods for listing and initializing registered modules.Stef Walter2010-08-011-0/+4
| | | | | * We use the concept of a PKCS #11 registry as outlined here: http://wiki.cacert.org/Pkcs11TaskForce
* [gck] Make various objects pretty much immutable.Stef Walter2010-08-011-8/+15
| | | | | * Except for certain flags used during destruction, which we use atomically internally.
* [gck] Remove most complex var args functions.Stef Walter2010-07-311-49/+0
| | | | | | * These functions could not be bound through gobject introspection. * They were hard to get right even in C, because the varargs were triples.
* [gck] Remove session pooling, and add concept of module list.Stef Walter2010-07-301-11/+15
| | | | | | * Session pooling no langer necessary now that we track sessions properly in GckObject. This was of dubious value anyway. * Added concept of a module list.
* [gck] Fix some indentationStef Walter2010-07-301-6/+6
|
* [gck] More header cleanups.Stef Walter2010-07-301-55/+1
|
* [gck] Objects keep reference to sessions not slots.Stef Walter2010-07-301-8/+2
| | | | * This better models the way that PKCS#11 actually works.
* [gck] In preparation for public release, rename library.Stef Walter2010-07-291-0/+1297
* Next steps will include cleaning up the API making it ready for gobject introspection etc..