src/share/classes/java/security/interfaces/DSAParams.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 40,64 ****
* @author Josh Bloch
*/
public interface DSAParams {
/**
! * Returns the prime, <code>p</code>.
*
! * @return the prime, <code>p</code>.
*/
public BigInteger getP();
/**
! * Returns the subprime, <code>q</code>.
*
! * @return the subprime, <code>q</code>.
*/
public BigInteger getQ();
/**
! * Returns the base, <code>g</code>.
*
! * @return the base, <code>g</code>.
*/
public BigInteger getG();
}
--- 40,64 ----
* @author Josh Bloch
*/
public interface DSAParams {
/**
! * Returns the prime, {@code p}.
*
! * @return the prime, {@code p}.
*/
public BigInteger getP();
/**
! * Returns the subprime, {@code q}.
*
! * @return the subprime, {@code q}.
*/
public BigInteger getQ();
/**
! * Returns the base, {@code g}.
*
! * @return the base, {@code g}.
*/
public BigInteger getG();
}