Name | Description | |
---|---|---|
![]() | EasyUAApplicationCore Constructor | Overloaded. |
The following tables list the members exposed by EasyUAApplicationCore.
Name | Description | |
---|---|---|
![]() | EasyUAApplicationCore Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | ApplicationIdDictionary | A dictionary containing the application ID for each GDS endpoint the application is registered with, as known to the application. |
![]() | ApplicationParameters | Contains parameters that define the OPC UA application and its behavior. |
![]() | ApplicationStoreGroup | The PKI store group used by the OPC UA application. |
![]() | AreEventsLocked | Determines whether events are currently locked. |
![]() | CertificateGenerationParameters | The certificate generation parameters used by the application if no other parameters are specified. |
![]() | CertificateRequestParameters | The certificate request parameters used by the application if no other parameters are specified. |
![]() | Container | (Inherited from System.ComponentModel.Component) |
![]() | CustomReference | Can be used to distinguish otherwise equal widgets. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | DefaultCertificateTypeId | The certificate type Id of the default certificate type used by the application. |
![]() | HostNames | A collection of host names for the application instance. |
![]() | PackCertificateTypeIds | The certificate type Ids of the certificates in the application certificate pack. |
![]() | SerializeSharedData | Determines whether shared data made available by this component (such as ApplicationParameters) will be serialized. |
![]() | Site | (Inherited from System.ComponentModel.Component) |
![]() | SupportsGds | Determines whether GDS and CM operations are supported. |
Name | Description | |
---|---|---|
![]() | CanRaiseEvents | (Inherited from System.ComponentModel.Component) |
![]() | DesignMode | (Inherited from System.ComponentModel.Component) |
![]() | Events | (Inherited from System.ComponentModel.Component) |
![]() | InnerApplication | Infrastructure. |
![]() ![]() | InternalApplicationParameters | Infrastructure. |
![]() | IsDisposed | Determines whether the object has been disposed. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | ServiceContainer | The service container provided by this widget to inheritors. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
Name | Description | |
---|---|---|
![]() | AssureOwnTrustedPeersCertificateOrCertificatePack | Assures the presence of the own application certificate or certificate pack in the trusted peers certificate store. |
![]() | BeginObtainNewCertificateOrCertificatePack | Begins an asynchronous operation that obtains a new application own certificate or certificate pack from the certificate manager, and stores it for subsequent usage. |
![]() | CancelObtainNewCertificateOrCertificatePack | Cancels an asynchronous operation started with the BeginObtainNewCertificateOrCertificatePack method. |
![]() | Clone | Overridden. |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) |
![]() | CreateOwnCertificateOrCertificatePack | Creates the own certificate or certificate pack the application is currently configured to use. |
![]() | Dispose | Overloaded. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | EndObtainNewCertificateOrCertificatePack | Handles the end of the asynchronous operation started by the BeginObtainNewCertificateOrCertificatePack method. |
![]() | Equals | (Inherited from object) |
![]() | ExportApplicationConfiguration | Exports the OPC UA application configuration data into an XML stream. |
![]() | ExportOwnCertificateOrCertificatePackToFile | Exports the own certificate and optionally its private key to a given file. |
![]() | ExportRegisteredApplication | Exports the registration data of the OPC UA application into an XML stream. |
![]() | ExportSecuredApplication | Exports the security settings of the OPC UA application into an XML stream. |
![]() | FindGdsRegistrations | Finds all registrations for this application URI in the GDS. |
![]() | FindOwnCertificate | Finds the own certificate the application is currently configured to use. |
![]() | GetCertificateSubjectName | Gets the subject distinguished name the application is configured to use for its certificates. |
![]() | GetEffectiveApplicationManifest | Gets the effective OPC UA application manifest, i.e. the currently used application registration information together with data related to PKI administration, such as paths to the certificate stores used. |
![]() | GetEffectiveHostNames | Get the effective application host names. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from object) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | GetObjectData | Overridden. |
![]() | GetPrivateKeyPasswordStrength | Determines strength of the password that is configured for use with the given certificate. |
![]() | GetSchema | (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | GetService | Overridden. |
![]() | GetType | Gets the System.Type of the current instance. (Inherited from object) |
![]() | ImportOwnCertificateOrCertificatePackFromFile | Imports the own certificate and its private key from a given file. |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | ListCertificateSubIds | Finds all application certificate sub-ids. |
![]() | ListCertificateTypeElements | Retrieves certificate type elements for the certificate types available for a given application store kind. |
![]() | LockEvents | Locks the events on the component. |
![]() | ProtectOrUnprotectOwnCertificateOrCertificatePack | Protects or unprotects the private key of the given certificate, or certificate pack. |
![]() | ReadXml | (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | RefreshTrustLists | Retrieves the current trust lists for the application from the certificate manager, and refreshes own certificate stores accordingly. |
![]() | RegisterToGds | Creates an application registration in the GDS, assigning it a new application ID. Existing registrations with the same application URI are removed first. |
![]() | RemoveOwnCertificatesOrCertificatePack | Removes the own certificates or certificate pack the application is currently configured to use. |
![]() | RemovePrivateKeyPassword | Removes the password used to access the private key for given certificate. |
![]() | SetPrivateKeyPassword | Sets the password used to access the private key for given certificate. |
![]() | ToString | (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | UnlockEvents | Unlocks the events on the component. |
![]() | UnregisterFromGds | Removes an application registration from the GDS, if it exists. All existing registrations for the application URI are removed. |
![]() | UpdateGdsRegistration | Updates an application registration in the GDS, keeping its application ID. A new registration is created if the application is not yet registered in the GDS. Preexisting registrations with the same application URI are removed. |
![]() | ValidateOwnCertificateOrCertificatePack | Validates the own certificate or certificate pack the application is currently configured to use. |
![]() | ValueEquals | Overloaded. Defines a generalized method that classes must implement to create type-specific method for determining value equality of instances. Determines whether this instance has the same value as a given other instance. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | WriteXml | (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from System.ComponentModel.Component) |
![]() | MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) |
![]() | OnContextTypesChanged | Infrastructure. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | ReadXmlElement | Infrastructure. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
![]() | WriteXmlElement | Infrastructure. (Inherited from OpcLabs.BaseLib.Widgets.Widget) |
Name | Description | |
---|---|---|
![]() | AssureOwnCertificateOrCertificatePack | Assures presence and validity of the own certificate or certificate pack the application is currently configured to use. |
![]() | AssureOwnCertificatePack | Overloaded. Assures presence of the own certificate pack the application is currently configured to use.
This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. The AssureOwnCertificatePack methods check if the application has its own application certificate pack (according to application configuration), and create the certificate pack if it is missing. Returnstrue if a new certificate pack has been created. Returns false if an existing certificate pack was found and accepted as the current own certificate pack.
If the own certificate pack does not exist in the certificate store prior to the operation, the method creates it. Otherwise, the method also checks whether the instance certificates are present in the trusted peers certificate store, and if they are absent, it copies them there. This is in contrast to the CreateOwnCertificateOrCertificatePack method, which always creates new certificate(s) when successful.
|
![]() | AssureOwnTrustedPeersCertificatePack | Overloaded. Assures the presence of the own application certificate pack in the trusted peers certificate store, specifying certificate sub-id. |
![]() | BeginObtainNewCertificateOrCertificatePack | Overloaded. Begins obtaining a new application certificate or certificate pack from the certificate manager.
The BeginObtainNewCertificateOrCertificatePack methods begin an asynchronous operation that obtains a new application own certificate or certificate pack from the certificate manager, and stores it for subsequent usage. When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. |
![]() | BeginObtainNewCertificatePack | Overloaded. Begins obtaining a new application certificate pack from the certificate manager.
The BeginObtainNewCertificatePack methods begin an asynchronous operation that obtains a new application own certificate pack from the certificate manager, and stores it for subsequent usage. This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. |
![]() | CreateOwnCertificatePack | Overloaded. Creates the own application certificate pack.
The CreateOwnCertificatePack methods create the own certificate pack the application is currently configured to use. This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. |
![]() | ExportApplicationConfigurationToFile | Exports the OPC UA application configuration data into an XML file. |
![]() | ExportApplicationManifest | Exports the OPC UA application manifest into a stream. |
![]() | ExportApplicationManifestToFile | Exports the OPC UA application manifest into an XML file. |
![]() | ExportOwnCertificateToFile | Overloaded. Exports the own certificate and optionally its private key to a given file. |
![]() | ExportRegisteredApplicationToFile | Exports the registration data of the OPC UA application into an XML file. |
![]() | ExportSecuredApplicationToFile | Exports the security settings of the OPC UA application into an XML file. |
![]() | FindOwnCertificate | Finds the own certificate the application is currently configured to use. |
![]() | GetApplicationElement | Gets the OPC UA registration information for this application. |
![]() | GetApplicationId | Gets an application ID assigned to the application by a specified GDS. |
![]() | GetCertificateSubjectName | Gets the subject distinguished name the application is configured to use for its certificates. |
![]() | GetCertificateSubjectNameDictionary | Gets a dictionary of certificate subject names corresponding to all application certificate sub-ids. |
![]() | GetOwnCertificatePack | Overloaded. Gets the own certificate pack the application is currently configured to use. Returns the own certificate pack, i.e. the dictionary of own certificates, keyed by the certificate type Id.
This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. The actual number of certificates in the application certificate pack may be lower than the count of PackCertificateTypeIds. This is because multiple certificate types may end up using the same certificate. For example, OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaMinApplicationCertificateType specifies an application certificate with RSA key size 1024 or 2048 bits, and OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaSha256ApplicationCertificateType specifies an application certificate with RSA key size 2048, 3072 or 4096 bits. A single certificate with RSA key size of 2048 bits can therefore be used with both these certificate types. |
![]() | GetPrivateKeyPasswordStrength | Determines strength of the password that is configured for use with the default certificate. |
![]() | HasOwnCertificateOrCertificatePack | Overloaded. Determines whether the application's own certificate or certificate pack is present.
When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. If the specified certificate type Id is Null, the default certificate type Id from DefaultCertificateTypeId is used instead. |
![]() | HasOwnCertificatePack | Overloaded. Determines whether the application's own certificate pack is present. Returns true if the application's own certificate pack is present in the certificate store. Returns false otherwise. |
![]() | HasPrivateKeyPassword | Overloaded. Determines whether a non-empty password is in use for the default certificate. |
![]() | ImportOwnCertificateFromFile | Imports the own default certificate and its private key from a given file. |
![]() | ListCertificateTypeElements | Retrieves certificate type elements available for an application instance. |
![]() | ObtainNewCertificateOrCertificatePack | Overloaded. Obtains a new certificate or certificate pack from the certificate manager. Returns the collection of certificates obtained from the certificate manager.
The ObtainNewCertificateOrCertificatePack methods obtain a new application own certificate or certificate pack from the certificate manager, and store it for subsequent usage. When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. If the specified certificate type Id is Null, the default certificate type Id from DefaultCertificateTypeId is used instead. The actual number of certificates in the application certificate pack may be lower than the count of PackCertificateTypeIds. This is because multiple certificate types may end up using the same certificate. For example, OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaMinApplicationCertificateType specifies an application certificate with RSA key size 1024 or 2048 bits, and OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaSha256ApplicationCertificateType specifies an application certificate with RSA key size 2048, 3072 or 4096 bits. A single certificate with RSA key size of 2048 bits can therefore be used with both these certificate types. The certificate manager may not support all certificate types in the application certificate pack. For an unsupported certificate type, the value of the certificate in the resulting dictionary is The operation is synchronous. It can take considerable time to execute, because it involves multiple steps, and waiting for a finalization of the requests 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 BeginObtainNewCertificateOrCertificatePack method and related extension methods. For a task-based asynchronous programming pattern alternative, see the ObtainNewCertificateOrCertificatePackAsync(IEasyUAClientServerApplication,UAObtainCertificateArguments) extension method and its overloads. |
![]() | ObtainNewCertificateOrCertificatePackAsync | Overloaded. Asynchronously obtains a new certificate or certificate pack from the certificate manager. Returns a task that represents the asynchronous operation. The value of the TResult contains the collection of certificates obtained from the certificate manager.
The ObtainNewCertificateOrCertificatePackAsync methods asynchronously obtain a new application own certificate or certificate pack from the certificate manager, and store it for subsequent usage. When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. If the specified certificate type Id is Null, the default certificate type Id from DefaultCertificateTypeId is used instead. 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 ObtainNewCertificateOrCertificatePack(IEasyUAClientServerApplication,UAObtainCertificateArguments) extension method and its overloads. For an alternative based on asynchronous programming model (APM, System.IAsyncResult) pattern, see the BeginObtainNewCertificateOrCertificatePack method and related extension methods. |
![]() | ObtainNewCertificatePack | Overloaded. Obtains a new certificate pack from the certificate manager. Returns the collection of certificates obtained from the certificate manager.
The ObtainNewCertificatePack methods obtain a new application own certificate pack from the certificate manager, and store it for subsequent usage. When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. The actual number of certificates in the application certificate pack may be lower than the count of PackCertificateTypeIds. This is because multiple certificate types may end up using the same certificate. For example, OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaMinApplicationCertificateType specifies an application certificate with RSA key size 1024 or 2048 bits, and OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaSha256ApplicationCertificateType specifies an application certificate with RSA key size 2048, 3072 or 4096 bits. A single certificate with RSA key size of 2048 bits can therefore be used with both these certificate types. The certificate manager may not support all certificate types in the application certificate pack. For an unsupported certificate type, the value of the certificate in the resulting dictionary is The operation is synchronous. It can take considerable time to execute, because it involves multiple steps, and waiting for a finalization of the requests 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 BeginObtainNewCertificatePack(IEasyUAClientServerApplication,UAEndpointDescriptor) method and related extension methods. For a task-based asynchronous programming pattern alternative, see the ObtainNewCertificatePackAsync(IEasyUAClientServerApplication,UAEndpointDescriptor) extension method and its overloads. |
![]() | ObtainNewCertificatePackAsync | Overloaded. Asynchronously obtains a new certificate pack from the certificate manager. Returns a task that represents the asynchronous operation. The value of the TResult contains the collection of certificates obtained from the certificate manager.
The ObtainNewCertificatePackAsync methods asynchronously obtain a new application own certificate pack from the certificate manager, and store it for subsequent usage. When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. 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 ObtainNewCertificatePack(IEasyUAClientServerApplication,UAEndpointDescriptor) extension method and its overloads. For an alternative based on asynchronous programming model (APM, System.IAsyncResult) pattern, see the BeginObtainNewCertificatePack(IEasyUAClientServerApplication,UAEndpointDescriptor) method and related extension methods. |
![]() | ProtectOwnCertificateOrCertificatePack | Overloaded. Protects the private key of the given certificate, or certificate pack.
When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. If the specified certificate type Id is Null, the default certificate type Id from DefaultCertificateTypeId is used instead. A preexisting private key password, if any, must be correctly configured in the application, for this operation to succeed. |
![]() | ProtectOwnCertificatePack | Overloaded. This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. A preexisting private key password, if any, must be correctly configured in the application, for this operation to succeed. |
![]() | RefreshTrustLists | Retrieves the current trust lists for the application from the certificate manager, and refreshes own certificate stores accordingly. |
![]() | RemoveOwnCertificatePack | Overloaded. Removes the own application certificate pack.
This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. The RemoveOwnCertificatePack methods remove the own certificate pack the application is currently configured to use. |
![]() | SetPrivateKeyPassword | Sets the password used to access the private key for the default certificate. |
![]() | SetState<TNode> | Sets the arbitrary object associated with the node. |
![]() | UIAdministerApplication | Shows the form which allows the interactive user to administer the OPC UA application modally. |
![]() | UnprotectOwnCertificateOrCertificatePack | Overloaded. Unprotects the private key of the given certificate, or certificate pack.
When certificate pack is used, this method operates on certificates with certificate type Ids given by PackCertificateTypeIds. If the specified certificate type Id is Null, the default certificate type Id from DefaultCertificateTypeId is used instead. A preexisting private key password, if any, must be correctly configured in the application, for this operation to succeed. |
![]() | UnprotectOwnCertificatePack | Overloaded. This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. A preexisting private key password, if any, must be correctly configured in the application, for this operation to succeed. |
![]() | ValidateOwnCertificatePack | Overloaded. Validates the own application certificate pack.
The ValidateOwnCertificatePack methods validate the own certificate pack the application is currently configured to use. This method operates on certificates with certificate type Ids given by PackCertificateTypeIds. The own certificate must exist in the certificate store prior to the operation, otherwise an error is reported. |
Name | Description | |
---|---|---|
![]() | CertificatesChanged | Raised when the application certificate environment has changed. |
![]() | Disposed | (Inherited from System.ComponentModel.Component) |