Panopticon 24.2

# resetEncryptionInfo()

This function frees the memory allocated by encryptionInfo(). You can reuse a KVPanopticonEncryptionInfo structure after you have passed it to `resetEncryptionInfo()`.

## Syntax

    KVPanopticonError resetEncryptionInfo(
       KVPanopticonContext* const context,
       KVPanopticonEncryptionInfo* const encryptionInfo
    );

## Arguments

`context` | A pointer to `KVPanopticonContext`, initialized by calling init().
`encryptionInfo` | A pointer to a KVPanopticonEncryptionInfo. If the function completes successfully, it resets this structure, freeing all the memory allocated by encryptionInfo(). You must initialize the KVStructHead structure by using the macro `KVStructInit`.

## Returns

If the function was successful, it returns `KVP_Success`. Otherwise, it returns a KVPanopticonError value describing the problem.

Copyright 2020-2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Panopticon 24.2

Topic Title: resetEncryptionInfo()