DlmsDataSecurityCreateAesKeyTransferData Method

Creates parameter for calling method of key_transfer using AES key wrap algorithm. If some newKey is null or empty, it will not be added to the result collection.

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 DlmsTypeKeyTransferDataArray CreateAesKeyTransferData(
	byte securitySuiteId,
	ByteBuffer kek,
	ByteBuffer newGuek,
	ByteBuffer newGbek,
	ByteBuffer newGak,
	ByteBuffer newKek
)

Parameters

securitySuiteId  Byte
Target security suite. It must correspond to the keys. It can be different to current security settings which is used for communication.
kek  ByteBuffer
Key for encryption of the transfered keys.
newGuek  ByteBuffer
newGbek  ByteBuffer
newGak  ByteBuffer
newKek  ByteBuffer

Return Value

DlmsTypeKeyTransferDataArray

See Also