Package org.bouncycastle.tsp.ers
Interface ERSData
- All Known Implementing Classes:
ERSByteData
,ERSCachingData
,ERSDataGroup
,ERSDirectoryDataGroup
,ERSFileData
,ERSInputStreamData
public interface ERSData
General interface for an ERSData data group object.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getHash
(DigestCalculator digestCalculator, byte[] previousChainHash) Return the calculated hash for the Data
-
Method Details
-
getHash
Return the calculated hash for the Data- Parameters:
digestCalculator
- digest calculator to use.previousChainHash
- hash from an earlier chain if it needs to be included.- Returns:
- calculated hash.
-