java.lang.Object | |
↳ | org.bouncycastle.crypto.paddings.ISO7816d4Padding |
A padder that adds the padding according to the scheme referenced in ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
add the pad bytes to the passed in block, returning the
number of bytes added.
| |||||||||||
Return the name of the algorithm the padder implements.
| |||||||||||
Initialise the padder.
| |||||||||||
return the number of pad bytes present in the block.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.paddings.BlockCipherPadding
|
add the pad bytes to the passed in block, returning the number of bytes added.
Return the name of the algorithm the padder implements.
Initialise the padder.
random | - a SecureRandom if available. |
---|
IllegalArgumentException |
---|
return the number of pad bytes present in the block.
InvalidCipherTextException |
---|