Bouncy Castle Cryptography Library 1.79

org.bouncycastle.tsp.ers
Class ERSInputStreamData

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

public class ERSInputStreamData
extends ERSCachingData

Generic class for processing an InputStream of data RFC 4998 ERS.


Constructor Summary
ERSInputStreamData(java.io.File content)
           
ERSInputStreamData(java.io.InputStream 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

ERSInputStreamData

public ERSInputStreamData(java.io.File content)
                   throws java.io.FileNotFoundException

ERSInputStreamData

public ERSInputStreamData(java.io.InputStream content)
Method Detail

calculateHash

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

Bouncy Castle Cryptography Library 1.79