From e3ff2b2bb624babf5209b08e9745024e940c1744 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sat, 11 Oct 2003 19:00:07 +0000 Subject: 2003-10-11 Michael Koch * 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 --- libjava/java/security/interfaces/DSAKey.java | 2 +- libjava/java/security/interfaces/DSAKeyPairGenerator.java | 5 ++--- libjava/java/security/interfaces/DSAParams.java | 6 +++--- libjava/java/security/interfaces/DSAPrivateKey.java | 2 +- libjava/java/security/interfaces/DSAPublicKey.java | 2 +- libjava/java/security/interfaces/RSAKey.java | 4 +++- libjava/java/security/interfaces/RSAPrivateCrtKey.java | 12 ++++++------ libjava/java/security/interfaces/RSAPrivateKey.java | 2 +- libjava/java/security/interfaces/RSAPublicKey.java | 2 +- 9 files changed, 19 insertions(+), 18 deletions(-) (limited to 'libjava/java/security/interfaces') diff --git a/libjava/java/security/interfaces/DSAKey.java b/libjava/java/security/interfaces/DSAKey.java index b2eb802..ea0aa1a 100644 --- a/libjava/java/security/interfaces/DSAKey.java +++ b/libjava/java/security/interfaces/DSAKey.java @@ -52,5 +52,5 @@ public interface DSAKey * * @return The DSA parameters */ - public abstract DSAParams getParams(); + DSAParams getParams(); } diff --git a/libjava/java/security/interfaces/DSAKeyPairGenerator.java b/libjava/java/security/interfaces/DSAKeyPairGenerator.java index d888bed..dc957a3 100644 --- a/libjava/java/security/interfaces/DSAKeyPairGenerator.java +++ b/libjava/java/security/interfaces/DSAKeyPairGenerator.java @@ -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; } diff --git a/libjava/java/security/interfaces/DSAParams.java b/libjava/java/security/interfaces/DSAParams.java index f72fad8..5239abe 100644 --- a/libjava/java/security/interfaces/DSAParams.java +++ b/libjava/java/security/interfaces/DSAParams.java @@ -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(); } diff --git a/libjava/java/security/interfaces/DSAPrivateKey.java b/libjava/java/security/interfaces/DSAPrivateKey.java index ae4d351..201d54f 100644 --- a/libjava/java/security/interfaces/DSAPrivateKey.java +++ b/libjava/java/security/interfaces/DSAPrivateKey.java @@ -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(); } diff --git a/libjava/java/security/interfaces/DSAPublicKey.java b/libjava/java/security/interfaces/DSAPublicKey.java index 3575dd7..74f2448 100644 --- a/libjava/java/security/interfaces/DSAPublicKey.java +++ b/libjava/java/security/interfaces/DSAPublicKey.java @@ -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(); } diff --git a/libjava/java/security/interfaces/RSAKey.java b/libjava/java/security/interfaces/RSAKey.java index 1541884..83cc286 100644 --- a/libjava/java/security/interfaces/RSAKey.java +++ b/libjava/java/security/interfaces/RSAKey.java @@ -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(); } diff --git a/libjava/java/security/interfaces/RSAPrivateCrtKey.java b/libjava/java/security/interfaces/RSAPrivateCrtKey.java index 1e2dfa0..8af1bb9 100644 --- a/libjava/java/security/interfaces/RSAPrivateCrtKey.java +++ b/libjava/java/security/interfaces/RSAPrivateCrtKey.java @@ -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(); } diff --git a/libjava/java/security/interfaces/RSAPrivateKey.java b/libjava/java/security/interfaces/RSAPrivateKey.java index e0bc4b9..34b9798 100644 --- a/libjava/java/security/interfaces/RSAPrivateKey.java +++ b/libjava/java/security/interfaces/RSAPrivateKey.java @@ -54,5 +54,5 @@ public interface RSAPrivateKey extends PrivateKey, RSAKey * * @return The private exponent value for this key */ - public abstract BigInteger getPrivateExponent(); + BigInteger getPrivateExponent(); } diff --git a/libjava/java/security/interfaces/RSAPublicKey.java b/libjava/java/security/interfaces/RSAPublicKey.java index 743d86c..b9b532c 100644 --- a/libjava/java/security/interfaces/RSAPublicKey.java +++ b/libjava/java/security/interfaces/RSAPublicKey.java @@ -54,5 +54,5 @@ public interface RSAPublicKey extends PublicKey, RSAKey * * @return The public exponent value for this key */ - public abstract BigInteger getPublicExponent(); + BigInteger getPublicExponent(); } -- cgit v1.1