summaryrefslogtreecommitdiff
path: root/tests/pin-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Update PKCS#11 URI code for new draft of specStef Walter2011-08-051-19/+19
| | | | | | | | | * pinfile attribute was renamed to pin-source * objecttype attribute was renamed to object-type * secretkey value was renamed to secret-key We continue to support parsing the old attribute names and values but generate URIs with the new ones.
* Add documentation for PIN callbacks.Stef Walter2011-07-061-9/+9
|
* Add P11KitPin structure, which encapsulates a returned pin.Stef Walter2011-07-061-51/+110
| | | | | * Lets us use variable size buffers. * Helps minimize copying.
* Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieveStef Walter2011-07-061-19/+19
| | | | * Fix up duplicate register logic as well.
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-061-0/+237
* These are callbacks that hanlde the pinfile part of a PKCS#11 URI. * One library can register a callback that another can then call in a thread-safe and simple fashion.