Top Description Fields Constructors Methods
org.bouncycastle.tsp.ers

public Class ERSInputStreamData

extends ERSCachingData
Class Inheritance
Imports
java.io.File, .FileInputStream, .FileNotFoundException, .InputStream, org.bouncycastle.operator.DigestCalculator

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

Field Summary

Modifier and TypeField and Description
private final InputStream

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected byte[]
calculateHash(DigestCalculator digestCalculator, byte[] previousChainHash)

Implements abstract org.bouncycastle.tsp.ers.ERSCachingData.calculateHash.

Inherited from org.bouncycastle.tsp.ers.ERSCachingData:
getHash

Field Detail

contentback to summary
private final InputStream content

Constructor Detail

ERSInputStreamDataback to summary
public ERSInputStreamData(File content) throws FileNotFoundException
ERSInputStreamDataback to summary
public ERSInputStreamData(InputStream content)

Method Detail

calculateHashback to summary
protected byte[] calculateHash(DigestCalculator digestCalculator, byte[] previousChainHash)

Implements abstract org.bouncycastle.tsp.ers.ERSCachingData.calculateHash.