NSS Library Init: Difference between revisions

Jump to navigation Jump to search
Line 66: Line 66:
Scenario 1.
Scenario 1.


1. Application calls NSS_Init(). NSS_Init uses configdir to decide what PKCS #11 modules to load and what databases softoken opens.
#. Application calls NSS_Init(). NSS_Init uses configdir to decide what PKCS #11 modules to load and what databases softoken opens.
 
#. Library then calls NSS_Init(). Library ends up using whatever application already openned (in general, this ok, it make sense the the application controls what databases are used by all libraries it uses).
2. Library then calls NSS_Init(). Library ends up using whatever application already openned (in general, this ok, it make sense the the application controls what databases are used by all libraries it uses).
#*< at this point only the application specified databases are open >
 
< at this point only the application specified databases are open >


3. Library noticed that NSS was initializied already and does not call shutdown (hopefully).
3. Library noticed that NSS was initializied already and does not call shutdown (hopefully).
439

edits

Navigation menu