|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.pub.IntegrityHost
com.jp.protection.pub.CRCHost
IntegrityHost instead
public class CRCHost
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 |
|---|
public CRCHost(java.lang.String[] aCRCEntries,
long aCRC)
CRCHost(String[] aCRCEntries, byte[]
aCheckBytes) instead
CRCHost
aCRCEntries - list of files to checkaCRC - pre-calculated CRC to check
public CRCHost(java.lang.String[] aCRCEntries,
byte[] aCheckDigest)
CRCHost
aCRCEntries - list of files to checkaCheckDigest - pre-calculated bytes array to checkpublic CRCHost()
CRCHost
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||