libhsm will be written asap to integrate all pkcs#11 code into one easy to use library. John, Jelte and I have discussed the API for a week or so, please see http://www.opendnssec.se/browser/trunk/libhsm/src/hsm.h for our proposed libhsm API and send comments to the list. jakob