On Tue, 13 Apr 1999, Dr Stephen Henson wrote:
> I was thinking more along the lines of the PKCS#11 (but cut down a bit)
> to handle this kind of thing where you treat each 'object' as a set of
> 'attributes' and can search for objects that match a given attribute.
> Something like:
> 
> int search(X509DB *db, int obj_type, int attr_type, void *attr,       
>                                              int attrlen, STACK **ret);

Perhaps it makes sense to look at existing APIs which handle this kind
of thing such as CDSA, Gutman's API, CAPI2 keystores, etc...
The API is (getting so) big that adopting existing ones, even if
not perfect, should be a goal.
        /r$

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to