Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Test Functions » Shared Functions » SCC_CreateCertificateInstallationRes_ISO

SCC_CreateCertificateInstallationRes_ISO

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreateCertificateInstallationRes_ISO 
( byte SessionID[], dword ConfigSection, 
char ResponseCode[], char EncryptedPrivateKey[], 
char DHParams[], char ContractID[] )

Description

Creates a Certificate Installation Response message for sending.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
  • ConfigSection: Number of the section from the test configuration file to use.
  • ResponseCode: Acknowledgment status of the message. The list of possible response codes you find on page SCC_SetResponseCode.
  • EncryptedPrivateKey: The private key that belongs to the new certificate for signature purposes.
  • DHParams: Diffie Hellman parameter string.
  • ContractID: ID string of the contract (eMAID).

Return Values

  • 1: If successful.
  • 0: Else (message cannot be sent).

Example