de.flexiprovider.nf.iq.iqdsa
Class IQDSAParameterSpec

java.lang.Object
  |
  +--de.flexiprovider.nf.iq.iqdsa.IQDSAParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec

public class IQDSAParameterSpec
extends java.lang.Object
implements AlgorithmParameterSpec

This class specifies parameters for the IQDSA signature algorithm (implemented by IQDSASignature.

Author:
Ralf-P. Weinmann

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

Constructor Detail

IQDSAParameterSpec

public IQDSAParameterSpec(FlexiBigInt discriminant,
                          QuadraticIdeal gamma)
Construct new IQDSA parameters from the given discriminant and generator of the class group.
Parameters:
discriminant - the discriminant of the class group
gamma - the generator of the class group
Method Detail

getDiscriminant

public FlexiBigInt getDiscriminant()
Returns:
the discriminant of the class group

getGamma

public QuadraticIdeal getGamma()
Returns:
the generator of class group

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