com.guhesan.querycrypt.beans
Class QueryCryptUser

java.lang.Object
  |
  +--com.guhesan.querycrypt.beans.QueryCryptUser

public class QueryCryptUser
extends java.lang.Object

Author:
Venkatt Guhesan (www.AvedaTech.com) This code is part of the QueryCrypt project: All Rights Reserved. THE QUERYCRYPT SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AVEDATECH COMPANY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE QUERYCRYPT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Saturday, September 24, 2005

Constructor Summary
QueryCryptUser(java.lang.String sessionid, javax.crypto.SecretKey key)
           
 
Method Summary
 void addToMD5Map(java.lang.String md5, byte[] encryptedStr)
           
 byte[] getByKey(java.lang.String md5key)
           
 java.util.HashMap getMd5Keys()
           
 javax.crypto.SecretKey getSecretKey()
           
 java.lang.String getSessionID()
           
 void setMd5Keys(java.util.HashMap md5Keys)
           
 void setSecretKey(javax.crypto.SecretKey secretKey)
           
 void setSessionID(java.lang.String sessionID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCryptUser

public QueryCryptUser(java.lang.String sessionid,
                      javax.crypto.SecretKey key)
Method Detail

getMd5Keys

public java.util.HashMap getMd5Keys()
Returns:
Returns the md5Keys.

setMd5Keys

public void setMd5Keys(java.util.HashMap md5Keys)
Parameters:
md5Keys - The md5Keys to set.

getSessionID

public java.lang.String getSessionID()
Returns:
Returns the sessionID.

setSessionID

public void setSessionID(java.lang.String sessionID)
Parameters:
sessionID - The sessionID to set.

addToMD5Map

public void addToMD5Map(java.lang.String md5,
                        byte[] encryptedStr)

getByKey

public byte[] getByKey(java.lang.String md5key)

getSecretKey

public javax.crypto.SecretKey getSecretKey()
Returns:
Returns the secretKey.

setSecretKey

public void setSecretKey(javax.crypto.SecretKey secretKey)
Parameters:
secretKey - The secretKey to set.


Copyright © 2005 All Rights Reserved.