C# 클래스 Gurux.DLMS.Secure.GXDLMSSecureClient

상속: GXDLMSClient
파일 보기 프로젝트 열기: Gurux/Gurux.DLMS.Net 1 사용 예제들

공개 메소드들

메소드 설명
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