summaryrefslogtreecommitdiffstats
path: root/libjava/java/security/interfaces
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 18:58:53 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 18:58:53 +0000
commit26537b78028c2385162b1b8cdee0aea44cdbb6bc (patch)
tree878d24f2bd1d297e4772cca4f727f6b91bc91c19 /libjava/java/security/interfaces
parentd4ab722067ffb895718a02bbea9ad80b6a0a049e (diff)
downloadppe42-gcc-26537b78028c2385162b1b8cdee0aea44cdbb6bc.tar.gz
ppe42-gcc-26537b78028c2385162b1b8cdee0aea44cdbb6bc.zip
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
* java/io/Externalizable.java, java/io/Serializable.java (serialVersionUID): Removed. * java/rmi/server/RemoteObject.java, java/rmi/server/UID.java (serialVersionUID): Made private. * java/rmi/server/RemoteRef.java, java/rmi/server/ServerRef.java (serialVersionUID): Set proper value. * java/security/interfaces/DSAPrivateKey.java, java/security/interfaces/DSAPublicKey.java, java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, java/security/interfaces/RSAPrivateCrtKey.java, java/security/interfaces/RSAPrivateKey.java, java/security/interfaces/RSAPublicKey.java, javax/crypto/SecretKey.java (serialVersionUID): Added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95406 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security/interfaces')
-rw-r--r--libjava/java/security/interfaces/DSAPrivateKey.java5
-rw-r--r--libjava/java/security/interfaces/DSAPublicKey.java5
-rw-r--r--libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java1
-rw-r--r--libjava/java/security/interfaces/RSAPrivateCrtKey.java2
-rw-r--r--libjava/java/security/interfaces/RSAPrivateKey.java2
-rw-r--r--libjava/java/security/interfaces/RSAPublicKey.java2
6 files changed, 17 insertions, 0 deletions
diff --git a/libjava/java/security/interfaces/DSAPrivateKey.java b/libjava/java/security/interfaces/DSAPrivateKey.java
index 4e6f13ddbe5..223db91e806 100644
--- a/libjava/java/security/interfaces/DSAPrivateKey.java
+++ b/libjava/java/security/interfaces/DSAPrivateKey.java
@@ -50,6 +50,11 @@ import java.security.PrivateKey;
public interface DSAPrivateKey extends DSAKey, PrivateKey
{
/**
+ * The version identifier used for serialization.
+ */
+ long serialVersionUID = 7776497482533790279L;
+
+ /**
* This method returns the value of the DSA private key
*/
BigInteger getX();
diff --git a/libjava/java/security/interfaces/DSAPublicKey.java b/libjava/java/security/interfaces/DSAPublicKey.java
index aec1c606dcd..3f8d211d295 100644
--- a/libjava/java/security/interfaces/DSAPublicKey.java
+++ b/libjava/java/security/interfaces/DSAPublicKey.java
@@ -50,6 +50,11 @@ import java.security.PublicKey;
public interface DSAPublicKey extends DSAKey, PublicKey
{
/**
+ * The version identifier used for serialization.
+ */
+ long serialVersionUID = 1234526332779022332L;
+
+ /**
* This method returns the value of the DSA public key
*/
BigInteger getY();
diff --git a/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java b/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java
index 7e115fabcd1..68a5e448877 100644
--- a/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java
+++ b/libjava/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java
@@ -54,6 +54,7 @@ public interface RSAMultiPrimePrivateCrtKey extends RSAPrivateKey
{
// Constants
// --------------------------------------------------------------------------
+ long serialVersionUID = 618058533534628008L;
// Methods
// --------------------------------------------------------------------------
diff --git a/libjava/java/security/interfaces/RSAPrivateCrtKey.java b/libjava/java/security/interfaces/RSAPrivateCrtKey.java
index 8af1bb9168e..1fb2881ed50 100644
--- a/libjava/java/security/interfaces/RSAPrivateCrtKey.java
+++ b/libjava/java/security/interfaces/RSAPrivateCrtKey.java
@@ -49,6 +49,8 @@ import java.math.BigInteger;
*/
public interface RSAPrivateCrtKey extends RSAPrivateKey
{
+ long serialVersionUID = -5682214253527700368L;
+
/**
* Returns the public exponent for this key
*
diff --git a/libjava/java/security/interfaces/RSAPrivateKey.java b/libjava/java/security/interfaces/RSAPrivateKey.java
index d287d67327a..b4e34292340 100644
--- a/libjava/java/security/interfaces/RSAPrivateKey.java
+++ b/libjava/java/security/interfaces/RSAPrivateKey.java
@@ -49,6 +49,8 @@ import java.security.PrivateKey;
*/
public interface RSAPrivateKey extends PrivateKey, RSAKey
{
+ long serialVersionUID = 5187144804936595022L;
+
/**
* Returns the private exponent value for this key
*
diff --git a/libjava/java/security/interfaces/RSAPublicKey.java b/libjava/java/security/interfaces/RSAPublicKey.java
index 22d64b1bb7a..9847ae9d257 100644
--- a/libjava/java/security/interfaces/RSAPublicKey.java
+++ b/libjava/java/security/interfaces/RSAPublicKey.java
@@ -49,6 +49,8 @@ import java.security.PublicKey;
*/
public interface RSAPublicKey extends PublicKey, RSAKey
{
+ long serialVersionUID = -8727434096241101194L;
+
/**
* Returns the public exponent value for this key
*
OpenPOWER on IntegriCloud