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

SCC_GetCertificateChainData

Valid for: CANoe DE • CANoe4SW DE Note

Function Syntax

void SCC_GetCertificateChainData ( long Target, char IdAttr[], long& SubCertificateCount )

Description

Reads Id (to the output buffer) and number of sub certificates (via reference) of the target certificate chain. The ID is only available for ISO 15118.

Parameters

  • Target: Set this according to the type of certificate chain that is queried:
    • 0 = ContractSignatureCertChain
    • 1 = SAProvisioningCertChain (EV and ISO 15118 only)
  • IdAttr: Queries the Id attribute of the certificate chain (to the given char buffer).
  • SubCertificateCount: Gets the number of sub certificates (via reference).

Return Values

Example