Bouncy Castle Cryptography Library 1.79

org.bouncycastle.tsp.ers
Class ERSFileData

java.lang.Object
  |
  +--org.bouncycastle.tsp.ers.ERSCachingData
        |
        +--org.bouncycastle.tsp.ers.ERSFileData
All Implemented Interfaces:
ERSData

public class ERSFileData
extends ERSCachingData

Generic class for holding a File of data for RFC 4998 ERS.


Constructor Summary
ERSFileData(java.io.File content)
           
 
Method Summary
protected  byte[] calculateHash(DigestCalculator digestCalculator, byte[] previousChainHash)
           
 
Methods inherited from class org.bouncycastle.tsp.ers.ERSCachingData
getHash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERSFileData

public ERSFileData(java.io.File content)
            throws java.io.FileNotFoundException
Method Detail

calculateHash

protected byte[] calculateHash(DigestCalculator digestCalculator,
                               byte[] previousChainHash)
Overrides:
calculateHash in class ERSCachingData

Bouncy Castle Cryptography Library 1.79