How To Give Certificate Name

Posted by Dotnetrajanikanth under ASP.NET on 10/31/2012 | Points: 10 | Views : 855 | Status : [Member] | Replies : 0
Hi,

I got a code for creating self signed certificates, In that while calling a function i am unable to specify the certificate name because i dont know how to give that.
Collapse | Copy Code

Public Shared Function CreateSelfSignCertificate(ByVal distinguishedName As X500DistinguishedName, ByVal startDate As DateTime, ByVal endDate As DateTime) As X509Certificate2



How to give the distinguishedName?
the name i want to give to my certificate is "alcohol" how can i accomplish this. Please help its really urgent.

I have attached the class file please check it.

____________
www.flickr.com/photos/psdesigner/



Responses

(No response found.)

Login to post response