'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function ObtainNewCertificateOrCertificatePackAsync( _ ByVal application As IEasyUAClientServerApplication, _ ByVal arguments As UAObtainCertificateArguments _ ) As Task(Of UANodeIdPkiCertificateDictionary)
'UsageDim application As IEasyUAClientServerApplication Dim arguments As UAObtainCertificateArguments Dim value As Task(Of UANodeIdPkiCertificateDictionary) value = IEasyUAClientServerApplicationExtension.ObtainNewCertificateOrCertificatePackAsync(application, arguments)
[Extension()] [JetBrains.Annotations.NotNull()] public static Task<UANodeIdPkiCertificateDictionary> ObtainNewCertificateOrCertificatePackAsync( IEasyUAClientServerApplication application, UAObtainCertificateArguments arguments )
[Extension()] [JetBrains.Annotations.NotNull()] public: static Task<UANodeIdPkiCertificateDictionary^>^ ObtainNewCertificateOrCertificatePackAsync( IEasyUAClientServerApplication^ application, UAObtainCertificateArguments^ arguments )
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 (
EasyUAClientobject) with the type of OpcLabs.EasyOpc.UA.Application.IEasyUAClientServerApplication as an argument.The value of this parameter cannot be
null(Nothingin Visual Basic). - arguments
- The arguments describing how the certificate should be obtained.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
TResult contains the collection of certificates obtained from the certificate manager.
This method never returns null (Nothing in Visual Basic).