Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsOutputEncryptor<T extends Parameters>

extends Object
implements OutputEncryptor<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.OutputEncryptor, org.bouncycastle.crypto.OutputCipher
Known Direct Subclasses
org.bouncycastle.crypto.fips.FipsTripleDES.OperatorFactory.OutEncryptor, org.bouncycastle.crypto.fips.FipsAES.OperatorFactory.OutEncryptor, org.bouncycastle.crypto.fips.FipsOutputAEADEncryptor
Type Parameters
<T>
the parameters type associated with the final implementation of this encryptor.
Imports
java.io.OutputStream, org.bouncycastle.crypto.CipherOutputStream, .OutputEncryptor, .Parameters

Base class for the approved mode OutputEncryptor implementations.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract CipherOutputStream
getEncryptingStream(OutputStream
the output stream to collect the encrypted data in.
out
)

Redeclares org.bouncycastle.crypto.OutputEncryptor.getEncryptingStream.

Return a stream which will encrypt it's input writing the results to out.
public abstract T
getParameters()

Redeclares org.bouncycastle.crypto.OutputCipher.getParameters.

Return the parameters for this cipher.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FipsOutputEncryptorback to summary
pack-priv FipsOutputEncryptor()

Method Detail

getEncryptingStreamback to summary
public abstract CipherOutputStream getEncryptingStream(OutputStream out)

Redeclares org.bouncycastle.crypto.OutputEncryptor.getEncryptingStream.

Doc from org.bouncycastle.crypto.OutputEncryptor.getEncryptingStream.

Return a stream which will encrypt it's input writing the results to out.

Parameters
out:OutputStream

the output stream to collect the encrypted data in.

Returns:CipherOutputStream

a stream for writing the original plain-text data.

getParametersback to summary
public abstract T getParameters()

Redeclares org.bouncycastle.crypto.OutputCipher.getParameters.

Doc from org.bouncycastle.crypto.OutputCipher.getParameters.

Return the parameters for this cipher.

Returns:T

the cipher's parameters.