Package org.bouncycastle.tsp.ers
Class ERSCachingData
- java.lang.Object
-
- org.bouncycastle.tsp.ers.ERSCachingData
-
- All Implemented Interfaces:
ERSData
- Direct Known Subclasses:
ERSByteData
,ERSDataGroup
,ERSFileData
,ERSInputStreamData
public abstract class ERSCachingData extends java.lang.Object implements ERSData
An ERSData object that caches hash calculations.
-
-
Constructor Summary
Constructors Constructor Description ERSCachingData()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract byte[]
calculateHash(org.bouncycastle.operator.DigestCalculator digestCalculator, byte[] previousChainHash)
byte[]
getHash(org.bouncycastle.operator.DigestCalculator digestCalculator, byte[] previousChainHash)
Generates a hash for the whole DataGroup.
-
-
-
Method Detail
-
getHash
public byte[] getHash(org.bouncycastle.operator.DigestCalculator digestCalculator, byte[] previousChainHash)
Generates a hash for the whole DataGroup.
-
calculateHash
protected abstract byte[] calculateHash(org.bouncycastle.operator.DigestCalculator digestCalculator, byte[] previousChainHash)
-
-