Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsInputAEADDecryptor<T extends Parameters>

extends Object
implements InputAEADDecryptor<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.InputAEADDecryptor, org.bouncycastle.crypto.AADProcessor, org.bouncycastle.crypto.InputDecryptor
Type Parameters
<T>
the parameters type associated with the final implementation of this decryptor.
Imports
java.io.InputStream, org.bouncycastle.crypto.InputAEADDecryptor, .Parameters, .UpdateOutputStream

Base class for the approved mode InputAEADDecryptor 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 InputStream
getDecryptingStream(InputStream
the source of encrypted data..
in
)

Redeclares org.bouncycastle.crypto.InputDecryptor.getDecryptingStream.

Return a stream which will decrypt what it reads from the stream in and pass it through.
public abstract byte[]
getMAC()

Redeclares org.bouncycastle.crypto.AADProcessor.getMAC.

Return the final value of AEAD cipher's MAC.
public abstract T
getParameters()

Redeclares org.bouncycastle.crypto.InputDecryptor.getParameters.

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

Constructor Detail

FipsInputAEADDecryptorback to summary
pack-priv FipsInputAEADDecryptor()

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.

getDecryptingStreamback to summary
public abstract InputStream getDecryptingStream(InputStream in)

Redeclares org.bouncycastle.crypto.InputDecryptor.getDecryptingStream.

Doc from org.bouncycastle.crypto.InputDecryptor.getDecryptingStream.

Return a stream which will decrypt what it reads from the stream in and pass it through.

Parameters
in:InputStream

the source of encrypted data..

Returns:InputStream

a stream which produces decrypted data based on bytes read from in..

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.

getParametersback to summary
public abstract T getParameters()

Redeclares org.bouncycastle.crypto.InputDecryptor.getParameters.

Doc from org.bouncycastle.crypto.InputDecryptor.getParameters.

Return the parameters for this decryptor.

Returns:T

the decryptor's parameters.