Applications can avoid final case of failure by forcing the user to authenticate to softoken using PK11_Authenticate().
<pre> configdir = PR_smprintf("sql:%s",oldconfigdir); rv = NSS_InitReadWrite(configdir); if (rv != SECSuccess) { goto fail; }
slot = PK11_GetInternalKeySlot(); /* optional */ rv = PK11_Authenticate(slot , PR_FALSE, pwArg); if (rv != SECSuccess) { goto fail; } /* database has been updated... */</pre>
====== Mode 3A ======