com.beasys.commerce.ebusiness.security
Interface Encryptor

All Superinterfaces
BusinessSmartComponent, javax.ejb.EJBObject, Remote, Serializable, Session

public interface Encryptor
extends Session

The Encryptor is a Stateless Session EJB that provides encryption services.

See Also
EncryptorHome, EncryptorImpl

Method Summary
 String encrypt(String dataToEncrypt)
          Takes a string of data to encrypt and returns a string of encryted data.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

encrypt

String encrypt(String dataToEncrypt)
               throws RemoteException,
                      InconsistentStateException
Takes a string of data to encrypt and returns a string of encryted data.

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


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.