Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsOutputAEADEncryptor<T extends FipsParameters>

extends FipsOutputEncryptor<T extends FipsParameters>
implements OutputAEADEncryptor<T extends FipsParameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.OutputAEADEncryptor, org.bouncycastle.crypto.AADProcessor, org.bouncycastle.crypto.OutputEncryptor, org.bouncycastle.crypto.OutputCipher
Known Direct Subclasses
org.bouncycastle.crypto.fips.FipsAES.AEADOperatorFactory.OutEncryptor
Type Parameters
<T>
the parameters type associated with the final implementation of this key encryptor.
Imports
java.io.OutputStream, org.bouncycastle.crypto.CipherOutputStream, .OutputAEADEncryptor, .UpdateOutputStream

Base class for the approved mode OutputAEADEncryptor implementations.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract UpdateOutputStream
getAADStream()

Redeclares org.bouncycastle.crypto.AADProcessor.getAADStream.

Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.
public abstract CipherOutputStream
getEncryptingStream(OutputStream
the output stream to collect the encrypted data in.
out
)

Redeclares org.bouncycastle.crypto.OutputEncryptor.getEncryptingStream.

Implements abstract org.bouncycastle.crypto.fips.FipsOutputEncryptor.getEncryptingStream.

Return a stream which will encrypt it's input writing the results to out.
public abstract byte[]
getMAC()

Redeclares org.bouncycastle.crypto.AADProcessor.getMAC.

Return the final value of AEAD cipher's MAC.
Inherited from org.bouncycastle.crypto.fips.FipsOutputEncryptor:
getParameters

Constructor Detail

FipsOutputAEADEncryptorback to summary
pack-priv FipsOutputAEADEncryptor()

Method Detail

getAADStreamback to summary
public abstract UpdateOutputStream getAADStream()

Redeclares org.bouncycastle.crypto.AADProcessor.getAADStream.

Doc from org.bouncycastle.crypto.AADProcessor.getAADStream.

Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.

Returns:UpdateOutputStream

a stream for collecting associated data.

getEncryptingStreamback to summary
public abstract CipherOutputStream getEncryptingStream(OutputStream out)

Redeclares org.bouncycastle.crypto.OutputEncryptor.getEncryptingStream.

Implements abstract org.bouncycastle.crypto.fips.FipsOutputEncryptor.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.

getMACback to summary
public abstract byte[] getMAC()

Redeclares org.bouncycastle.crypto.AADProcessor.getMAC.

Doc from org.bouncycastle.crypto.AADProcessor.getMAC.

Return the final value of AEAD cipher's MAC.

Returns:byte[]

MAC value for the AEAD cipher.