Class ERSFileData
java.lang.Object
org.bouncycastle.tsp.ers.ERSCachingData
org.bouncycastle.tsp.ers.ERSFileData
- All Implemented Interfaces:
ERSData
Generic class for holding a File of data for RFC 4998 ERS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]calculateHash(DigestCalculator digestCalculator, byte[] previousChainHash) Compute the hash for this data object.Methods inherited from class ERSCachingData
getHash
-
Constructor Details
-
ERSFileData
- Throws:
FileNotFoundException
-
-
Method Details
-
calculateHash
Description copied from class:ERSCachingDataCompute the hash for this data object. Implemented by subclasses; the result is cached byERSCachingData.getHash(DigestCalculator, byte[]).- Specified by:
calculateHashin classERSCachingData- Parameters:
digestCalculator- the digest calculator to use.previousChainHash- hash from an earlier chain to fold in, or null.- Returns:
- the calculated hash.
-