Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function CreateCertificate( _ ByVal storeType As String, _ ByVal storePath As String, _ ByVal password As String, _ ByVal applicationUri As String, _ ByVal applicationName As String, _ ByVal subjectName As String, _ ByVal domainNames As IList(Of String), _ ByVal keySize As UShort, _ ByVal lifetimeInMonths As UShort, _ ByVal isCA As Boolean, _ ByVal issuerKeyFilePath As String, _ ByVal issuerKeyFilePassword As String _ ) As X509Certificate2 |
C# | |
---|---|
public static X509Certificate2 CreateCertificate( string storeType, string storePath, string password, string applicationUri, string applicationName, string subjectName, IList<string> domainNames, ushort keySize, ushort lifetimeInMonths, bool isCA, string issuerKeyFilePath, string issuerKeyFilePassword ) |
Parameters
- storeType
- storePath
- password
- applicationUri
- applicationName
- subjectName
- domainNames
- keySize
- lifetimeInMonths
- isCA
- issuerKeyFilePath
- issuerKeyFilePassword
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family