com.tibco.ax.fw.runtime.inbound.impl
Interface IIBScriptPGPHandler


public interface IIBScriptPGPHandler

IIBScriptPGPHandler interface exposes the methods to setup and conduct inbound PGP processing.


Method Summary
 void setOperationID(java.lang.String operationID)
          Sets the operation id for this inbound FTP/FTPS/SSHFTP session, so the PGP configuration can be retrieved for PGP processing.
 boolean setPGPPolicy(java.lang.String policy)
          Set the policy for inbound PGP Processing.
 boolean unpackageMessage(java.lang.String filename)
          Unpackage the PGP packaged inbound FTP/FTPS/SSHFTP file specified by filename
 

Method Detail

setPGPPolicy

boolean setPGPPolicy(java.lang.String policy)
Set the policy for inbound PGP Processing.

Parameters:
policy - options: "None", "Pass-through", "Must Sign", "Must Encrypt", "Must Sign and Encrypt"
Returns:
true if the policy is set successfully, false otherwise

setOperationID

void setOperationID(java.lang.String operationID)
Sets the operation id for this inbound FTP/FTPS/SSHFTP session, so the PGP configuration can be retrieved for PGP processing.

Parameters:
operationID - the operation ID for this inbound FTP/FTPS/SSHFTP session

unpackageMessage

boolean unpackageMessage(java.lang.String filename)
Unpackage the PGP packaged inbound FTP/FTPS/SSHFTP file specified by filename

Parameters:
filename - the file to be unpackaged with PGP processing
Returns:
true if the unpackage is successful, false otherwise