|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 hashpreviousChainHash - hash from an earlier chain if it needs to be included.
protected abstract byte[] calculateHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||