|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.security.pbe.PBEGenParameterSpec
This class specifies salt length and iteration count to be used for generating algorithm parameters for password based encryption. An instance of this class may be necessary for initializing a PBEParameterGenerator to create PBEParameters. Salt and iteration count are used for creating key material from a password according to PKCS#5/PKCS#12.
PBEParameterGenerator
,
PBEParameters
Constructor Summary | |
PBEGenParameterSpec(int saltLength,
int iterationCount)
Specifies the PBE key generation parameters, using a salt length and an iteration count. |
Method Summary | |
int |
getIterationCount()
Returns the number of iterations when generating the key and the initialization vector (IV). |
int |
getSaltLength()
Returns the length of the salt in bytes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PBEGenParameterSpec(int saltLength, int iterationCount)
saltLength
- the length of the salt in bytesiterationCount
- the number of iterationsMethod Detail |
public int getSaltLength()
public int getIterationCount()
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |