| Modifier and Type | Field and Description |
|---|---|
| private PKMACValuesCalculator | |
| private int | |
| private AlgorithmIdentifier | |
| private int | |
| private AlgorithmIdentifier | |
| private PBMParameter | |
| private SecureRandom | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PKMACBuilder(PKMACValuesCalculator
supporting calculator calculator, int max allowable value for iteration count. maxIterations)Create a PKMAC builder enforcing a ceiling on the maximum iteration count. |
| private | PKMACBuilder(AlgorithmIdentifier hashAlgorithm, int iterationCount, AlgorithmIdentifier macAlgorithm, PKMACValuesCalculator calculator)
|
| Modifier and Type | Method and Description |
|---|---|
| public MacCalculator | |
| private void | |
| private MacCalculator | |
| private PBMParameter | |
| public MacCalculator | get(AlgorithmIdentifier algorithm, char[] password)
Implements org. |
| public PKMACBuilder | |
| public PKMACBuilder | |
| public PKMACBuilder | Returns: the generatorlength in octets of the salt to be generated. saltLength)Set the salt length in octets. |
| public PKMACBuilder |
| calculator | back to summary |
|---|---|
| private PKMACValuesCalculator calculator | |
| iterationCount | back to summary |
|---|---|
| private int iterationCount | |
| mac | back to summary |
|---|---|
| private AlgorithmIdentifier mac | |
| maxIterations | back to summary |
|---|---|
| private int maxIterations | |
| owf | back to summary |
|---|---|
| private AlgorithmIdentifier owf | |
| parameters | back to summary |
|---|---|
| private PBMParameter parameters | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| saltLength | back to summary |
|---|---|
| private int saltLength | |
| PKMACBuilder | back to summary |
|---|---|
| public PKMACBuilder(PKMACValuesCalculator calculator) | |
| PKMACBuilder | back to summary |
|---|---|
| public PKMACBuilder(PKMACValuesCalculator calculator, int maxIterations) Create a PKMAC builder enforcing a ceiling on the maximum iteration count.
| |
| PKMACBuilder | back to summary |
|---|---|
| private PKMACBuilder(AlgorithmIdentifier hashAlgorithm, int iterationCount, AlgorithmIdentifier macAlgorithm, PKMACValuesCalculator calculator) | |
| build | back to summary |
|---|---|
| public MacCalculator build(char[] password) throws CRMFException | |
| checkIterationCountCeiling | back to summary |
|---|---|
| private void checkIterationCountCeiling(int iterationCount) | |
| genCalculator | back to summary |
|---|---|
| private MacCalculator genCalculator(final PBMParameter params, char[] password) throws CRMFException | |
| genParameters | back to summary |
|---|---|
| private PBMParameter genParameters() | |
| get | back to summary |
|---|---|
| public MacCalculator get(AlgorithmIdentifier algorithm, char[] password) throws OperatorCreationException Implements org. | |
| setIterationCount | back to summary |
|---|---|
| public PKMACBuilder setIterationCount(int iterationCount) | |
| setParameters | back to summary |
|---|---|
| public PKMACBuilder setParameters(PBMParameter parameters) | |
| setSaltLength | back to summary |
|---|---|
| public PKMACBuilder setSaltLength(int saltLength) Set the salt length in octets.
| |
| setSecureRandom | back to summary |
|---|---|
| public PKMACBuilder setSecureRandom(SecureRandom random) | |