com.ibm.cryptobeans
Class PBEncryptor

java.lang.Object
  |
  +--com.ibm.processingbean.ProcessingBean
        |
        +--com.ibm.cryptobeans.CryptoTransformation
              |
              +--com.ibm.cryptobeans.PBEncryptor

public class PBEncryptor
extends CryptoTransformation

This class should be used to encrypt and decrypt data by means of the password-based encryption algorithms (PBEWithMD5AndDES and any other algorithm, which is supported by the user's cryptographic service provider). Any password-based encryption algorithm derives the encryption key from the password. That is why it may be used whenever it is necessary to decrypt the data only for the users, who know the correct password.

See Also:
Serialized Form

Constructor Summary
PBEncryptor()
          The default constructor for the PBEncryptor class.
 
Method Summary
 java.lang.String getAboutThisBean()
          Returns a special formatted string intended for use by the editor of this property.
 java.lang.String getInputMode()
          Gets the inputMode property (java.lang.String) value.
 char[] getInputPassword()
          Gets the inputPassword property (char[]) value.
 void setAboutThisBean(java.lang.String aboutThisBean)
          Sets the aboutThisBean property (java.lang.String) value.
 void setInputMode(java.lang.String inputMode)
          Sets the inputMode property (java.lang.String) value.
 void setInputPassword(char[] inputPassword)
          Sets the inputPassword property (char[]) value.
 
Methods inherited from class com.ibm.cryptobeans.CryptoTransformation
addCryptoTransformationErrorListener, addIOErrorListener, getAlgorithmType, getInputSourceFileName, getInputTransformedFileName, getProviderName, getTransformedPercent, removeCryptoTransformationErrorListener, removeIOErrorListener, setAlgorithmType, setInputSourceFileName, setInputTransformedFileName, setProviderName, triggerAction
 
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

PBEncryptor

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

getInputMode

public java.lang.String getInputMode()
Gets the inputMode property (java.lang.String) value.
Returns:
The inputMode property value.
See Also:
setInputMode(java.lang.String)

getInputPassword

public char[] getInputPassword()
Gets the inputPassword property (char[]) value.
Returns:
The inputPassword property value.
See Also:
setInputPassword(char[])

setInputMode

public void setInputMode(java.lang.String inputMode)
Sets the inputMode property (java.lang.String) value.
Parameters:
inputMode - The new value for the property.
See Also:
getInputMode()

setInputPassword

public void setInputPassword(char[] inputPassword)
Sets the inputPassword property (char[]) value.
Parameters:
inputPassword - The new value for the property.
See Also:
getInputPassword()

getAboutThisBean

public java.lang.String getAboutThisBean()
Returns a special formatted string intended for use by the editor of this property.
Returns:
the special formatted string for use by the editor of this property

setAboutThisBean

public void setAboutThisBean(java.lang.String aboutThisBean)
Sets the aboutThisBean property (java.lang.String) value.
Parameters:
aboutThisBean - The new value for the property.
See Also:
getAboutThisBean()