SecurePlayLibray J2SE
v2.1

com.SecurePlay.SPUInteropUtilJ2SE
Class SPUInteropUtilClass

java.lang.Object
  extended bycom.SecurePlay.SPUInteropUtilJ2SE.SPUInteropUtilClass

public class SPUInteropUtilClass
extends java.lang.Object

Author:
IT GlobalSecure
See Also:
SecurePlay License Information
 

Constructor Summary
SPUInteropUtilClass()
           
 
Method Summary
static byte[] getHashText(java.lang.String plainText, java.lang.String algorithm)
          This method gets the hashed string of a text.
static java.util.Hashtable HashtableClone(java.util.Hashtable htbl)
          Wrapps the .clone() method of Hashtable.
static byte[] SPIclone(byte[] byteArr)
          This method clones a String array.
static java.lang.String[] SPIclone(java.lang.String[] strArr)
          This method clones a String array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPUInteropUtilClass

public SPUInteropUtilClass()
Method Detail

SPIclone

public static java.lang.String[] SPIclone(java.lang.String[] strArr)
This method clones a String array.

Parameters:
strArr - String[] - Atring array to be cloned.
Returns:
String[] - cloned copy of the String array.

SPIclone

public static byte[] SPIclone(byte[] byteArr)
This method clones a String array.

Parameters:
byteArr - byte[] - Atring array to be cloned.
Returns:
String[] - cloned copy of the String array.

getHashText

public static byte[] getHashText(java.lang.String plainText,
                                 java.lang.String algorithm)
This method gets the hashed string of a text.

Parameters:
plainText - String - string to be hashed
algorithm - String - The algorithm to use like MD2, MD5, SHA-1, etc.
Returns:
hash - String - the hashed string

HashtableClone

public static java.util.Hashtable HashtableClone(java.util.Hashtable htbl)
Wrapps the .clone() method of Hashtable. (to support ME)

Parameters:
htbl - Hashtable - hashtable to be cloned.
Returns:
Hashtable - the cloned instance of the hashtable.

SecurePlayLibray J2SE
v2.1

2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.