diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 19:00:07 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 19:00:07 +0000 |
commit | e3ff2b2bb624babf5209b08e9745024e940c1744 (patch) | |
tree | 2af671e2772212be2424269d3f7cca08b3fe5238 /libjava/java/security/interfaces | |
parent | 6233cbbc8894869291cb257cb37a615d6ff91243 (diff) | |
download | gcc-e3ff2b2bb624babf5209b08e9745024e940c1744.tar.gz |
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
Diffstat (limited to 'libjava/java/security/interfaces')
9 files changed, 19 insertions, 18 deletions
diff --git a/libjava/java/security/interfaces/DSAKey.java b/libjava/java/security/interfaces/DSAKey.java index b2eb80240ae..ea0aa1a4b70 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 d888bed699c..dc957a31881 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 f72fad80987..5239abe05de 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 ae4d3519801..201d54f2f30 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 3575dd76816..74f24482dcf 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 1541884e75c..83cc286cfe0 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 1e2dfa05248..8af1bb9168e 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 e0bc4b90ea2..34b9798b627 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 743d86c69de..b9b532cd9b0 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(); } |