1 /*2 * @(#)DSAParams.java 1.20 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.security.interfaces;9 10 import java.math.BigInteger ;11 12 /**13 * Interface to a DSA-specific set of key parameters, which defines a 14 * DSA <em>key family</em>. DSA (Digital Signature Algorithm) is defined 15 * in NIST's FIPS-186.16 *17 * @see DSAKey18 * @see java.security.Key19 * @see java.security.Signature20 * 21 * @version 1.20 03/12/1922 * @author Benjamin Renaud 23 * @author Josh Bloch 24 */25 public interface DSAParams {26 27 /**28 * Returns the prime, <code>p</code>.29 *30 * @return the prime, <code>p</code>. 31 */32 public BigInteger getP();33 34 /**35 * Returns the subprime, <code>q</code>.36 * 37 * @return the subprime, <code>q</code>. 38 */39 public BigInteger getQ();40 41 /**42 * Returns the base, <code>g</code>.43 * 44 * @return the base, <code>g</code>. 45 */46 public BigInteger getG();47 }48