C2xSecPacketSetSignerHandle
Valid for: CANoe DEFunction Syntax
Description
Assigns a certificate to a Tx packet. The assigned certificate is used to sign the Tx packet when C2xCompletePacket(packetHandle) is called. The protocol type and version of the packet must match the protocol type and version of the certificate. E.g. an ETSI TS 103 097 encoded message cannot be signed using an IEEE 1609.2 encoded certificate.Parameters
- packetHandle: Handle of the packet.
- certificateHandle: Handle of the certificate.
Return Values
- 0: Success
- ≠0: Error code