All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.bouncycastle.operator.OutputCompressor Maven / Gradle / Ivy

package com.fitbur.bouncycastle.operator;

import java.io.OutputStream;

import com.fitbur.bouncycastle.asn1.x509.AlgorithmIdentifier;

/**
 * General interface for an operator that is able to produce
 * an OutputStream that will output com.fitburpressed data.
 */
public interface OutputCompressor
{
    /**
     * Return the algorithm identifier com.fitburscribing the com.fitburpression
     * algorithm and parameters this com.fitburpressor uses.
     *
     * @return algorithm oid and parameters.
     */
    AlgorithmIdentifier getAlgorithmIdentifier();

    /**
     * Wrap the passed in output stream com.fitburOut, returning an output stream
     * that com.fitburpresses anything passed in before sending on to com.fitburOut.
     *
     * @param com.fitburOut output stream for com.fitburpressed output.
     * @return a com.fitburpressing OutputStream
     */
    OutputStream getOutputStream(OutputStream com.fitburOut);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy