public static CreateCertificate ( string storeType, string storePath, string applicationUri, string applicationName, string subjectName = null, IList |
||
storeType | string | Type of certificate store (Directory) |
storePath | string | The store path (syntax depends on storeType). |
applicationUri | string | The application uri (created if not specified). |
applicationName | string | Name of the application (optional if subjectName is specified). |
subjectName | string | The subject used to create the certificate (optional if applicationName is specified). |
serverDomainNames | IList |
|
keySize | ushort | Size of the key (1024, 2048 or 4096). |
lifetimeInMonths | ushort | The lifetime of the key in months. |
hashSizeInBits | ushort | The hash size in bits. |
return | X509Certificate2 |
CertificateFactory::CreateCertificate ( string storeType, string storePath, string password, string applicationUri, string applicationName, string subjectName, IList |