    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.www.dsig.DSAParamsClass

    java.lang.Object
       |
       +----w3c.www.dsig.DSAParamsClass

public class DSAParamsClass
extends Object
implements DSAParams

An implementation of the `java.security.interfaces.DSAParams` interface. This was written because generating a DSA parameters object from given parameters using the JDK implementation in the Sun provider is not possible by via the security interfaces (BUG!).

##

DSAParamsClass(BigInteger, BigInteger, BigInteger)
  Create a new DSA parameters object from the given BigInteger parameters.

##

getG()
getP()
getQ()
newDSAParamsClass(BigInteger, BigInteger, BigInteger)
  Return a new DSA parameters object from the given BigInteger parameters.

##

DSAParamsClass

     public DSAParamsClass(BigInteger p,
                           BigInteger q,
                           BigInteger g)

  Create a new DSA parameters object from the given BigInteger parameters.

##

newDSAParamsClass

     public static DSAParamsClass newDSAParamsClass(BigInteger p,
                                                    BigInteger q,
                                                    BigInteger g)

  Return a new DSA parameters object from the given BigInteger parameters. This is equivalent to using the constructor with new() except that this method could be declared in an interface (which it currently is not) while constructors cannot.

getP

     public BigInteger getP()

getQ

     public BigInteger getQ()

getG

     public BigInteger getG()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index