java.lang.Object | |
↳ | org.bouncycastle.cert.crmf.FixedLengthMGF1Padder |
An encrypted value padder that uses MGF1 as the basis of the padding.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a padder to so that padded output will always be at least
length bytes long.
| |||||||||||
Create a padder to so that padded output will always be at least
length bytes long, using the passed in source of randomness to
provide the random material for the padder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a byte array of padded data.
| |||||||||||
Return a byte array of with padding removed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a padder to so that padded output will always be at least length bytes long.
length | fixed length for padded output. |
---|
Create a padder to so that padded output will always be at least length bytes long, using the passed in source of randomness to provide the random material for the padder.
length | fixed length for padded output. |
---|---|
random | a source of randomness. |
Return a byte array of padded data.
data | the data to be padded. |
---|
Return a byte array of with padding removed.
paddedData | the data to be padded. |
---|