Package lumis.portal.crypto

Package class diagram package lumis.portal.crypto
Provides the API for cryptographic related operations.

See:
          Description

Interface Summary
ICipher Defines the methods a cipher must implement.
ICipherSpi Interface to be implemented by customized ciphers.
ICryptoManager Manages cryptographic related operations.
 

Class Summary
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 Summary
InvalidEncryptedValueException Thrown to indicate that an invalid encrypted value was used.
 

Package lumis.portal.crypto Description

Provides the API for cryptographic related operations.

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.

Since:
5.5.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.