diff options
Diffstat (limited to 'libjava/java/security')
-rw-r--r-- | libjava/java/security/Key.java | 3 | ||||
-rw-r--r-- | libjava/java/security/Provider.java | 4 | ||||
-rw-r--r-- | libjava/java/security/interfaces/DSAPrivateKey.java | 3 | ||||
-rw-r--r-- | libjava/java/security/interfaces/DSAPublicKey.java | 3 |
4 files changed, 6 insertions, 7 deletions
diff --git a/libjava/java/security/Key.java b/libjava/java/security/Key.java index b3f2bef0432..ae73bf691b0 100644 --- a/libjava/java/security/Key.java +++ b/libjava/java/security/Key.java @@ -20,8 +20,7 @@ import java.io.Serializable; public interface Key extends Serializable { - // FIXME: need to set this at some point when serialization is implemented. - // public static final long serialVersionUID = 0L; + public static final long serialVersionUID = 6603384152749567654L; public String getAlgorithm(); public String getFormat(); diff --git a/libjava/java/security/Provider.java b/libjava/java/security/Provider.java index d0a969f8c5e..fbaa3c013d0 100644 --- a/libjava/java/security/Provider.java +++ b/libjava/java/security/Provider.java @@ -1,5 +1,5 @@ /* Provider.java -- Security provider information - Copyright (C) 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -68,6 +68,8 @@ private String name; */ private double version; +private static final long serialVersionUID = -4298000515446427739L; + /*************************************************************************/ /* diff --git a/libjava/java/security/interfaces/DSAPrivateKey.java b/libjava/java/security/interfaces/DSAPrivateKey.java index c0efe21b490..5d70136d385 100644 --- a/libjava/java/security/interfaces/DSAPrivateKey.java +++ b/libjava/java/security/interfaces/DSAPrivateKey.java @@ -21,8 +21,7 @@ import java.math.BigInteger; public interface DSAPrivateKey extends DSAKey, PrivateKey { - // FIXME: need to set this at some point when serialization is implemented. - // public static final long serialVersionUID = 0L; + public static final long serialVersionUID = 7776497482533790279L; public BigInteger getX(); } diff --git a/libjava/java/security/interfaces/DSAPublicKey.java b/libjava/java/security/interfaces/DSAPublicKey.java index 43eedaf1e84..a8bb88544ee 100644 --- a/libjava/java/security/interfaces/DSAPublicKey.java +++ b/libjava/java/security/interfaces/DSAPublicKey.java @@ -21,8 +21,7 @@ import java.math.BigInteger; public interface DSAPublicKey extends DSAKey, PublicKey { - // FIXME: need to set this at some point when serialization is implemented. - // public static final long serialVersionUID = 0L; + public static final long serialVersionUID = 1234526332779022332L; public BigInteger getY(); } |