/* * @(#)DSAParams.java 1.20 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.security.interfaces; import java.math.BigInteger; /** * Interface to a DSA-specific set of key parameters, which defines a * DSA key family. DSA (Digital Signature Algorithm) is defined * in NIST's FIPS-186. * * @see DSAKey * @see java.security.Key * @see java.security.Signature * * @version 1.20 03/12/19 * @author Benjamin Renaud * @author Josh Bloch */ public interface DSAParams { /** * Returns the prime, p. * * @return the prime, p. */ public BigInteger getP(); /** * Returns the subprime, q. * * @return the subprime, q. */ public BigInteger getQ(); /** * Returns the base, g. * * @return the base, g. */ public BigInteger getG(); }