How to: |
The PGPEncrypt service emits byte messages which are input to a following service for transmission to a recipient. In a process flow, for example, this would place the PGPEncrypt service just before an Emit service on an edge. This edge usually has an End object that follows the emit operation, since the message is encrypted and cannot be used further in the process flow.
To configure the PGPEncrypt service:
The Service Name and Description dialog box opens.
The Service Type dialog box opens.
The Properties dialog box opens, as shown in the following image.
If Passphrase is specified for the Cryptographic method property, enter the pass phrase, otherwise enter the alias for the key pair method.
The new Service object appears in the workspace.
You can now construct a process flow for the PGPEncrypt Service object with a Start and an End edge.
Since the file being used is encrypted before any action is performed, the file must be decrypted. In this example, test the process flow with a channel and write the encrypted output to a directory.
The file obtained at the default outlet of the PGPReceiver channel should be the same as the original hello.xml file before encryption.
iWay Software |