Skip to main content
Open topic with navigation

EthernetMacsecConfiguration::GetCAK

CAPL Functions » Ethernet » Function Overview » EthernetMacsecConfiguration::GetCAK Valid for: CANoe DE

Method Syntax

dword EthernetMacsecConfiguration.GetCAK(byte cak[]);

Description

Copies the current connectivity association key (CAK) of the given MACsec configuration into the byte array given as parameter. Note that if the EAP-TLS protocol is in use, the CAK and CKN will be determined from the result of the EAP-TLS handshake.

Parameters

  • cak[]: A buffer where to copy the CAK.

Return Values

  • dword: The number of bytes copied into the specified byte array.

Example