|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.crypto.CryptoManager
public class CryptoManager
ICryptoManager
implementation.
Constructor Summary | |
---|---|
CryptoManager()
|
Method Summary | |
---|---|
ICipher |
getOneWayCipher()
Returns a one-way cipher. |
ICipher |
getReversibleCipher()
Returns a cipher that is able to encrypt data, and decrypt it back. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CryptoManager()
Method Detail |
---|
public ICipher getOneWayCipher()
ICryptoManager
The actual cipher returned depends on the encryption configuration
in lumisportalconfig.xml
. It is recommended that the one-way
cipher is configured to use an algorithm that is not possible to decrypt.
In this case, the cipher will throw UnsupportedOperationException
in its decrypt methods.
getOneWayCipher
in interface ICryptoManager
public ICipher getReversibleCipher()
ICryptoManager
The actual cipher returned depends on the encryption configuration
in lumisportalconfig.xml
.
getReversibleCipher
in interface ICryptoManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |