public class RC2CbcParameters extends RC2Parameters
Modifier and Type | Field and Description |
---|---|
protected byte[] |
initializationVector_
The initialization vector.
|
effectiveBits_
Constructor and Description |
---|
RC2CbcParameters(long effectiveBits,
byte[] initializationVector)
Create a new RC2CbcParameters object with the given effective bits and the initialization
vector.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object.
|
byte[] |
getInitializationVector()
Get the initialization vector.
|
java.lang.Object |
getPKCS11ParamsObject()
Get this parameters object as CK_RC2_CBC_PARAMS object.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a
hashtable.
|
void |
setInitializationVector(byte[] initializationVector)
Set the initialization vector.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
getEffectiveBits, setEffectiveBits
protected byte[] initializationVector_
public RC2CbcParameters(long effectiveBits, byte[] initializationVector)
effectiveBits
- The effective number of bits in the RC2 search space.initializationVector
- The initialization vector.public java.lang.Object clone()
clone
in class RC2Parameters
public java.lang.Object getPKCS11ParamsObject()
getPKCS11ParamsObject
in interface Parameters
getPKCS11ParamsObject
in class RC2Parameters
public byte[] getInitializationVector()
public void setInitializationVector(byte[] initializationVector)
initializationVector
- The initialization vector.public java.lang.String toString()
toString
in class RC2Parameters
public boolean equals(java.lang.Object otherObject)
equals
in class RC2Parameters
otherObject
- The other object to compare to.public int hashCode()
hashCode
in class RC2Parameters
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9