SCC_CertChainVerificationInd
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
The callback is called when a received certificate chain (e.g.ContractSignatureCertChain) is verified. Certificate chains are sent as part of several V2G messages when in PnC mode. The callback may be called multiple times for a V2G message, if that message contains multiple chains.
In case of errors, the specific error cause(s) can be queried with the function SCC_GertCertChainVerificationDetails.
A list of individual verification errors can be queried with:
- [SCC_GetCertChainVerificationErrorCount](../Functions/CAPLfunctionSCCGetCertChainVerificationErrorCount .md)
- SCC_GetCertChainVerificationError
Parameters
- SessionId: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
- ChainName: Name of the verified certificate chain inside the V2G message.
- ChainIsValid: 1 if the chain was verified as valid, 0 if the chain was verified as invalid.