The smartcipher_encrypt
function sends a request to a Micro Focus Voltage SmartCipher server, to encrypt a file.
smartcipher_encrypt( doc, sectionName )
Argument | Description |
---|---|
doc
|
(LuaDocument) A LuaDocument that represents the file to encrypt. 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 encryption (for example the SmartCipher API URL). For information about the parameters that you must set, see SmartCipher Task Parameters. |
Boolean. Returns true
if SmartCipher reports that encryption is successful.