Hi,,
I support CKM_RSA_PKCS algorithm only in C_GetMechanismLsit, and
Netscape (i used version 4.77) called C_FindObjectsInit, C_FindObj,
C_FindObjFinal and C_GetAttributeValue several rounds consecutively(I
don't know why yet)
, passing me the template with one attribute which is CK_CLASS with
value CKO_CERTIFICATE.
In C_GetAttributeValue, i filled in my der encoded Certificate into
CKA_VALUE, and set an arbitrary value to CKA_LABEL and CKA_ID., as
requested by Netscape. However, after this, Netscape didn't show up my
certificate when i tried to view it in security Info after i added in
the pkcs11 module. Anybody can shed some lights on this? Thanks in
advance.., Netscape doesn't call C_CreateObjecr if i only support
CKM_RSA_PKCS in my mechanism list, must i support other algorithm(s)
or what are the missing things that i need to implement in order to
push my smart card user's certificate into Netscape through PKCS11?