Hello together, I need to implement a PKCS11-library which simulates a smart-card and responds to login attempts with SSL certificates.
I have found out that SSL needs the following mechanisms, so the "C_GetMechanismList" of my library specifies them as supported. - CKM_SSL3_PRE_MASTER_KEY_GEN - CKM_SSL3_MASTER_KEY_DERIVE - CKM_SSL3_KEY_AND_MAC_DERIVE - CKM_SSL3_MD5_MAC - CKM_SSL3_SHA1_MAC When trying to login using SSL the following functions are called before the firefox crashes ! :/ These are my questions: 1) What are these objects: ce534354, ce534353, b316030, 102, 318c8130, e0d0302 2) Where can I find (in cross-reference ) the source code of firefox/NSS which communicates with my library ? 3) Which algorithm is used for login with SSL ? Thank you in advance. - Raad +----------------------------------------------- C_GetFunctionList +----------------------------------------------- C_Initialize +----------------------------------------------- C_GetInfo +----------------------------------------------- C_GetSlotList +----------------------------------------------- C_GetSlotList +----------------------------------------------- C_GetSlotInfo +----------------------------------------------- C_GetTokenInfo +----------------------------------------------- C_GetMechanismList +----------------------------------------------- C_OpenSession with: lag: 4l slotId: 22l +----------------------------------------------- C_FindObjectsInit with: session-handle: 100 ulCount: 1 Attr0 Value: ce534354 +----------------------------------------------- C_FindObjects with: session-handle: 100 +----------------------------------------------- C_FindObjectsFinal +----------------------------------------------- C_GetSlotInfo +----------------------------------------------- C_FindObjectsInit with: session-handle: 100 ulCount: 4 template ======================== Attr0 Type: 1 Attr0 Value: 1 Attr0 ulValueLen: 1 -------------- Attr1 Type: 0l Attr1 Value: ce534353 Attr1 ulValueLen: 8 -------------- Attr2 Type: 129l Attr2 Value: b316030 Attr2 ulValueLen: 98l -------------- Attr3 Type: 130l Attr3 Value: 102 Attr3 ulValueLen: 3l +----------------------------------------------- C_FindObjects with: session-handle: 100 ulMaxObjectCount: 1 +----------------------------------------------- C_FindObjectsFinal +----------------------------------------------- C_FindObjectsInit with: session-handle: 100l ulCount: 4l template: Attr0 Type: 1l Attr0 Value X: 1 Attr0 ulValueLen: 1l -------------- Attr1 Type: 0l Attr1 Value: 1 Attr1 ulValueLen: 8l -------------- Attr2 Type: 129l Attr2 Value: 318c8130 Attr2 ulValueLen: 143l -------------- Attr3 Type L: 130l Attr3 Value: e0d0302 Attr3 ulValueLen: 5l +----------------------------------------------- C_FindObjects with: session-handle: 100l ulMaxObjectCount: 1l +----------------------------------------------- C_FindObjectsFinal +----------------------------------------------- C_GetAttributeValue with: session-handle: 100l hObject: 71l ulCount: 2l template: Attr0 Type X: 1l -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto