src/share/classes/java/security/spec/DSAParameterSpec.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 1999, 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) 1997, 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
*** 59,89 ****
this.q = q;
this.g = g;
}
/**
! * Returns the prime <code>p</code>.
*
! * @return the prime <code>p</code>.
*/
public BigInteger getP() {
return this.p;
}
/**
! * Returns the sub-prime <code>q</code>.
*
! * @return the sub-prime <code>q</code>.
*/
public BigInteger getQ() {
return this.q;
}
/**
! * Returns the base <code>g</code>.
*
! * @return the base <code>g</code>.
*/
public BigInteger getG() {
return this.g;
}
}
--- 59,89 ----
this.q = q;
this.g = g;
}
/**
! * Returns the prime {@code p}.
*
! * @return the prime {@code p}.
*/
public BigInteger getP() {
return this.p;
}
/**
! * Returns the sub-prime {@code q}.
*
! * @return the sub-prime {@code q}.
*/
public BigInteger getQ() {
return this.q;
}
/**
! * Returns the base {@code g}.
*
! * @return the base {@code g}.
*/
public BigInteger getG() {
return this.g;
}
}