Package org.bouncycastle.operator
Interface AADProcessor
- 
- All Known Subinterfaces:
 InputAEADDecryptor,OutputAEADEncryptor
public interface AADProcessorBase interface for extra methods required for handling associated data in AEAD ciphers. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.OutputStreamgetAADStream()Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.byte[]getMAC()Return the final value of AEAD cipher's MAC. 
 - 
 
- 
- 
Method Detail
- 
getAADStream
java.io.OutputStream getAADStream()
Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.- Returns:
 - a stream for collecting associated data.
 
 
- 
getMAC
byte[] getMAC()
Return the final value of AEAD cipher's MAC.- Returns:
 - MAC value for the AEAD cipher.
 
 
 - 
 
 -