com.jp.protection.pub
Class CRCHost

java.lang.Object
  extended by com.jp.protection.pub.IntegrityHost
      extended by com.jp.protection.pub.CRCHost

Deprecated. since 3.0 use IntegrityHost instead

public class CRCHost
extends IntegrityHost

Provides methods to ensure that certain classes/resources/files are still unchanged using previously calculated digest


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jp.protection.pub.IntegrityHost
IntegrityHost.CRC32Digest, IntegrityHost.Digest, IntegrityHost.MessageDigest
 
Field Summary
 
Fields inherited from class com.jp.protection.pub.IntegrityHost
ALGORITHM_CRC32, ALGORITHM_DEFAULT, ALGORITHM_MD5, ALGORITHM_SHA_1, fAlgorithm, fCheckDigest, fCRC, fDigest, fDigestBytes, fDigestEntries, fVerbose, WEB_INF
 
Constructor Summary
CRCHost()
          Deprecated. Creates a new instance of the CRCHost
CRCHost(java.lang.String[] aCRCEntries, byte[] aCheckDigest)
          Deprecated. Creates a new instance of the CRCHost
CRCHost(java.lang.String[] aCRCEntries, long aCRC)
          Deprecated. use CRCHost(String[] aCRCEntries, byte[] aCheckBytes) instead
 
Method Summary
 
Methods inherited from class com.jp.protection.pub.IntegrityHost
calculate, calculateDigest, calculateDigest, check, check, check, checkStatic, checkStatic, checkStatic, error, error, getAlgorithm, getAlgorithmStr, getCheckDigest, getCRC, getCRCEntries, getDigest, getDigestEntries, getEntryStream, isVerbose, resetDigest, setAlgorithm, setCheckDigest, setCRC, setCRCEntries, setDigestEntries, setVerbose, toResourceName, updateDigest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRCHost

public CRCHost(java.lang.String[] aCRCEntries,
               long aCRC)
Deprecated. use CRCHost(String[] aCRCEntries, byte[] aCheckBytes) instead

Creates a new instance of the CRCHost

Parameters:
aCRCEntries - list of files to check
aCRC - pre-calculated CRC to check

CRCHost

public CRCHost(java.lang.String[] aCRCEntries,
               byte[] aCheckDigest)
Deprecated. 
Creates a new instance of the CRCHost

Parameters:
aCRCEntries - list of files to check
aCheckDigest - pre-calculated bytes array to check

CRCHost

public CRCHost()
Deprecated. 
Creates a new instance of the CRCHost