| Modifier and Type | Field and Description |
|---|---|
| pack-priv SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | addPadding(byte[] in, int inOff)
Implements org. add the pad bytes to the passed in block, returning the number of bytes added. |
| public String | Returns: the name of the algorithm the padder implements.Implements org. Return the name of the algorithm the padder implements. |
| public void | init(SecureRandom
a SecureRandom if available. random)Implements org. Initialise the padder. |
| public int | padCount(byte[] in)
Implements org. return the number of pad bytes present in the block. |
| random | back to summary |
|---|---|
| pack-priv SecureRandom random | |
| ISO10126d2Padding | back to summary |
|---|---|
| public ISO10126d2Padding() | |
| 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.
| |