com.ibm.cryptobeans
Class CryptoTransformation

java.lang.Object
  |
  +--com.ibm.processingbean.ProcessingBean
        |
        +--com.ibm.cryptobeans.CryptoTransformation
Direct Known Subclasses:
Encryptor, HashCalculator, MessageUnwrapper, MessageWrapper, PBEncryptor

public abstract class CryptoTransformation
extends ProcessingBean

This abstract class contains methods and properties, which are common to all cryptographic transformations. Application Assembler shouldn't use this class directly.

See Also:
Serialized Form

Constructor Summary
CryptoTransformation()
          The default constructor for the CryptoTransformation class.
 
Method Summary
 void addCryptoTransformationErrorListener(CryptoTransformationErrorListener newListener)
          This method adds a new cryptoTransformationError event listener to the listeners list.
 void addIOErrorListener(IOErrorListener newListener)
          This method adds a new IOError event listener to the listeners list.
 java.lang.String getAlgorithmType()
          Gets the algorithmType property (java.lang.String) value.
 java.lang.String getInputSourceFileName()
          Gets the inputSourceFileName property (java.lang.String) value.
 java.lang.String getInputTransformedFileName()
          Gets the inputTransformedFileName property (java.lang.String) value.
 java.lang.String getProviderName()
          Gets the providerName property (java.lang.String) value.
 int getTransformedPercent()
          Gets the transformedPercent property (int) value.
 void removeCryptoTransformationErrorListener(CryptoTransformationErrorListener newListener)
          Removes CryptoTransformationErrorListener from the listeners list.
 void removeIOErrorListener(IOErrorListener newListener)
          Removes IOErrorListener from the listeners list.
 void setAlgorithmType(java.lang.String algorithmType)
          Sets the algorithmType property (java.lang.String) value.
 void setInputSourceFileName(java.lang.String inputSourceFileName)
          Sets the inputSourceFileName property (java.lang.String) value.
 void setInputTransformedFileName(java.lang.String inputTransformedFileName)
          Sets the inputTransformedFileName property (java.lang.String) value.
 void setProviderName(java.lang.String providerName)
          Sets the providerName property (java.lang.String) value.
 void triggerAction()
          This method overrides the triggerAction method of the ProccessingBean to provide execution of the cryptographic transformation in an independent thread.
 
Methods inherited from class com.ibm.processingbean.ProcessingBean
addActionErrorListener, addFetchArgumentsListener, addPropertyChangeListener, addTriggerNextActionListener, removeActionErrorListener, removeFetchArgumentsListener, removePropertyChangeListener, removeTriggerNextActionListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoTransformation

public CryptoTransformation()
The default constructor for the CryptoTransformation class.
Method Detail

addCryptoTransformationErrorListener

public void addCryptoTransformationErrorListener(CryptoTransformationErrorListener newListener)
This method adds a new cryptoTransformationError event listener to the listeners list.
Parameters:
newListener - com.ibm.cryptobeans.events.CryptoTransformationErrorListener.

addIOErrorListener

public void addIOErrorListener(IOErrorListener newListener)
This method adds a new IOError event listener to the listeners list.
Parameters:
newListener - com.ibm.cryptobeans.events.IOErrorListener.

getInputSourceFileName

public java.lang.String getInputSourceFileName()
Gets the inputSourceFileName property (java.lang.String) value.
Returns:
The inputSourceFileName property value.
See Also:
setInputSourceFileName(java.lang.String)

getInputTransformedFileName

public java.lang.String getInputTransformedFileName()
Gets the inputTransformedFileName property (java.lang.String) value.
Returns:
The inputTransformedFileName property value.
See Also:
setInputTransformedFileName(java.lang.String)

getTransformedPercent

public int getTransformedPercent()
Gets the transformedPercent property (int) value.
Returns:
The transformedPercent property value.

removeCryptoTransformationErrorListener

public void removeCryptoTransformationErrorListener(CryptoTransformationErrorListener newListener)
Removes CryptoTransformationErrorListener from the listeners list.
Parameters:
newListener - The CryptoTransformationErrorListener to be removed.
See Also:
CryptoTransformationErrorListener

removeIOErrorListener

public void removeIOErrorListener(IOErrorListener newListener)
Removes IOErrorListener from the listeners list.
Parameters:
newListener - The IOErrorListener to be removed.
See Also:
IOErrorListener

setInputSourceFileName

public void setInputSourceFileName(java.lang.String inputSourceFileName)
Sets the inputSourceFileName property (java.lang.String) value.
Parameters:
inputSourceFileName - The new value for the property.
See Also:
getInputSourceFileName()

setInputTransformedFileName

public void setInputTransformedFileName(java.lang.String inputTransformedFileName)
Sets the inputTransformedFileName property (java.lang.String) value.
Parameters:
inputTransformedFileName - The new value for the property.
See Also:
getInputTransformedFileName()

triggerAction

public void triggerAction()
This method overrides the triggerAction method of the ProccessingBean to provide execution of the cryptographic transformation in an independent thread.
Overrides:
triggerAction in class ProcessingBean

getAlgorithmType

public java.lang.String getAlgorithmType()
Gets the algorithmType property (java.lang.String) value.
Returns:
The algorithmType property value.
See Also:
setAlgorithmType(java.lang.String)

getProviderName

public java.lang.String getProviderName()
Gets the providerName property (java.lang.String) value.
Returns:
The providerName property value.
See Also:
setProviderName(java.lang.String)

setAlgorithmType

public void setAlgorithmType(java.lang.String algorithmType)
Sets the algorithmType property (java.lang.String) value.
Parameters:
algorithmType - The new value for the property.
See Also:
getAlgorithmType()

setProviderName

public void setProviderName(java.lang.String providerName)
Sets the providerName property (java.lang.String) value.
Parameters:
providerName - The new value for the property.
See Also:
getProviderName()