C# Class Gurux.DLMS.Secure.GXDLMSSecureClient

Inheritance: GXDLMSClient
Mostrar archivo Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
Decrypt ( byte kek, byte data ) : byte[]

Decrypt data using Key Encrypting Key.

Encrypt ( byte kek, byte data ) : byte[]

Encrypt data using Key Encrypting Key.

GXDLMSSecureClient ( ) : System.Text

Constructor.

GXDLMSSecureClient ( bool useLogicalNameReferencing, int clientAddress, int serverAddress, Authentication authentication, string password, InterfaceType interfaceType ) : System.Text

Constructor

Method Details

Decrypt() public static method

Decrypt data using Key Encrypting Key.
public static Decrypt ( byte kek, byte data ) : byte[]
kek byte Key Encrypting Key, also known as Master key.
data byte Data to decrypt.
return byte[]

Encrypt() public static method

Encrypt data using Key Encrypting Key.
public static Encrypt ( byte kek, byte data ) : byte[]
kek byte Key Encrypting Key, also known as Master key.
data byte Data to encrypt.
return byte[]

GXDLMSSecureClient() public method

Constructor.
public GXDLMSSecureClient ( ) : System.Text
return System.Text

GXDLMSSecureClient() public method

Constructor
public GXDLMSSecureClient ( bool useLogicalNameReferencing, int clientAddress, int serverAddress, Authentication authentication, string password, InterfaceType interfaceType ) : System.Text
useLogicalNameReferencing bool Is Logical or short name referencing used.
clientAddress int Client address. Default is 16 (0x10)
serverAddress int Server ID. Default is 1.
authentication Authentication Authentication type. Default is None
password string Password if authentication is used.
interfaceType InterfaceType Interface type. Default is general.
return System.Text