EthernetMacsecConfiguration::SetCKN
Valid for: CANoe DEMethod Syntax
dword EthernetMacsecConfiguration.SetCKN(byte cak[], dword length);
Description
Sets the current connectivity key name (CKN) of the MACsec configuration from the given byte array. Note that a CKN is limited to 32 bytes maximum.Parameters
- cak[]: A buffer from where to copy the CKN.
- length: The number of bytes to copy from the byte array. Note that a CKN must be 1 byte minimum, 32 bytes maximum.
Return Values
- dword: The number of bytes copied into the specified byte array.