lumis.portal.crypto
Interface ICipherSpi

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

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  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.