Top Description Methods
org.bouncycastle.crypto

public Interface AADProcessor

Known Direct Subinterfaces
org.bouncycastle.crypto.InputAEADDecryptor, org.bouncycastle.crypto.OutputAEADDecryptor, org.bouncycastle.crypto.OutputAEADEncryptor

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

Method Summary

Modifier and TypeMethod and Description
public UpdateOutputStream

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 UpdateOutputStream 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.

getMACback to summary
public byte[] getMAC()

Return the final value of AEAD cipher's MAC.

Returns:byte[]

MAC value for the AEAD cipher.