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

Constructor Summary
IQRDSAParameterSpec(FlexiBigInt discriminant, FlexiBigInt modulus)
          Construct new IQRDSA parameters from the given discriminant of the class group and modulus.
 
Method Summary
 boolean equals(java.lang.Object other)
          Compare these parameters with another object.
 FlexiBigInt getDiscriminant()
           
 FlexiBigInt getModulus()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 group
modulus - the modulus
Method Detail

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