Connector Framework Server 24.1

# smartcipher_decrypt

The `smartcipher_decrypt` function sends a request to a OpenText Voltage SmartCipher server, to decrypt a file.

NOTE: SmartCipher decrypts the file in its original location (to request decryption, CFS sends the document reference to the SmartCipher server). The decrypted data is not returned to CFS.

## Syntax

    smartcipher_decrypt( doc, sectionName )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) A LuaDocument that represents the file to decrypt. CFS sends the document reference to the SmartCipher API, so the reference must be the UNC path of a file managed by SmartCipher.
`sectionName` | (string) The name of a section in the CFS configuration file that contains configuration parameters required for decryption (for example the SmartCipher API URL). For information about the parameters that you must set, see SmartCipher Task Parameters.

## Returns

Boolean. Returns `true` if SmartCipher reports that decryption is successful.

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

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 Connector Framework Server 24.1

Topic Title: smartcipher_decrypt