Top Description Methods
org.bouncycastle.crypto

public Interface SingleBlockCipher<T extends Parameters>

Known Direct Subinterfaces
org.bouncycastle.crypto.SingleBlockDecryptor, org.bouncycastle.crypto.SingleBlockEncryptor
Type Parameters
<T>
the parameters type for the cipher implemented.

Base interface for a cipher only able to handle a single block of data.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

maximum size of input in bytes.
getInputSize
()

Return the maximum size of input this cipher can consume.

public int

Returns:

size of the output block produced in bytes.
getOutputSize
()

Return the size of the output this cipher will produce.

public T

Returns:

the cipher's parameters.
getParameters
()

Return the parameters for this single block cipher.

Method Detail

getInputSizeback to summary
public int getInputSize()

Return the maximum size of input this cipher can consume.

Returns:int

maximum size of input in bytes.

getOutputSizeback to summary
public int getOutputSize()

Return the size of the output this cipher will produce.

Returns:int

size of the output block produced in bytes.

getParametersback to summary
public T getParameters()

Return the parameters for this single block cipher.

Returns:T

the cipher's parameters.