C# Class Gurux.DLMS.Secure.GXDLMSSecureClient

Inheritance: GXDLMSClient
Afficher le fichier Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat byte[]

Encrypt() public static méthode

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.
Résultat byte[]

GXDLMSSecureClient() public méthode

Constructor.
public GXDLMSSecureClient ( ) : System.Text
Résultat System.Text

GXDLMSSecureClient() public méthode

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.
Résultat System.Text