Karl Mauer wrote: > I want to write a C++ program, that imports a p12-Certificate into the > security manager.
If that's all you want to do, there is already a program that can do that. You could use it as is, or you could study it to see how to do whatever else you want to do. The program is pk12util, and you will find the sources here: http://lxr.mozilla.org/security/source/security/nss/cmd/pk12util/ I encourage you to study the sources to various program in nss/cmd to see how they work. They're not the most beautiful code ever written, but they should provide clues about how to do the job you want to do. Welcome to NSS. -- Nelson B
