de.flexiprovider.nf.iq.iqrdsa
Class IQRDSAParameterSpec
java.lang.Object
|
+--de.flexiprovider.nf.iq.iqrdsa.IQRDSAParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec
- public class IQRDSAParameterSpec
- extends java.lang.Object
- implements AlgorithmParameterSpec
This class specifies parameters for the IQRDSA signature algorithm
(implemented by IQRDSASignature).
- Author:
- Ralf-P. Weinmann
| Methods inherited from class java.lang.Object |
, clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
IQRDSAParameterSpec
public IQRDSAParameterSpec(FlexiBigInt discriminant,
FlexiBigInt modulus)
- Construct new IQRDSA parameters from the given discriminant of the class
group and modulus.
- Parameters:
discriminant - the discriminant of the class groupmodulus - the modulus
getDiscriminant
public FlexiBigInt getDiscriminant()
- Returns:
- the discriminant of the class group
getModulus
public FlexiBigInt getModulus()
- Returns:
- the modulus
equals
public boolean equals(java.lang.Object other)
- Compare these parameters with another object.
- Overrides:
equals in class java.lang.Object
- Parameters:
other - the other object- Returns:
- the result of the comparison
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- Returns:
- the hash code of these parameters