Identity.java, [...]: New versions from classpath.

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

	* java/security/Identity.java,
	java/security/IdentityScope.java,
	java/security/Key.java,
	java/security/KeyPair.java,
	java/security/PrivateKey.java,
	java/security/Provider.java,
	java/security/PublicKey.java,
	java/security/SecureRandom.java,
	java/security/SecureRandomSpi.java,
	java/security/SignedObject.java,
	java/security/Signer.java,
	java/security/cert/Certificate.java,
	java/security/cert/PKIXCertPathBuilderResult.java,
	java/security/cert/X509Certificate.java:
	New versions from classpath.

From-SVN: r66655
This commit is contained in:
Michael Koch 2003-05-10 07:12:48 +00:00 committed by Michael Koch
parent 3ee106652e
commit 2d133a9fd0
15 changed files with 35 additions and 14 deletions

View File

@ -1,3 +1,21 @@
2003-05-10 Michael Koch <konqueror@gmx.de>
* java/security/Identity.java,
java/security/IdentityScope.java,
java/security/Key.java,
java/security/KeyPair.java,
java/security/PrivateKey.java,
java/security/Provider.java,
java/security/PublicKey.java,
java/security/SecureRandom.java,
java/security/SecureRandomSpi.java,
java/security/SignedObject.java,
java/security/Signer.java,
java/security/cert/Certificate.java,
java/security/cert/PKIXCertPathBuilderResult.java,
java/security/cert/X509Certificate.java:
New versions from classpath.
2003-05-09 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.

View File

@ -69,7 +69,7 @@ import java.util.Vector;
*/
public abstract class Identity implements Principal, Serializable
{
static final long serialVersionUID = 3609922007826600659L;
private static final long serialVersionUID = 3609922007826600659L;
private String name;
private IdentityScope scope;

View File

@ -70,7 +70,7 @@ import java.util.Enumeration;
*/
public abstract class IdentityScope extends Identity
{
static final long serialVersionUID = -2337346281189773310L;
private static final long serialVersionUID = -2337346281189773310L;
private static IdentityScope systemScope = null;
/**

View File

@ -64,7 +64,7 @@ public interface Key extends Serializable
/**
* The version identifier used for serialization.
*/
long serialVersionUID = 6603384152749567654L;
public static final long serialVersionUID = 6603384152749567654L;
/**
* This method returns the name of the algorithm for this key. This is a

View File

@ -48,7 +48,7 @@ import java.io.Serializable;
*/
public final class KeyPair implements Serializable
{
static final long serialVersionUID = -7565189502268009837L;
private static final long serialVersionUID = -7565189502268009837L;
private PublicKey publicKey;
private PrivateKey privateKey;

View File

@ -58,5 +58,5 @@ public interface PrivateKey extends Key
/**
* The version identifier used for serialization.
*/
long serialVersionUID = 6034044314589513430L;
public static final long serialVersionUID = 6034044314589513430L;
} // interface PrivateKey

View File

@ -56,7 +56,7 @@ import java.util.Properties;
*/
public abstract class Provider extends Properties implements Serializable
{
static final long serialVersionUID = -4298000515446427739L;
private static final long serialVersionUID = -4298000515446427739L;
/**
* This is a textual description of the provider

View File

@ -56,5 +56,5 @@ public interface PublicKey extends Key
/**
* The version identifier used for serialization.
*/
long serialVersionUID = 7187392471159151072L;
public static final long serialVersionUID = 7187392471159151072L;
} // interface PublicKey

View File

@ -62,7 +62,7 @@ public class SecureRandom extends Random
/** Service name for PRNGs. */
private static final String SECURE_RANDOM = "SecureRandom";
static final long serialVersionUID = 4940670005562187L;
private static final long serialVersionUID = 4940670005562187L;
//Serialized Field
long counter = 0; //Serialized

View File

@ -50,7 +50,7 @@ import java.io.Serializable;
*/
public abstract class SecureRandomSpi implements Serializable
{
static final long serialVersionUID = -2991854161009191830L;
private static final long serialVersionUID = -2991854161009191830L;
/**
Default Constructor for SecureRandomSpi

View File

@ -129,7 +129,7 @@ import java.io.Serializable;
*/
public final class SignedObject implements Serializable
{
static final long serialVersionUID = 720502720485447167L;
private static final long serialVersionUID = 720502720485447167L;
/** @serial */
private byte[] content;

View File

@ -52,7 +52,7 @@ package java.security;
*/
public abstract class Signer extends Identity
{
static final long serialVersionUID = -1763464102261361480L;
private static final long serialVersionUID = -1763464102261361480L;
private PrivateKey privateKey = null;
/**

View File

@ -47,6 +47,7 @@ import java.io.ObjectInputStream;
import java.io.ByteArrayInputStream;
import java.io.InvalidObjectException;
import java.io.ObjectStreamException;
import java.io.Serializable;
/**
* The Certificate class is an abstract class used to manage
@ -71,9 +72,9 @@ import java.io.ObjectStreamException;
* @author Mark Benvenuto
* @author Casey Marshall
*/
public abstract class Certificate
public abstract class Certificate implements Serializable
{
static final long serialVersionUID = -6751606818319535583L;
private static final long serialVersionUID = -6751606818319535583L;
private String type;
@ -227,7 +228,7 @@ public abstract class Certificate
* @throws ObjectStreamException If the replacement could not be
* created.
*/
public Object writeReplace() throws ObjectStreamException
protected Object writeReplace() throws ObjectStreamException
{
try
{

View File

@ -47,6 +47,7 @@ package java.security.cert;
* @see CertPathBuilderResult
*/
public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult
implements CertPathBuilderResult
{
// Fields.

View File

@ -142,6 +142,7 @@ import java.util.Date;
*/
public abstract class X509Certificate extends Certificate implements X509Extension
{
private static final long serialVersionUID = -2491127588187038216L;
/**
* Constructs a new certificate of the specified type.