5.40.3 ENCODE
The ENCODE command will PGP encode the contents of specified FROM file.
When encrypting a single column working list is required to supply the list of recipients.
The recipient name can be either a partial userID or the keyID of the recipient's public key.
Syntax:
Command |
Keyword |
Value |
Developer notes for Command/Keyword/Value |
ENCODE |
FROM |
value |
Mandatory. File Path. |
TO |
value |
Mandatory. File Path. |
|
REPLACE |
*YES |
Optional. Replace existing file. |
|
*NO |
Default. |
||
NAME |
value |
Optional. Literal data name. |
|
*TOFILE |
Use TO file name. |
||
*FROMFILE |
Use FROM file name. |
||
*CONSOLE |
Default. |
||
CIPHER |
*NONE |
Optional. Encryption cipher. |
|
*DES |
|
||
*3DES |
|
||
*IDEA |
|
||
*CAST5 |
Default. |
||
*SAFER |
|
||
*AES-128 |
|
||
*AES-192 |
|
||
*AES-256 |
|
||
*TWOFISH |
|
||
*BLOWFISH |
|
||
SIGNER |
value |
The signer value is comprised of two parts, the name and password in the format name:password. The name can be the keyID or the partial userID of the secret key. |