lumis.portal.crypto
Interface ICipherSpi

Package class diagram package ICipherSpi
All Superinterfaces:
ICipher
All Known Implementing Classes:
AbstractCipher, MessageDigestCipher, SymmetricCipher

@StableMinor(version="6.2",
             sinceVersion="5.5")
public interface ICipherSpi
extends ICipher

Interface to be implemented by customized ciphers.

To create a customized cipher, create a class that implements this interface, and configure lumisportalconfig.xml to use that class.

Also consider extending AbstractCipher instead of implementing this interface directly.

Since:
5.5.0

Method Summary
 void init(Node configuration)
          This method is called only once and before any other method are called.
 
Methods inherited from interface lumis.portal.crypto.ICipher
decrypt, decrypt, encrypt, encrypt
 

Method Detail

init

void init(Node configuration)
          throws PortalException
This method is called only once and before any other method are called. This allows the cipher to initialize itself and read any custom configuration.

Throws:
PortalException
Since:
5.5.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.