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

public Class ERSInputStreamData

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

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

Field Summary

Modifier and TypeField and Description
private final byte[]
private final File

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

contentBytesback to summary
private final byte[] contentBytes
contentFileback to summary
private final File contentFile

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.