Top Description Methods
org.bouncycastle.operator

public Interface AADProcessor

Known Direct Subinterfaces
org.bouncycastle.operator.InputAEADDecryptor, org.bouncycastle.operator.OutputAEADEncryptor
Imports
java.io.OutputStream

Base interface for extra methods required for handling associated data in AEAD ciphers.

Method Summary

Modifier and TypeMethod and Description
public OutputStream

Returns:

a stream for collecting associated data.
getAADStream
()

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

public byte[]

Returns:

MAC value for the AEAD cipher.
getMAC
()

Return the final value of AEAD cipher's MAC.

Method Detail

getAADStreamback to summary
public OutputStream getAADStream()

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

Returns:OutputStream

a stream for collecting associated data.

getMACback to summary
public byte[] getMAC()

Return the final value of AEAD cipher's MAC.

Returns:byte[]

MAC value for the AEAD cipher.