hi,
i write private key and certificate on my smartcard using opensc. the lines
i use to init the
card are the follow:
./pkcs15-init -E -C -T -d
./pkcs15-init -P --pin 123456 --puk 123456 -a 1 -l PIN1 -T
./pkcs15-init --pin 123456 --label "Test" -a 1 -S "/mycert.pfx" -f PKCS12 -T

i succesfully import the certificate in mozilla and I try to use it with my
applet to
sign some data. I celect the certificate but findPrivKeyByCert() can't
locate
the privatekey matching my certificate.
I think that the label of all objects (private key & certificate) should be
the same.
How can i get this done or how can i receive the private key in JSS applet?

Alexander


_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to