|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javax.crypto.spec.RC2ParameterSpec
RC2 parameter specification.
Attention: This is not a SUN implementation!
This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see
http://java.sun.com/security/JCE1.2/spec/apidoc/index.html
This class represents an initialization vector (IV), used as parameter by the RC2 algorithm.
AlgorithmParameterSpec| Constructor Summary | |
RC2ParameterSpec(int effectiveKeyBits)
|
|
RC2ParameterSpec(int effectiveKeyBits,
byte[] initVector)
Creates a RC2 Parameter specification by using the first 8 bytes of the supplied byte array as initialization vector (IV). |
|
RC2ParameterSpec(int effectiveKeyBits,
byte[] initVector,
int offset)
Creates a RC2 Parameter specification by using 8 bytes of the supplied byte array as IV, beginning at the given offset. |
|
| Method Summary | |
int |
getEffectiveKeyBits()
Return the number of effective key bits. |
byte[] |
getIV()
Returns a copy of the initialization vector (IV) as byte array representation. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public RC2ParameterSpec(int effectiveKeyBits)
public RC2ParameterSpec(int effectiveKeyBits,
byte[] initVector)
initVector - the byte array holding the IV
public RC2ParameterSpec(int effectiveKeyBits,
byte[] initVector,
int offset)
initVector - the byte array holding the IVoffset - the offset indicating the start position within the input IV byte array| Method Detail |
public int getEffectiveKeyBits()
public byte[] getIV()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||