lumis.util.security
Interface IEncryptor

Package class diagram package IEncryptor

Deprecated. Since 5.5.0, replaced by the lumis.portal.crypto package.

@Deprecated
public interface IEncryptor

Defines the methods an encryptor must implement.

Since:
4.0.0

Method Summary
 String decrypt(String value)
          Deprecated. Decrypts a string.
 String encrypt(String value)
          Deprecated. Encrypts a string.
 void init(Node configuration)
          Deprecated. This method is called only once and before any other method are called.
 

Method Detail

init

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

Throws:
Exception

encrypt

String encrypt(String value)
               throws Exception
Deprecated. 
Encrypts a string.

Parameters:
value - the original string.
Returns:
the encrypted string.
Throws:
Exception

decrypt

String decrypt(String value)
               throws Exception
Deprecated. 
Decrypts a string.

Parameters:
value - the encrypted string.
Returns:
the string decrypted.
Throws:
Exception


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