The PGP Adapter provides PGP data encryption/decryption functionality in your BizTalk Server solutions.
With the interval, specified by PollingInterval, the Adapter checks for the encrypted files in the PGPFilePath directory. The mask of the files of interest is set by the PGPFileMask property. If there is new encrypted data, it is decrypted and sent to the BizTalk processing engine. If PGPDeleteFiles is set to True, the files will be deleted after processing.
Depending on how the data was protected (i.e. with password or public key), to decrypt it, you should set the following properties: PGPPassphrase, and/or both the PGPSecretKeyringFile and PGPKeyPassphrase. If protected files are expected to contain signatures, the PGPPublicKeyringFile property should point to the public keyring containing public keys of the signer(s).
Whenever there is a message to be processed, PGP Send Adapter performs the desired operations, as specified by PGPOperation, and stores the resulting data in the file. Name of the source file (i.e., the name that is included to the encrypted file) is specified by PGPFilename, name of the destination file is specified by PGPDestFilename. If PGPOverwrite is set to True, the existing files will be overwritten by the newly created ones.
In order to perform encryption operations, you must specify the following properties: PGPPassphrase (for password-based encryption), and/or PGPPublicKeyringFile (for public key encryption). Encryption type is specified by PGPEncryptionType. Using the corresponding properties, you may manage the digest and encryption algorithms, specify, whether to use compression, armoring of data, and other encryption parameters. If the data is to be signed, the secret keys will be taken from PGPSecretKeyringFile.