C# Class Opc.Ua.Security.SecurityConfigurationManager

Provides access to security configuration for windows based .NET application.
Inheritance: ISecurityConfigurationManager
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
ReadConfiguration ( string filePath ) : SecuredApplication

Exports the security configuration for an application identified by a file or url.

WriteConfiguration ( string filePath, SecuredApplication configuration ) : void

Updates the security configuration for an application identified by a file or url.

Private Methods

Method Description
Find ( XmlNode parent, string localName, string namespaceUri ) : XmlElement

Finds the specified parent.

GetObject ( Type type, XmlNode element ) : object

Reads an object from the body of an XML element.

SetObject ( Type type, object value ) : string

Reads an object from the body of an XML element.

UpdateDocument ( XmlElement element, SecuredApplication application ) : void

Updates the XML document with the new configuration information.

Method Details

ReadConfiguration() public method

Exports the security configuration for an application identified by a file or url.
public ReadConfiguration ( string filePath ) : SecuredApplication
filePath string The file path.
return SecuredApplication

WriteConfiguration() public method

Updates the security configuration for an application identified by a file or url.
public WriteConfiguration ( string filePath, SecuredApplication configuration ) : void
filePath string The file path.
configuration SecuredApplication The configuration.
return void