On Tue, Feb 09, 2010, Becky H wrote: > Hello - > > Two openssl functions require *key_id as an argument. What is this? > > EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, > UI_METHOD *ui_method, void *callback_data); > > EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, > UI_METHOD *ui_method, void *callback_data); > > >From examples I've found on the internet, it appears to be some type of slot > >id > for a USB token. If this is true, how do I find the id? I am using a Aladdin > token > on a Linux system. >
Just to answer the general question. It is an ASCII string used by the ENGINE to load the key. It could be a name like "Steve's Key" or some other identifier. It is up to individual ENGINEs as to how they interpret that parameter. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org