|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.processingbean.ProcessingBean | +--com.ibm.cryptobeans.CryptoTransformation | +--com.ibm.cryptobeans.MessageWrapper
This class (together with MessageUnwrapper) extends the functionality of PBEncryptor. These classes provide both
convenient password-based encryption scheme and data integrity check. MessageWrapper reads the source data (and
the password) and wraps it into the output message of a special format. The main blocks of the output message are:
- the hash value of the secret key;
- the secret key ciphered with the password-based encryption;
- the source message ciphered with the secret key;
- the hash value of the source message.
Constructor Summary | |
MessageWrapper()
The default constructor for the MessageWrapper class. |
Method Summary | |
java.lang.String |
getAboutThisBean()
Returns a special formatted string intended for use by the editor of this property. |
java.lang.String |
getCipherAlgorithmType()
Gets the cipherAlgorithmType property (java.lang.String) value. |
int |
getCipherKeySize()
Gets the cipherKeySize property (int) value. |
java.lang.String |
getCipherProviderName()
Gets the cipherProviderName property (java.lang.String) value. |
java.lang.String |
getDescription()
Gets the description property (java.lang.String) value. |
java.lang.String |
getHashAlgorithmType()
Gets the hashAlgorithmType property (java.lang.String) value. |
java.lang.String |
getHashProviderName()
Gets the hashProviderName property (java.lang.String) value. |
char[] |
getInputPassword()
Gets the inputPassword property (char[]) value. |
java.lang.String |
getPbCipherAlgorithmType()
Gets the pbCipherAlgorithmType property (java.lang.String) value. |
java.lang.String |
getPbCipherProviderName()
Gets the pbCipherProviderName property (java.lang.String) value. |
void |
setAboutThisBean(java.lang.String aboutThisBean)
Sets the aboutThisBean property (java.lang.String) value. |
void |
setCipherAlgorithmType(java.lang.String cipherAlgorithmType)
Sets the cipherAlgorithmType property (java.lang.String) value. |
void |
setCipherKeySize(int cipherKeySize)
Sets the cipherKeySize property (int) value. |
void |
setCipherProviderName(java.lang.String cipherProviderName)
Sets the cipherProviderName property (java.lang.String) value. |
void |
setDescription(java.lang.String description)
Sets the description property (java.lang.String) value. |
void |
setHashAlgorithmType(java.lang.String hashAlgorithmType)
Sets the hashAlgorithmType property (java.lang.String) value. |
void |
setHashProviderName(java.lang.String hashProviderName)
Sets the hashProviderName property (java.lang.String) value. |
void |
setInputPassword(char[] inputPassword)
Sets the inputPassword property (char[]) value. |
void |
setPbCipherAlgorithmType(java.lang.String pbCipherAlgorithmType)
Sets the pbCipherAlgorithmType property (java.lang.String) value. |
void |
setPbCipherProviderName(java.lang.String pbCipherProviderName)
Sets the pbCipherProviderName property (java.lang.String) value. |
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 |
public MessageWrapper()
MessageWrapper
class.Method Detail |
public java.lang.String getCipherAlgorithmType()
setCipherAlgorithmType(java.lang.String)
public int getCipherKeySize()
setCipherKeySize(int)
public java.lang.String getCipherProviderName()
setCipherProviderName(java.lang.String)
public java.lang.String getDescription()
setDescription(java.lang.String)
public java.lang.String getHashAlgorithmType()
setHashAlgorithmType(java.lang.String)
public java.lang.String getHashProviderName()
setHashProviderName(java.lang.String)
public char[] getInputPassword()
setInputPassword(char[])
public void setCipherAlgorithmType(java.lang.String cipherAlgorithmType)
cipherAlgorithmType
- The new value for the property.getCipherAlgorithmType()
public void setCipherKeySize(int cipherKeySize)
cipherKeySize
- The new value for the property.getCipherKeySize()
public void setCipherProviderName(java.lang.String cipherProviderName)
cipherProviderName
- The new value for the property.getCipherProviderName()
public void setDescription(java.lang.String description)
description
- The new value for the property.getDescription()
public void setHashAlgorithmType(java.lang.String hashAlgorithmType)
hashAlgorithmType
- The new value for the property.getHashAlgorithmType()
public void setHashProviderName(java.lang.String hashProviderName)
hashProviderName
- The new value for the property.getHashProviderName()
public void setInputPassword(char[] inputPassword)
inputPassword
- The new value for the property.getInputPassword()
public java.lang.String getPbCipherAlgorithmType()
setPbCipherAlgorithmType(java.lang.String)
public java.lang.String getPbCipherProviderName()
setPbCipherProviderName(java.lang.String)
public void setPbCipherAlgorithmType(java.lang.String pbCipherAlgorithmType)
pbCipherAlgorithmType
- The new value for the property.getPbCipherAlgorithmType()
public void setPbCipherProviderName(java.lang.String pbCipherProviderName)
pbCipherProviderName
- The new value for the property.getPbCipherProviderName()
public java.lang.String getAboutThisBean()
public void setAboutThisBean(java.lang.String aboutThisBean)
aboutThisBean
- The new value for the property.getAboutThisBean()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |