DlmsDataSecurityGetGeneratedKey Method

Derives new symetric key using ECDH algorithm.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public static ByteBuffer GetGeneratedKey(
	byte securitySuiteId,
	string clientSysTitle,
	ByteBuffer serverSysTitle,
	byte keyID,
	ByteBuffer keyAgreementData,
	ECDiffieHellmanCng dh
)

Parameters

securitySuiteId  Byte
Target security suite. It must correspond to the key to be created. It can be different to current security settings which is used for communication.
clientSysTitle  String
Target client system title which correcpond to the key to be created. It can be different to current security settings which is used for communication.
serverSysTitle  ByteBuffer
Target server system title which correcpond to the key to be created. It can be different to current security settings which is used for communication.
keyID  Byte
keyAgreementData  ByteBuffer
dh  ECDiffieHellmanCng

Return Value

ByteBuffer

Exceptions

See Also