EasyUA Reference
CreateCertificate(String,String,String,String,String,IList<String>,UInt16,UInt16,UInt16) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > CertificateFactory Class > CreateCertificate Method : CreateCertificate(String,String,String,String,String,IList<String>,UInt16,UInt16,UInt16) Method

storeType
storePath
applicationUri
applicationName
subjectName
domainNames
keySize
lifetimeInMonths
algorithm

Glossary Item Box

Creates a self signed application instance certificate (with option to specify algorithm)

Syntax

Visual Basic (Usage)Copy Code
Dim storeType As String
Dim storePath As String
Dim applicationUri As String
Dim applicationName As String
Dim subjectName As String
Dim domainNames As IList(Of String)
Dim keySize As UShort
Dim lifetimeInMonths As UShort
Dim algorithm As UShort
Dim value As X509Certificate2
 
value = CertificateFactory.CreateCertificate(storeType, storePath, applicationUri, applicationName, subjectName, domainNames, keySize, lifetimeInMonths, algorithm)

Parameters

storeType
storePath
applicationUri
applicationName
subjectName
domainNames
keySize
lifetimeInMonths
algorithm

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.