| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | addPadding(byte[] in, int inOff)
Implements org. |
| public String | Returns: the name of the algorithm the padder implements.Implements org. |
| public void | init(SecureRandom
- a SecureRandom if available. random)Implements org. |
| public int | padCount(byte[] in)
Implements org. |
| ZeroBytePadding | back to summary |
|---|---|
| public ZeroBytePadding() | |
| addPadding | back to summary |
|---|---|
| public int addPadding(byte[] in, int inOff) Implements org. add the pad bytes to the passed in block, returning the number of bytes added. | |
| getPaddingName | back to summary |
|---|---|
| public String getPaddingName() Implements org. Return the name of the algorithm the padder implements.
| |
| init | back to summary |
|---|---|
| public void init(SecureRandom random) throws IllegalArgumentException Implements org. Initialise the padder.
| |
| padCount | back to summary |
|---|---|
| public int padCount(byte[] in) throws InvalidCipherTextException Implements org. return the number of pad bytes present in the block.
| |