com.beasys.commerce.ebusiness.security
Interface Decryptor
- All Superinterfaces
- BusinessSmartComponent, Serializable, Session
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 |
String |
decrypt(String dataToDecrypt)
Takes a string of data to decrypt and returns a string of plain text. |
decrypt
String decrypt(String dataToDecrypt)
throws 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.
RemoteException
- if there is a remote error.
Copyright © 2006 BEA Systems, Inc. All Rights Reserved