@StableMinor(version="12.3", sinceVersion="5.5") public interface ICryptoManager
Modifier and Type | Method and Description |
---|---|
ICipher |
getOneWayCipher()
Returns a one-way cipher.
|
ICipher |
getReversibleCipher()
Returns a cipher that is able to encrypt data, and decrypt it back.
|
ICipher getOneWayCipher()
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.
ICipher getReversibleCipher()
The actual cipher returned depends on the encryption configuration
in lumisportalconfig.xml
.
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.