org.bouncycastle.crypto.paddings
public class ISO7816d4Padding extends Object implements BlockCipherPadding
Method Summary | |
---|---|
int | addPadding(byte[] in, int inOff)
add the pad bytes to the passed in block, returning the
number of bytes added. |
String | getPaddingName()
Return the name of the algorithm the padder implements.
|
void | init(SecureRandom random)
Initialise the padder.
|
int | padCount(byte[] in)
return the number of pad bytes present in the block. |
Returns: the name of the algorithm the padder implements.
Parameters: random - a SecureRandom if available.