T - the parameters type associated with the final implementation of this decryptor.public abstract class FipsInputAEADDecryptor<T extends Parameters> extends java.lang.Object implements InputAEADDecryptor<T>
| Modifier and Type | Method and Description |
|---|---|
abstract UpdateOutputStream |
getAADStream()
Return a stream to write associated data to in order to have it incorporated into the
AEAD cipher's MAC.
|
abstract java.io.InputStream |
getDecryptingStream(java.io.InputStream in)
Return a stream which will decrypt what it reads from the stream in and pass it through.
|
abstract byte[] |
getMAC()
Return the final value of AEAD cipher's MAC.
|
abstract T |
getParameters()
Return the parameters for this decryptor.
|
public abstract T getParameters()
InputDecryptorgetParameters in interface InputDecryptor<T extends Parameters>public abstract UpdateOutputStream getAADStream()
AADProcessorgetAADStream in interface AADProcessorpublic abstract java.io.InputStream getDecryptingStream(java.io.InputStream in)
InputDecryptorgetDecryptingStream in interface InputDecryptor<T extends Parameters>in - the source of encrypted data..public abstract byte[] getMAC()
AADProcessorgetMAC in interface AADProcessor