summaryrefslogtreecommitdiff
path: root/p11-kit/pin.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix the flags in pin.hStef Walter2012-06-081-6/+6
| | | | | | | | | * Due to a brain fart the P11_KIT_PIN_* flags were not bit flags but decimal numbers. * This necessarily breaks API/ABI for users of the P11_KIT_PIN_FLAGS_RETRY, P11_KIT_PIN_FLAGS_MANY_TRIES and P11_KIT_PIN_FLAGS_FINAL_TRY flags. But those wouldn't have worked anyway.
* Update PKCS#11 URI code for new draft of specStef Walter2011-08-051-5/+5
| | | | | | | | | * 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.
* More fine tuning of the pin APIs.Stef Walter2011-07-061-1/+3
|
* Add documentation for PIN callbacks.Stef Walter2011-07-061-2/+2
|
* Add P11KitPin structure, which encapsulates a returned pin.Stef Walter2011-07-061-12/+32
| | | | | * Lets us use variable size buffers. * Helps minimize copying.
* Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieveStef Walter2011-07-061-2/+2
| | | | * Fix up duplicate register logic as well.
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-061-0/+85
* 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.