메소드 | 설명 | |
---|---|---|
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
|
public static Decrypt ( byte kek, byte data ) : byte[] | ||
kek | byte | Key Encrypting Key, also known as Master key. |
data | byte | Data to decrypt. |
리턴 | byte[] |
public static Encrypt ( byte kek, byte data ) : byte[] | ||
kek | byte | Key Encrypting Key, also known as Master key. |
data | byte | Data to encrypt. |
리턴 | byte[] |
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 |