C# Класс Gurux.DLMS.Secure.GXDLMSSecureClient

Наследование: GXDLMSClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Decrypt() публичный статический Метод

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.
Результат byte[]

Encrypt() публичный статический Метод

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.
Результат byte[]

GXDLMSSecureClient() публичный Метод

Constructor.
public GXDLMSSecureClient ( ) : System.Text
Результат System.Text

GXDLMSSecureClient() публичный Метод

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.
Результат System.Text