Hello Kim,

On Tue, 2005-20-09 at 14:13 +0200, Hellan.Kim KHE wrote:
> I need to create the following simple PKCS#12:
> 
> - Containing private key and certificate
> 
> - Containing 1 additional certificate
> 
> - With a "Friendly Name" specified
> 
> - Password protected
> 
>  
> 
> Does anyone have a small example for that, or can you direct to where
> I can find examples for Mono cryptograpy?

Mono's makecert tool supports creating PKCS#12 files.
http://svn.myrealbox.com/source/trunk/mcs/tools/security/makecert.cs

This should answers most of your questions - except for the friendly
name. For this you'll need to look at the source code...
http://svn.myrealbox.com/source/trunk/mcs/class/Mono.Security/Mono.Security.X509/PKCS12.cs

-- 
Sebastien Pouliot
email: [EMAIL PROTECTED]
blog: http://pages.infinit.net/ctech/

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to