Bouncy Castle Cryptography Library 1.79

org.bouncycastle.operator
Interface InputExpander


public interface InputExpander

General interface for an operator that is able to produce an InputStream that will produce uncompressed data.


Method Summary
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
          Return the algorithm identifier describing the compression algorithm and parameters this expander supports.
 java.io.InputStream getInputStream(java.io.InputStream comIn)
          Wrap the passed in input stream comIn, returning an input stream that expands anything read in from comIn.
 

Method Detail

getAlgorithmIdentifier

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
Return the algorithm identifier describing the compression algorithm and parameters this expander supports.
Returns:
algorithm oid and parameters.

getInputStream

public java.io.InputStream getInputStream(java.io.InputStream comIn)
Wrap the passed in input stream comIn, returning an input stream that expands anything read in from comIn.
Parameters:
comIn - the compressed input data stream..
Returns:
an expanding InputStream.

Bouncy Castle Cryptography Library 1.79