|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.pkcs.PBEParameter
public class PBEParameter
Describes the PBEParameter type defined in PKCS#5. It can also be used to model the pkcs-12PbeParams type defined in section B.4 of PKCS#12.
| Field Summary | |
|---|---|
protected int |
iterationCount
Number of iterations of mixing function. |
protected byte[] |
salt
Digest salt value. |
| Constructor Summary | |
|---|---|
PBEParameter(byte[] saltBytes,
int iterations)
Creates a new PBE parameter with given values. |
|
| Method Summary | |
|---|---|
static PBEParameter |
decode(org.bouncycastle.asn1.DERSequence params)
Decodes a DER sequence of PBE parameters into an instance of this class. |
int |
getIterationCount()
|
byte[] |
getSalt()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected byte[] salt
protected int iterationCount
| Constructor Detail |
|---|
public PBEParameter(byte[] saltBytes,
int iterations)
saltBytes - Bytes of digest salt.iterations - Number of iterations of mixing function.| Method Detail |
|---|
public static PBEParameter decode(org.bouncycastle.asn1.DERSequence params)
params - PBE parameters as a DER sequence.
PBEParameter.public byte[] getSalt()
public int getIterationCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||