|
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.MacGeneralParameters
This class encapsulates parameters for the MAC algorithms for the following mechanisms: DES, DES3 (triple-DES), CAST, CAST3, CAST128 (CAST5), IDEA, and CDMF ciphers.
Field Summary | |
protected long |
macLength_
The length of the MAC produced, in bytes. |
Constructor Summary | |
MacGeneralParameters(long macLength)
Create a new MacGeneralParameters object with the given MAC length. |
Method Summary | |
Object |
clone()
Create a (deep) clone of this object. |
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 Long object. |
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected long macLength_
Constructor Detail |
public MacGeneralParameters(long macLength)
macLength
- The length of the MAC produced, in bytes.Method Detail |
public Object clone()
public Object getPKCS11ParamsObject()
getPKCS11ParamsObject
in interface Parameters
public long getMacLength()
public void setMacLength(long macLength)
macLength
- The length of the MAC produced, in bytes.public String toString()
public boolean equals(Object otherObject)
otherObject
- The other object to compare to.
public int hashCode()
|
IAIK PKCS#11 Wrapper version 1.2.16 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |