Interface | Description |
---|---|
ICipher |
Defines the methods a cipher must implement.
|
ICipherSpi |
Interface to be implemented by customized ciphers.
|
ICryptoManager |
Manages cryptographic related operations.
|
Class | Description |
---|---|
AbstractCipher |
An abstract
ICipher implementation for easing concrete implementations. |
CryptoManager |
ICryptoManager implementation. |
MessageDigestCipher |
Uses a MessageDigest algorithm to encrypt data.
|
SymmetricCipher |
Generic cipher implementation, based on symmetric ciphers available in the
Java Cryptography Architecture (JCA).
|
Exception | Description |
---|---|
InvalidEncryptedValueException |
Thrown to indicate that an invalid encrypted value was used.
|
This package offer a higher-level simpler API, focused to be easier to use than the Java Cryptography Architecture. As being simpler, this API also offer less features, because it hides lower-level implementation details.
A one-way and a reversible cipher is provided to be used. The algorithm
used by each one is specified in the lumisportalconfig.xml
configuration file. Note that changing the configuration may cause further
encryption to be incompatible with previous ones.
The cipher can be obtained accessing the ICryptoManager
,
available using ManagerFactory.getCryptoManager()
.
A customized cipher class can be created implementing the
ICipherSpi
interface.
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.