T
- the parameters type associated with the final implementation of this key encryptor.public abstract class FipsOutputAEADEncryptor<T extends FipsParameters> extends FipsOutputEncryptor<T> implements OutputAEADEncryptor<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 CipherOutputStream |
getEncryptingStream(java.io.OutputStream out)
Return a stream which will encrypt it's input writing the results to out.
|
abstract byte[] |
getMAC()
Return the final value of AEAD cipher's MAC.
|
getParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxOutputSize, getParameters, getUpdateOutputSize
public abstract UpdateOutputStream getAADStream()
AADProcessor
getAADStream
in interface AADProcessor
public abstract CipherOutputStream getEncryptingStream(java.io.OutputStream out)
OutputEncryptor
getEncryptingStream
in interface OutputEncryptor<T extends FipsParameters>
getEncryptingStream
in class FipsOutputEncryptor<T extends FipsParameters>
out
- the output stream to collect the encrypted data in.public abstract byte[] getMAC()
AADProcessor
getMAC
in interface AADProcessor