|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.crypto.spec.PBEParameterSpec
|
+--iaik.security.spec.IaikPBEParameterSpec
This class extends PBEParameterSpec and implements the ASN1Type interface.
A PBEParameterSpec specifies the parameters salt and iteration
count, as used by password based encryption according to
PKCS#5.
| Constructor Summary | |
IaikPBEParameterSpec(ASN1Object algorithmParameter)
Creates a PBE paramter specification from an ASN1Object. |
|
IaikPBEParameterSpec(byte[] salt,
int iterationCount)
Specifies the PBE parameters, using a salt and a iteration count. |
|
| Method Summary | |
void |
decode(ASN1Object obj)
Decodes the given ASN.1 object and parses it for salt and iteration count. |
int |
getIterationCount()
Returns the iteration count. |
byte[] |
getSalt()
Returns the salt. |
ASN1Object |
toASN1Object()
Returns this PBE parameter specification as an ASN1Object. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public IaikPBEParameterSpec(byte[] salt,
int iterationCount)
salt - the salt valueiterationCount - the iteration count value
public IaikPBEParameterSpec(ASN1Object algorithmParameter)
throws CodingException
IaikPBEParameterSpec params = new IaikPBEParameterSpec(encryptionAlg.getParameter());
algorithmParameter - the algorithm parameters as ASN1Object| Method Detail |
public byte[] getSalt()
public int getIterationCount()
public void decode(ASN1Object obj)
throws CodingException
obj - the algorithm parameters as ASN1Objectpublic ASN1Object toASN1Object()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||