public abstract class ERSCachingData extends java.lang.Object implements ERSData
| Constructor and Description |
|---|
ERSCachingData() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract byte[] |
calculateHash(DigestCalculator digestCalculator,
byte[] previousChainHash) |
byte[] |
getHash(DigestCalculator digestCalculator,
byte[] previousChainHash)
Generates a hash for the whole DataGroup.
|
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)