| Modifier and Type | Class and Description |
|---|---|
| protected static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected boolean | |
| protected int | |
| protected boolean | |
| protected byte[] | |
| protected int | |
| protected byte[] | |
| protected int | |
| protected AEADBufferBaseEngine. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected boolean | |
| public int | doFinal(byte[]
space for any resulting output data. output, int offset into out to start copying the data at. outOff)Implements org. Finish the operation either appending or verifying the MAC at the end of the data. |
| private void | |
| public int | |
| public int | getOutputSize(int
the length of the input. len)Implements org. return the size of the output buffer required for a processBytes plus a doFinal with an input of len bytes. |
| public int | getUpdateOutputSize(int
the length of the input. len)Implements org. return the size of the output buffer required for a processBytes an input of len bytes. |
| public void | processAADByte(byte
the byte to be processed. input)Implements org. Add a single byte to the associated data check. |
| public void | processAADBytes(byte[]
the input byte array. input, int the offset into the in array where the data to be processed starts. inOff, int the number of bytes to be processed. len)Implements org. Add a sequence of bytes to the associated data check. |
| protected abstract void | |
| protected abstract void | |
| public int | processBytes(byte[]
the input byte array. input, int the offset into the in array where the data to be processed starts. inOff, int the number of bytes to be processed. len, byte[] the output buffer the processed bytes go into. output, int the offset into the output byte array the processed data starts at. outOff)Implements org. process a block of bytes from in putting the result into out. |
| protected abstract void | |
| protected abstract void | |
| protected void |
| AADBufferSize | back to summary |
|---|---|
| protected int AADBufferSize | |
| aadFinished | back to summary |
|---|---|
| protected boolean aadFinished | |
| BlockSize | back to summary |
|---|---|
| protected int BlockSize | |
| initialised | back to summary |
|---|---|
| protected boolean initialised | |
| m_aad | back to summary |
|---|---|
| protected byte[] m_aad | |
| m_aadPos | back to summary |
|---|---|
| protected int m_aadPos | |
| m_buf | back to summary |
|---|---|
| protected byte[] m_buf | |
| m_bufPos | back to summary |
|---|---|
| protected int m_bufPos | |
| m_state | back to summary |
|---|---|
| protected AEADBufferBaseEngine. | |
| AEADBufferBaseEngine | back to summary |
|---|---|
| pack-priv AEADBufferBaseEngine() | |
| bufferReset | back to summary |
|---|---|
| protected void bufferReset() | |
| checkAAD | back to summary |
|---|---|
| protected void checkAAD() | |
| checkData | back to summary |
|---|---|
| protected boolean checkData() | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] output, int outOff) throws IllegalStateException, InvalidCipherTextException Implements org. Doc from org. Finish the operation either appending or verifying the MAC at the end of the data.
| |
| finishAAD | back to summary |
|---|---|
| private void finishAAD(AEADBufferBaseEngine. | |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() | |
| getOutputSize | back to summary |
|---|---|
| public int getOutputSize(int len) Implements org. Doc from org. return the size of the output buffer required for a processBytes plus a doFinal with an input of len bytes.
The returned size may be dependent on the initialisation of this cipher
and may not be accurate once subsequent input data is processed - this method
should be invoked immediately prior to a call to final processing of input data
and a call to
| |
| getUpdateOutputSize | back to summary |
|---|---|
| public int getUpdateOutputSize(int len) Implements org. Doc from org. return the size of the output buffer required for a processBytes an input of len bytes. The returned size may be dependent on the initialisation of this cipher and may not be accurate once subsequent input data is processed - this method should be invoked immediately prior to input data being processed.
| |
| processAADByte | back to summary |
|---|---|
| public void processAADByte(byte input) Implements org. Doc from org. Add a single byte to the associated data check.
| |
| processAADBytes | back to summary |
|---|---|
| public void processAADBytes(byte[] input, int inOff, int len) Implements org. Doc from org. Add a sequence of bytes to the associated data check.
| |
| processBuffer | back to summary |
|---|---|
| protected abstract void processBuffer(byte[] input, int inOff, byte[] output, int outOff) | |
| processBufferAAD | back to summary |
|---|---|
| protected abstract void processBufferAAD(byte[] input, int inOff) | |
| processBytes | back to summary |
|---|---|
| public int processBytes(byte[] input, int inOff, int len, byte[] output, int outOff) throws DataLengthException Implements org. Doc from org. process a block of bytes from in putting the result into out.
| |
| processFinalAAD | back to summary |
|---|---|
| protected abstract void processFinalAAD() | |
| processFinalBlock | back to summary |
|---|---|
| protected abstract void processFinalBlock(byte[] output, int outOff) | |
| validateAndProcessBuffer | back to summary |
|---|---|
| protected void validateAndProcessBuffer(byte[] input, int inOff, byte[] output, int outOff) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. | |
| public static final AEADBufferBaseEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AEADBufferBaseEngine. | |
| public static AEADBufferBaseEngine. |
| DecAad | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| DecData | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| DecFinal | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| DecInit | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| EncAad | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| EncData | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| EncFinal | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| EncInit | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| Uninitialized | back to summary |
|---|---|
| public static final AEADBufferBaseEngine. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static AEADBufferBaseEngine. | |
| values | back to summary |
|---|---|
| public static AEADBufferBaseEngine. | |