how to create keystore by using NSS certutil

Kelly <[email protected]>
Newsgroups gmane.comp.mozilla.security
Message-ID <[email protected]>
hi,
    can anybody tell me how to create a keystore using certutil tool in NSS. and then write a cert into it.
in fact, certutil is an command tool, but i want to use it in my app,who can help me to package it to a API function, or give me a demo
Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.