2003-10-11 Michael Koch <konqueror@gmx.de>

* java/security/Key.java,
	* java/security/PrivateKey.java,
	* java/security/PublicKey.java,
	* java/security/acl/Acl.java,
	* java/security/acl/AclEntry.java,
	* java/security/acl/Group.java,
	* java/security/acl/Owner.java,
	* java/security/acl/Permission.java,
	* java/security/cert/X509Extension.java,
	* java/security/interfaces/DSAKey.java,
	* java/security/interfaces/DSAKeyPairGenerator.java,
	* java/security/interfaces/DSAParams.java,
	* java/security/interfaces/DSAPrivateKey.java,
	* java/security/interfaces/DSAPublicKey.java,
	* java/security/interfaces/RSAKey.java,
	* java/security/interfaces/RSAPrivateCrtKey.java,
	* java/security/interfaces/RSAPrivateKey.java,
	* java/security/interfaces/RSAPublicKey.java:
	Removed redundant modifiers.

From-SVN: r72360
This commit is contained in:
Michael Koch
2003-10-11 19:00:07 +00:00
committed by Michael Koch
parent 6233cbbc88
commit e3ff2b2bb6
19 changed files with 82 additions and 55 deletions
+1 -1
View File
@@ -52,5 +52,5 @@ public interface DSAKey
*
* @return The DSA parameters
*/
public abstract DSAParams getParams();
DSAParams getParams();
}
@@ -62,7 +62,7 @@ public interface DSAKeyPairGenerator
*
* @exception InvalidParameterException If the parameters passed are not valid
*/
public abstract void initialize(DSAParams params, SecureRandom random)
void initialize (DSAParams params, SecureRandom random)
throws InvalidParameterException;
/**
@@ -80,7 +80,6 @@ public interface DSAKeyPairGenerator
*
* @exception InvalidParameterException If a parameter is invalid
*/
public abstract void initialize(int modlen, boolean genParams,
SecureRandom random)
void initialize (int modlen, boolean genParams, SecureRandom random)
throws InvalidParameterException;
}
@@ -54,19 +54,19 @@ public interface DSAParams
*
* @return The DSA base value
*/
public abstract BigInteger getG();
BigInteger getG();
/**
* Returns the prime, or 'p' value
*
* @return The DSA prime value
*/
public abstract BigInteger getP();
BigInteger getP();
/**
* Returns the subprime, or 'q' value
*
* @return The DSA subprime value
*/
public abstract BigInteger getQ();
BigInteger getQ();
}
@@ -52,5 +52,5 @@ public interface DSAPrivateKey extends DSAKey, PrivateKey
/**
* This method returns the value of the DSA private key
*/
public BigInteger getX();
BigInteger getX();
}
@@ -52,5 +52,5 @@ public interface DSAPublicKey extends DSAKey, PublicKey
/**
* This method returns the value of the DSA public key
*/
public BigInteger getY();
BigInteger getY();
}
+3 -1
View File
@@ -37,6 +37,8 @@ exception statement from your version. */
package java.security.interfaces;
import java.math.BigInteger;
/**
A generic RSA Key interface for public and private keys
@@ -51,5 +53,5 @@ public interface RSAKey
@returns a modulus
*/
public java.math.BigInteger getModulus();
BigInteger getModulus();
}
@@ -54,40 +54,40 @@ public interface RSAPrivateCrtKey extends RSAPrivateKey
*
* @return The public exponent for this key
*/
public abstract BigInteger getPublicExponent();
BigInteger getPublicExponent();
/**
* Returns the primeP value
*
* @return The primeP value
*/
public abstract BigInteger getPrimeP();
BigInteger getPrimeP();
/**
* Returns the primeQ value
*
* @return The primeQ value
*/
public abstract BigInteger getPrimeQ();
BigInteger getPrimeQ();
/**
* Returns the primeExponentP
*
* @return The primeExponentP
*/
public abstract BigInteger getPrimeExponentP();
BigInteger getPrimeExponentP();
/**
* Returns the primeExponentQ
*
* @return The primeExponentQ
*/
public abstract BigInteger getPrimeExponentQ();
BigInteger getPrimeExponentQ();
/**
* Returns the CRT coefficient
*
* @return The CRT coefficient
*/
public abstract BigInteger getCrtCoefficient();
BigInteger getCrtCoefficient();
}
@@ -54,5 +54,5 @@ public interface RSAPrivateKey extends PrivateKey, RSAKey
*
* @return The private exponent value for this key
*/
public abstract BigInteger getPrivateExponent();
BigInteger getPrivateExponent();
}
@@ -54,5 +54,5 @@ public interface RSAPublicKey extends PublicKey, RSAKey
*
* @return The public exponent value for this key
*/
public abstract BigInteger getPublicExponent();
BigInteger getPublicExponent();
}