| Name | Description |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | AssureOwnCertificate | Overloaded. Assures presence of the own certificate the application is currently configured to use.
The AssureOwnCertificate methods check if the application has its own application certificate (according to application configuration), and create the certificate if it is missing. Returns true if a new certificate has been created. Returns false if an existing certificate was found and accepted as the current own certificate.
If the own certificate does not exist in the certificate store prior to the operation, the method creates it. Otherwise, the method also checks whether the instance certificate is present in the trusted peers certificate store, and if it is absent, it copies it there. This is in contrast to the CreateOwnCertificate method, which always creates a new certificate when successful.
|
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | BeginObtainNewCertificate | Overloaded. Begins obtaining a new application certificate from the certificate manager.
The BeginObtainNewCertificate methods begin an asynchronous operation that obtains a new application own certificate from the certificate manager, and stores it for subsequent usage. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | CreateOwnCertificate | Overloaded. Creates the own application certificate.
The CreateOwnCertificate methods create the own certificate the application is currently configured to use. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportApplicationConfigurationToFile | Exports the OPC UA application configuration data into an XML file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportApplicationManifest | Exports the OPC UA application manifest into a stream. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportApplicationManifestToFile | Exports the OPC UA application manifest into an XML file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportOwnCertificateToFile | Overloaded. Exports the own certificate and optionally its private key to a given file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportRegisteredApplicationToFile | Exports the registration data of the OPC UA application into an XML file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ExportSecuredApplicationToFile | Exports the security settings of the OPC UA application into an XML file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | FindOwnCertificate | Finds the own certificate the application is currently configured to use. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | GetApplicationElement | Gets the OPC UA registration information for this application. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | GetApplicationId | Gets an application ID assigned to the application by a specified GDS. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | GetCertificateSubjectName | Gets the subject distinguished name the application is configured to use for its certificates. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | GetCertificateSubjectNameDictionary | Gets a dictionary of certificate subject names corresponding to all application certificate sub-ids. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | GetPrivateKeyPasswordStrength | Determines strength of the password that is configured for use with the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | HasOwnCertificate | Overloaded. Determines whether the application's own certificate is present. Returns true if the application's own certificate is present in the certificate store. Returns false otherwise. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | HasPrivateKeyPassword | Overloaded. Determines whether a non-empty password is in use for the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ImportOwnCertificateFromFile | Imports the own default certificate and its private key from a given file. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ListCertificateTypeElements | Retrieves certificate type elements available for an application instance. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ObtainNewCertificate | Overloaded. Obtains a new certificate from the certificate manager.
The ObtainNewCertificate methods obtain a new application own certificate from the certificate manager, and store it for subsequent usage. Returns the certificate obtained from the certificate manager.
The operation is synchronous. It can take considerable time to execute, because it involves multiple steps, and waiting for a finalization of the request by the GDS (see the OpcLabs.EasyOpc.UA.Gds.IEasyUACertificateManagement.FinishRequest method).
For an alternative based on asynchronous programming model (APM, System.IAsyncResult) pattern, see the BeginObtainNewCertificate method and related extension methods.
For a task-based asynchronous programming pattern alternative, see the ObtainNewCertificateAsync(IEasyUAClientServerApplication,UAEndpointDescriptor) extension method and its overloads. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ObtainNewCertificateAsync | Overloaded. Asynchronously obtains a new certificate from the certificate manager.
The ObtainNewCertificateAsync asynchronously obtain a new application own certificate from the certificate manager, and store it for subsequent usage. Returns a task that represents the asynchronous operation. The value of the TResult contains the certificate obtained from the certificate manager.
The operation is asynchronous, because it involves multiple steps, and waiting for a finalization of the request by the GDS (see the OpcLabs.EasyOpc.UA.Gds.IEasyUACertificateManagement.FinishRequest method).
For a synchronous alternative, see the ObtainNewCertificate(IEasyUAClientServerApplication,UAEndpointDescriptor) extension method and its overloads.
For an alternative based on asynchronous programming model (APM, System.IAsyncResult) pattern, see the BeginObtainNewCertificate method and related extension methods. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ProtectOrUnprotectOwnCertificate | Protects or unprotects the private key of the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ProtectOwnCertificate | Overloaded. Protects the private key of the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | RefreshTrustLists | Retrieves the current trust lists for the application from the certificate manager, and refreshes own certificate stores accordingly. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | RemoveOwnCertificate | Overloaded. Removes the own application certificate. The RemoveOwnCertificate methods removes the own default certificate the application is currently configured to use.
|
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | SetPrivateKeyPassword | Sets the password used to access the private key for the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | SetState<TNode> | Sets the arbitrary object associated with the node. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | UIAdministerApplication | Shows the form which allows the interactive user to administer the OPC UA application modally. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | UnprotectOwnCertificate | Overloaded. Unprotects the private key of the default certificate. |
![Public Extension Method](template/packages/core-dotnet/images/extensionmethod.png) | ValidateOwnCertificate | Overloaded. Validates the own application certificate.
The ValidateOwnCertificate methods validates the own certificate the application is currently configured to use.
The own certificate must exist in the certificate store prior to the operation, otherwise an error is reported. |