public class MacGeneralParameters extends Object implements Parameters
| Modifier and Type | Field and Description |
|---|---|
protected long |
macLength
The length of the MAC produced, in bytes.
|
| Constructor and Description |
|---|
MacGeneralParameters(long macLength)
Create a new MacGeneralParameters object with the given MAC length.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Long |
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.
|
public MacGeneralParameters(long macLength)
macLength - The length of the MAC produced, in bytes.public Long getPKCS11ParamsObject()
getPKCS11ParamsObject in interface Parameterspublic long getMacLength()
public void setMacLength(long macLength)
macLength - The length of the MAC produced, in bytes.public String toString()
public boolean equals(Object otherObject)
Copyright © 2020. All rights reserved.