work with CURVE security certificate stores Create a new certificate store from a disk directory, loading and indexing all certificates in that location. The directory itself may be absent, and created later, or modified at any time. The certificate store is automatically refreshed on any zcertstore_lookup() call. If the location is specified as NULL, creates a pure-memory store, which you can work with by inserting certificates at runtime. Destroy a certificate store object in memory. Does not affect anything stored on disk. Loaders retrieve certificates from an arbitrary source. Destructor for loader state. Override the default disk loader with a custom loader fn. Look up certificate by public key, returns zcert_t object if found, else returns NULL. The public key is provided in Z85 text format. Insert certificate into certificate store in memory. Note that this does not save the certificate to disk. To do that, use zcert_save() directly on the certificate. Takes ownership of zcert_t object. Empty certificate hashtable. This wrapper exists to be friendly to bindings, which don't usually have access to struct internals. Print list of certificates in store to logging facility Self test of this class