'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub CreateOwnCertificate( _ ByVal application As IEasyUAClientServerApplication, _ ByVal certificateSubId As String, _ ByVal mustNotExist As Boolean _ )
'Usage
Dim application As IEasyUAClientServerApplication Dim certificateSubId As String Dim mustNotExist As Boolean IEasyUAClientServerApplicationExtension.CreateOwnCertificate(application, certificateSubId, mustNotExist)
[Extension()] public static void CreateOwnCertificate( IEasyUAClientServerApplication application, string certificateSubId, bool mustNotExist )
[Extension()] public: static void CreateOwnCertificate( IEasyUAClientServerApplication^ application, String^ certificateSubId, bool mustNotExist )
Parameters
- application
- The OPC UA client/server application object that will perform the operation.
In client applications, this is typically obtained by calling System.IServiceProvider.GetService(System.Type) on the OpcLabs.EasyOpc.UA.IEasyUAClient (
EasyUAClient
object) with the type of OpcLabs.EasyOpc.UA.Application.IEasyUAClientServerApplication as an argument.The value of this parameter cannot be
null
(Nothing
in Visual Basic). - certificateSubId
- The sub-id of the certificate. Normally an empty string.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - mustNotExist
- Determines whether the certificate must be absent from the certificate store.