|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectiaik.pkcs.pkcs11.parameters.RC2Parameters
iaik.pkcs.pkcs11.parameters.RC2MacGeneralParameters
This class encapsulates parameters for the algorithm Mechanism.RC2_MAC_GENERAL.
| Field Summary | |
protected long |
macLength_
The length of the MAC produced, in bytes. |
| Fields inherited from class iaik.pkcs.pkcs11.parameters.RC2Parameters |
effectiveBits_ |
| Constructor Summary | |
RC2MacGeneralParameters(long effectiveBits,
long macLength)
Create a new RC2MacGeneralParameters object with the given effective bits and given MAC length. |
|
| Method Summary | |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
long |
getMacLength()
Get the length of the MAC produced, in bytes. |
Object |
getPKCS11ParamsObject()
Get this parameters object as an object of the CK_RC2_MAC_GENERAL_PARAMS class. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a hashtable. |
void |
setMacLength(long macLength)
Set the length of the MAC produced, in bytes. |
String |
toString()
Returns the string representation of this object. |
| Methods inherited from class iaik.pkcs.pkcs11.parameters.RC2Parameters |
clone, getEffectiveBits, setEffectiveBits |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected long macLength_
| Constructor Detail |
public RC2MacGeneralParameters(long effectiveBits,
long macLength)
effectiveBits - The effective number of bits in the RC2 search space.macLength - The length of the MAC produced, in bytes.| Method Detail |
public long getMacLength()
public Object getPKCS11ParamsObject()
getPKCS11ParamsObject in interface ParametersgetPKCS11ParamsObject in class RC2Parameterspublic void setMacLength(long macLength)
macLength - The length of the MAC produced, in bytes.public String toString()
toString in class RC2Parameterspublic boolean equals(Object otherObject)
equals in class RC2ParametersotherObject - The other object to compare to.
public int hashCode()
hashCode in class RC2Parameters
|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||