|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.bouncycastle.tsp.ers.ERSCachingData
An ERSData object that caches hash calculations.
| Constructor Summary | |
ERSCachingData()
|
|
| Method Summary | |
protected abstract byte[] |
calculateHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
|
byte[] |
getHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
Generates a hash for the whole DataGroup. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ERSCachingData()
| Method Detail |
public byte[] getHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
getHash in interface ERSDatadigestCalculator - the DigestCalculator to use for computing the hash
protected abstract byte[] calculateHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||