Package 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
Constructors Constructor Description ERSInputStreamData(File content)
ERSInputStreamData(InputStream content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
calculateHash(DigestCalculator digestCalculator)
-
Methods inherited from class org.bouncycastle.tsp.ers.ERSCachingData
getHash
-
-
-
-
Constructor Detail
-
ERSInputStreamData
public ERSInputStreamData(File content) throws FileNotFoundException
- Throws:
FileNotFoundException
-
ERSInputStreamData
public ERSInputStreamData(InputStream content)
-
-
Method Detail
-
calculateHash
protected byte[] calculateHash(DigestCalculator digestCalculator)
- Specified by:
calculateHash
in classERSCachingData
-
-