'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ObtainNewCertificateAsync( _ ByVal application As IEasyUAClientApplication, _ ByVal gdsEndpointDescriptor As UAEndpointDescriptor, _ ByVal parameters As UAObtainNewCertificateParameters _ ) As Task(Of X509Certificate2)
'Usage
Dim application As IEasyUAClientApplication Dim gdsEndpointDescriptor As UAEndpointDescriptor Dim parameters As UAObtainNewCertificateParameters Dim value As Task(Of X509Certificate2) value = IEasyUAClientApplicationExtension.ObtainNewCertificateAsync(application, gdsEndpointDescriptor, parameters)
[Extension()] [NotNull()] public static Task<X509Certificate2> ObtainNewCertificateAsync( IEasyUAClientApplication application, UAEndpointDescriptor gdsEndpointDescriptor, UAObtainNewCertificateParameters parameters )
[Extension()] [NotNull()] public: static Task<X509Certificate2^>^ ObtainNewCertificateAsync( IEasyUAClientApplication^ application, UAEndpointDescriptor^ gdsEndpointDescriptor, UAObtainNewCertificateParameters^ parameters )
Parameters
- application
- The OPC UA client application object that will perform the operation.
- gdsEndpointDescriptor
- The GDS endpoint acting as OPC UA certificate manager (CM).
- parameters
- The parameters describing how the certificate should be obtained.
Return Value
Returns a task that represents the asynchronous operation. The value of the
TResult
contains the certificate obtained from the certificate manager.