> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCPrivateKeyVerificationInd

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Callbacks/CAPLfunctionSCCPrivateKeyVerificationInd.md)

# SCC\_PrivateKeyVerificationInd

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [EV Callback Functions](../CAPLFunctionsSmartChargingOverview.md#CallbackEV) » SCC\_PrivateKeyVerificationInd

**Valid for**:  CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
void SCC_PrivateKeyVerificationInd ( byte SessionId[], dword KeyIsValid )
```

## Description

The callback is called when a received encrypted private key (e.g. ContractSignatureEncryptedPrivateKey) is verified. The private key is sent as part of Certificate Installation and Certificate Update Responses.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
* **KeyIsValid**: 1 if the key was verified as valid, 0 if the key was verified as invalid.

## Return Values

—

## Example

—
