© 2002 BEA Systems, Inc.


com.beasys.commerce.ebusiness.security
Interface Decryptor


public interface Decryptor
extends Session

The Decryptor is a Stateless Session EJB that provides decryption services.
The decryptor needs that the implementation it uses to provide its services be in a consistent state before it can provide decryption services. If decryption services are requested of the Decryptor before the implementation is appropriately initialized, it throws an InconsistentStateException.

See Also:
DecryptorHome, DecryptorImpl

Method Summary
 java.lang.String decrypt(java.lang.String dataToDecrypt)
          Takes a string of data to decrypt and returns a string of plain text.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

decrypt

public java.lang.String decrypt(java.lang.String dataToDecrypt)
                         throws java.rmi.RemoteException,
                                InconsistentStateException
Takes a string of data to decrypt and returns a string of plain text.

Parameters:
dataToDecrypt - The encrypted string that needs to be decrypted.
Returns:
a string of decrypted data.
Throws:
InconsistentStateException - if the service implementation is not appropriately initialized.
java.rmi.RemoteException - if there is a remote error.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved