Panopticon 25.1
Panopticon C Programming Guide

# 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 25.1 | Last updated January 2025

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: File Content Extraction Panopticon 25.1

Topic Title: resetEncryptionInfo()