.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaServer.CertificateGroupModel Class Reference

A type used for objects which represent certificate groups in the address space. More...

Inherits UnifiedAutomation.UaServer.BaseObjectModel, and UnifiedAutomation.UaServer.IMethodDispatcher.

Public Member Functions

 CertificateGroupModel ()
 Initializes a new instance of the CertificateGroupModel class. More...
 
 CertificateGroupModel (CertificateGroupModel template, DummyArgument dummy=null)
 Initializes a new instance of the CertificateGroupModel class. More...
 
virtual CallMethodEventHandler GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId)
 Gets the method dispatcher. More...
 
virtual StatusCode DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments)
 Dispatches the method. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.BaseObjectModel
 BaseObjectModel ()
 Initializes a new instance of the BaseObjectModel class. More...
 
 BaseObjectModel (BaseObjectModel template, DummyArgument dummy=null)
 Initializes a new instance of the BaseObjectModel class. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase
virtual ModelHandle GetModelHandle (StringTable namespaceUris, object instance)
 Gets the metadata handle. More...
 
virtual DataValue GetValue (IMapperContext context, ModelMapping mapping)
 Gets the value associated with the mapping. More...
 
virtual bool SetValue (IMapperContext context, ModelMapping mapping, DataValue value)
 Sets the value associated with the mapping. More...
 
StatusCode GetStatusCode (string propertyName)
 Retrieve the status code for the given property. If no status code was explicitly set, StatusCodes.Good will be returned.
Parameters
propertyNameThe property name.
Returns
The status code of the property.

 
void SetStatusCode (string propertyName, StatusCode statusCode)
 Sets the status code of the given property. More...
 

Properties

CertificateGroup Group [get, set]
 Gets or sets the group. More...
 
CertificateExpirationAlarmModel CertificateExpired [get, set]
 Gets or sets the CertificateExpired More...
 
NodeId[] CertificateTypes [get, set]
 Specifies the NodeIds of the CertificateTypes which may be assigned to applications which belong to the certificate group. More...
 
TrustListModel TrustList [get, set]
 The trust list associated with the certificate group. More...
 
TrustListOutOfDateAlarmModel TrustListOutOfDate [get, set]
 Gets or sets the TrustListOutOfDate More...
 
ICertificateGroupMethods CertificateGroupMethods [get, set]
 Gets or sets the CertificateGroup methods. More...
 
- Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase
ModelHandle ModelHandle [get, set]
 Gets or sets the metadata handle. More...
 
object UserData [get, set]
 Gets or sets the user data. More...
 
- Properties inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo
bool HasStatusCodes [get]
 true if no property has an explicit set status code. Hence when all status codes are implicit StatusCodes.Good. More...
 

Additional Inherited Members

- Public Attributes inherited from UnifiedAutomation.UaServer.ModelControllerBase
bool HasStatusCodes => m_statusCodes != null && m_statusCodes.Count > 0
 
- Protected Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase
void RaisePropertyChangedEvent ([CallerMemberName] string propertyName=null)
 Raises an property change event. More...
 
void RaisePropertyChangeRequestedEvent< T > (T value, [CallerMemberName] string propertyName=null)
 Called when the value of a property is supposed to be changed. More...
 
bool SetField< T > (ref T field, T value, [CallerMemberName] string propertyName=null)
 Sets the backing field to the new value, and triggers a property change event, if the value has changed. More...
 
- Events inherited from UnifiedAutomation.UaServer.ModelControllerBase
PropertyChangedEventHandler PropertyChanged
 Occurs when a property value changes. More...
 
EventHandler
< PropertyChangeRequestedEventArgs
PropertyChangeRequested
 The event is emitted just before the value will be changed, and gives the observer the opportunity to reject or adjust (e.g. clamp) the property change by setting the PropertyChangeRequestedEventArgs.StatusCode and PropertyChangeRequestedEventArgs.Value properties. More...
 
EventHandler
< StatusCodeChangedEventArgs
StatusCodeChanged
 
- Events inherited from UnifiedAutomation.UaServer.INotifyPropertyChangeRequested
EventHandler
< PropertyChangeRequestedEventArgs
PropertyChangeRequested
 The property change request event. More...
 
- Events inherited from UnifiedAutomation.UaServer.INotifyStatusCodeInfo
EventHandler
< StatusCodeChangedEventArgs
StatusCodeChanged
 Occurs if the status code of a property was changed. More...
 

Detailed Description

A type used for objects which represent certificate groups in the address space.

A certificate group is a context that contains a trust list and one or more certificate s that can be assigned to an application. This type exists to allow an application which has multiple trust lists and/or application certificate s to express them in its AddressSpace.

The TrustList object is the trust list associated with the certificate group.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.CertificateGroupModel.CertificateGroupModel ( )

Initializes a new instance of the CertificateGroupModel class.

UnifiedAutomation.UaServer.CertificateGroupModel.CertificateGroupModel ( CertificateGroupModel  template,
DummyArgument  dummy = null 
)

Initializes a new instance of the CertificateGroupModel class.

Parameters
templateThe template.
dummyDummy argument to enable writing own constructors that are called by the generated code.

Member Function Documentation

virtual StatusCode UnifiedAutomation.UaServer.CertificateGroupModel.DispatchMethod ( RequestContext  context,
MethodHandle  methodHandle,
IList< Variant inputArguments,
List< StatusCode inputArgumentResults,
List< Variant outputArguments 
)
virtual

Dispatches the method.

Parameters
contextThe context.
methodHandleThe method handle.
inputArgumentsThe input arguments.
inputArgumentResultsThe input argument results.
outputArgumentsThe output arguments.
Returns
virtual CallMethodEventHandler UnifiedAutomation.UaServer.CertificateGroupModel.GetMethodDispatcher ( RequestContext  context,
NodeId  objectId,
NodeId  methodId 
)
virtual

Gets the method dispatcher.

Parameters
contextThe context.
objectIdThe object id.
methodIdThe method id.
Returns

Implements UnifiedAutomation.UaServer.IMethodDispatcher.

Property Documentation

CertificateExpirationAlarmModel UnifiedAutomation.UaServer.CertificateGroupModel.CertificateExpired
getset

Gets or sets the CertificateExpired

ICertificateGroupMethods UnifiedAutomation.UaServer.CertificateGroupModel.CertificateGroupMethods
getset

Gets or sets the CertificateGroup methods.

The CertificateGroup methods.

NodeId [] UnifiedAutomation.UaServer.CertificateGroupModel.CertificateTypes
getset

Specifies the NodeIds of the CertificateTypes which may be assigned to applications which belong to the certificate group.

For example, a certificate group with the NodeId of UnifiedAutomation.UaServer.RsaMinApplicationCertificateModel and the NodeId RsaSha256ApplicationCertificate specified allows an application to have one ApplicationInstance certificate for each type. Abstract base types may be used in this value and indicate that any subtype is allowed. If this list is empty, the certificate group does not allow certificate s to be assigned to applications (i.e. the Certificate Group exists to allow the associated trust list to be read or updated). All CertificateTypes for a given certificate group shall be subtypes of a single common type which shall be either UnifiedAutomation.UaServer.ApplicationCertificateModel or UnifiedAutomation.UaServer.HttpsCertificateModel.

CertificateGroup UnifiedAutomation.UaServer.CertificateGroupModel.Group
getset

Gets or sets the group.

The group.

TrustListModel UnifiedAutomation.UaServer.CertificateGroupModel.TrustList
getset

The trust list associated with the certificate group.

TrustListOutOfDateAlarmModel UnifiedAutomation.UaServer.CertificateGroupModel.TrustListOutOfDate
getset

Gets or sets the TrustListOutOfDate


The documentation for this class was generated from the following files: