Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PK11_FindCertFromNickname() nickname

13 views
Skip to first unread message

Rob Crittenden

unread,
Oct 15, 2020, 10:08:11 PM10/15/20
to mozilla-dev...@lists.mozilla.org
When using PK11_FindCertFromNickname() with the softokn it seems that
using a raw nickname works fine (e.g. Server-Cert vs NSS Certificate
DB:Server-Cert).

Looking for a nickname on a PKCS#11 token seems to require the token
name in the nickname, "tokenname:Server-Cert".

Is it safe to assume that if the slot isn't the internal slot to just
prefix the nickname with the token to call PK11_FindCertFromNickname()?

rob
0 new messages