views:

29

answers:

2

I want to create pkcs12 private and public key files in c# .net

I want to do this really without having to use makecert.exe or any external programs.

Does anyone know any .net library’s to do this with or any resource so i could create the files myself?

Thanks

+1  A: 

You can use BouncyCastle. This question is phrased differently, but on the same subject: http://stackoverflow.com/questions/3770233/is-it-possible-to-programmatically-generate-an-x509-certificate-using-only-c

Bruno
A: 

PKIBlackbox package of our SecureBlackbox product lets you generate and manage certificates in .NET.

Eugene Mayevski 'EldoS Corp
Yes, but what about creating PKCS#12 files?
GregS
@GregS As well. SecureBlackbox supports DER, PEM, PKC#7, PKCS#12, PKCS#8, JKS and NET formats for storing certificates.
Eugene Mayevski 'EldoS Corp
@Eugene: Thanks, I'll have to play with that sometime.
GregS