© 2002 BEA Systems, Inc.


com.beasys.commerce.ebusiness.security
Interface Encryptor


public interface Encryptor
extends Session

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

See Also:
EncryptorHome, EncryptorImpl

Method Summary
 java.lang.String encrypt(java.lang.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

public java.lang.String encrypt(java.lang.String dataToEncrypt)
                         throws java.rmi.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.
java.rmi.RemoteException - if there is a remote error.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved