Top Description Methods
org.bouncycastle.crypto

public Interface AEADOperatorFactory<T extends Parameters>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsAEADOperatorFactory, org.bouncycastle.crypto.general.GuardedAEADOperatorFactory
Type Parameters
<T>
the type for the parameters for the operator made by this factory.

Interface for factories producing encryptor/decryptor objects supporting AEAD modes.

Method Summary

Modifier and TypeMethod and Description
public InputAEADDecryptor<T>

Returns:

an AEAD decryptor which can be used wrap an input stream.
createInputAEADDecryptor
(SymmetricKey
the key to use to set up the decryptor.
key
,
T
any additional parameters required to set up the decryptor.
parameters
)

Create an object for decrypting input and handling AAD data.

public OutputAEADDecryptor<T>

Returns:

an AEAD decryptor which can be used wrap an output stream.
createOutputAEADDecryptor
(SymmetricKey
the key to use to set up the decryptor.
key
,
T
any additional parameters required to set up the decryptor.
parameters
)

Create an object for decrypting output and handling AAD data.

public OutputAEADEncryptor<T>

Returns:

an AEAD encryptor which can be used wrap an output stream.
createOutputAEADEncryptor
(SymmetricKey
the key to use to set up the encryptor.
key
,
T
any additional parameters required to set up the encryptor.
parameters
)

Create an object for encrypting output and handling AAD data.

Method Detail

createInputAEADDecryptorback to summary
public InputAEADDecryptor<T> createInputAEADDecryptor(SymmetricKey key, T parameters)

Create an object for decrypting input and handling AAD data.

Parameters
key:SymmetricKey

the key to use to set up the decryptor.

parameters:T

any additional parameters required to set up the decryptor.

Returns:InputAEADDecryptor<T>

an AEAD decryptor which can be used wrap an input stream.

createOutputAEADDecryptorback to summary
public OutputAEADDecryptor<T> createOutputAEADDecryptor(SymmetricKey key, T parameters)

Create an object for decrypting output and handling AAD data.

Parameters
key:SymmetricKey

the key to use to set up the decryptor.

parameters:T

any additional parameters required to set up the decryptor.

Returns:OutputAEADDecryptor<T>

an AEAD decryptor which can be used wrap an output stream.

createOutputAEADEncryptorback to summary
public OutputAEADEncryptor<T> createOutputAEADEncryptor(SymmetricKey key, T parameters)

Create an object for encrypting output and handling AAD data.

Parameters
key:SymmetricKey

the key to use to set up the encryptor.

parameters:T

any additional parameters required to set up the encryptor.

Returns:OutputAEADEncryptor<T>

an AEAD encryptor which can be used wrap an output stream.