Hi everyone,

 

I am using following function to load a private key from a certain slot
of a HSM:

 

        EVP_PKEY *ENGINE_load_private_key(    ENGINE *e, 
                                               const char *key_id,
                                              UI_METHOD *ui_method, 
                                              void *callback_data);

 

Can I provide a PIN-code directly to the HSM using this function, i.e.
not by asking the user to type it in, but by passing the PIN-code as a
parameter?

 

If not, is there another function to directly pass a PIN-code to the
HSM?

 

Thanks,


Frederik

Reply via email to