DECRYPT

Synopsis

HELP:   Decryption parameter [NONE]
TYPE:   OVERLAY
SYNTAX: DECRYPT[{F4PWD()/F4KME()/PGP()/PWD()/EDC()}...]

Description

With the overlay decrypt you can define the decryption parameters for the decryption methods. For some decryption methods you must provide the passphrase, key label templates, email addresses or other information to use the correct key.

This overlay is an array which allows the definition of an unlimited amount of decryption parameter sets. Each parameter set is used sequentially to attempt decryption of the data until one succeeds.

Here is an example with two passwords and an FKME which are tried for decryption. Both of the following notations are equivalent:

Try more than one decryption

 decr.f4pwd(pass='pwd1') decr.f4pwd(pass='pwd2') decr.f4kme()
 decr[f4pwd(pass='pwd1') f4pwd(pass='pwd2') f4kme()]

Another example:

OpenPGP decryption with ICSF/CCA

 flcl conv
   read.auto(file='~.test.txt.gz.pgp'
             decrypt.pgp(fkm5(para='keystore=CSF.CSFPKDS'))
            )
   write.record(file='~.test.vb' ccsid=ibm1141)

See below for the decryption possibilities.