|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.crypto.provider.ClearCrypt
This is a dummy for "cleartext" encryption. It goes through the notions of the CryptoAlgorithm interface but actually does nothing. It can be used as a replacement for the "encrypt = no" setting in the TR.props. Can be used as the default crypto algorithm
| Constructor Summary | |
ClearCrypt()
C'tor |
|
| Method Summary | |
java.lang.String |
encrypt(java.lang.String value)
encrypt the supplied string with the requested cipher |
void |
setCipher(java.lang.String cipher)
This class never uses an algorithm, so this is just a dummy. |
void |
setSeed(java.lang.String seed)
This class never uses a seed, so this is just a dummy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClearCrypt()
| Method Detail |
public void setCipher(java.lang.String cipher)
setCipher in interface CryptoAlgorithmcipher - Cipher (ignored)public void setSeed(java.lang.String seed)
setSeed in interface CryptoAlgorithmseed - Seed (ignored)
public java.lang.String encrypt(java.lang.String value)
throws java.lang.Exception
encrypt in interface CryptoAlgorithmvalue - The value to be encrypted
java.lang.Exception - An Exception of the underlying implementation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||