diff options
author | Adam Young <ayoung@redhat.com> | 2011-12-02 13:50:23 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-12-02 15:49:23 -0500 |
commit | 1f775b2e89af6e09fa56ea218ed92dc3dccaeb79 (patch) | |
tree | 695ccb0c050d8247091b6e00d9059f09fea3b040 /pki/base/util | |
parent | d7d71804b885118e74928e413a8e7fb91b78706c (diff) | |
download | pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.tar.gz pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.tar.xz pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.zip |
SerialVersionID
Autogenerated SerialVersionID for all serializable classes
Diffstat (limited to 'pki/base/util')
85 files changed, 366 insertions, 5 deletions
diff --git a/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java b/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java index 6944b386a..e5573612e 100644 --- a/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java +++ b/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java @@ -22,6 +22,11 @@ import java.io.IOException; public class HttpEofException extends IOException { + /** + * + */ + private static final long serialVersionUID = 433303354049669059L; + public HttpEofException() { super(); } diff --git a/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java b/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java index 8a52f4f78..6b2fc75fe 100644 --- a/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java +++ b/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java @@ -22,6 +22,11 @@ import java.io.IOException; public class HttpProtocolException extends IOException { + /** + * + */ + private static final long serialVersionUID = -953002842302351684L; + public HttpProtocolException() { super(); } diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java index 06a870b50..de1222a3b 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java @@ -21,6 +21,10 @@ package com.netscape.cmsutil.radius; public class ChallengeException extends Exception { + /** + * + */ + private static final long serialVersionUID = -3496050461777520369L; private AccessChallenge _res = null; public ChallengeException(AccessChallenge res) { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java index a0de446bd..d80b045e3 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java @@ -21,6 +21,10 @@ package com.netscape.cmsutil.radius; public class RejectException extends Exception { + /** + * + */ + private static final long serialVersionUID = -6410697638175895003L; private AccessReject _res = null; public RejectException(AccessReject res) { diff --git a/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java b/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java index f7fadcd64..bb015f90e 100644 --- a/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java +++ b/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java @@ -24,6 +24,11 @@ import java.io.IOException; * an SMTP session. */ public class SmtpProtocolException extends IOException { + /** + * + */ + private static final long serialVersionUID = -5586603317525864401L; + SmtpProtocolException(String s) { super(s); } diff --git a/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java b/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java index c092d954c..108dab070 100644 --- a/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java +++ b/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java @@ -64,6 +64,10 @@ import netscape.security.x509.URIName; * @version $Revision$, $Date$ */ public class AuthInfoAccessExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 7373316523212538446L; public static final String NAME = "AuthInfoAccessExtension"; public static final String NAME2 = "AuthorityInformationAccess"; diff --git a/pki/base/util/src/netscape/security/extensions/CertInfo.java b/pki/base/util/src/netscape/security/extensions/CertInfo.java index c2dcd8f7e..548a60f66 100644 --- a/pki/base/util/src/netscape/security/extensions/CertInfo.java +++ b/pki/base/util/src/netscape/security/extensions/CertInfo.java @@ -40,6 +40,10 @@ import netscape.security.x509.X509CertInfo; * creation time so an object of this type is always serializable. */ public class CertInfo extends X509CertInfo { + /** + * + */ + private static final long serialVersionUID = -2883888348288591989L; public static final CertificateSubjectName SERIALIZE_SUBJECT; public static final CertificateIssuerName SERIALIZE_ISSUER; public static final CertificateValidity SERIALIZE_VALIDITY; diff --git a/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java b/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java index bb1ad3a2f..634e2d579 100644 --- a/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java +++ b/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java @@ -45,6 +45,10 @@ import netscape.security.x509.Extension; */ public class CertificateRenewalWindowExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 4470220533545299271L; public static final String NAME = "CertificateRenewalWindow"; public static final int OID[] = { 2, 16, 840, 1, 113730, 1, 15}; public static final ObjectIdentifier ID = new ObjectIdentifier(OID); diff --git a/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java b/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java index fe97a9046..b6b8a87ae 100644 --- a/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java +++ b/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java @@ -46,6 +46,10 @@ import netscape.security.x509.OIDMap; */ public class CertificateScopeOfUseExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 2143292831971567770L; public static final String NAME = "CertificateScopeOfUse"; public static final int OID[] = { 2, 16, 840, 1, 113730, 1, 17}; public static final ObjectIdentifier ID = new ObjectIdentifier(OID); diff --git a/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java b/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java index 7d6ae9d2b..71ff031ff 100644 --- a/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java @@ -38,6 +38,10 @@ import netscape.security.x509.OIDMap; */ public class ExtendedKeyUsageExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 765403075764697489L; public static final String OID = "2.5.29.37"; public static final String NAME = OIDMap.EXT_KEY_USAGE_NAME; public static final String OID_OCSPSigning = "1.3.6.1.5.5.7.3.9"; diff --git a/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java b/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java index 3e1743dd1..f4a8f3aa4 100644 --- a/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java +++ b/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java @@ -45,6 +45,11 @@ import netscape.security.x509.OIDMap; */ public class GenericASN1Extension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 8047548816784949009L; + protected static final int MAX_ATTR = 10; protected static final String PROP_CRITICAL = diff --git a/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java b/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java index 46d7ae2f5..626d126b4 100644 --- a/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java +++ b/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java @@ -46,6 +46,10 @@ public class InhibitAnyPolicyExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -8963439897419343166L; public static final String OID = "2.5.29.54"; public static final String NAME = OIDMap.EXT_INHIBIT_ANY_POLICY_NAME; diff --git a/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java b/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java index e974e92ef..e470d4dcf 100644 --- a/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java +++ b/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java @@ -45,6 +45,11 @@ import netscape.security.x509.Extension; */ public class NSCertTypeExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 1856407688086284397L; + // The object identifiers private static final int CertType_data[] = { 2, 16, 840, 1, 113730, 1, 1 }; diff --git a/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java b/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java index 1010ca262..68d0e8a30 100644 --- a/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java +++ b/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java @@ -36,6 +36,10 @@ import netscape.security.x509.OIDMap; */ public class OCSPNoCheckExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -4692759557964594790L; public static final String OID = "1.3.6.1.5.5.7.48.1.5"; public static final String NAME = "OCSPNoCheckExtension"; diff --git a/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java b/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java index 1b1808183..084e1d696 100644 --- a/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java +++ b/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java @@ -35,6 +35,10 @@ import netscape.security.x509.Extension; public class PresenceServerExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -6333109673043357921L; private boolean mCritical; private String mOID = null; private int mVersion = 0; diff --git a/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java b/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java index 685675063..26d048dc5 100644 --- a/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java +++ b/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java @@ -46,6 +46,11 @@ import netscape.security.x509.URIName; * @version $Revision$, $Date$ */ public class SubjectInfoAccessExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 7237321566602583325L; + public static final String NAME = "SubjectInfoAccessExtension"; public static final int OID_OCSP[] = { 1, 3, 6, 1, 5, 5, 7, 48, 1 }; diff --git a/pki/base/util/src/netscape/security/pkcs/EncodingException.java b/pki/base/util/src/netscape/security/pkcs/EncodingException.java index 7f383443a..6ccd1d403 100644 --- a/pki/base/util/src/netscape/security/pkcs/EncodingException.java +++ b/pki/base/util/src/netscape/security/pkcs/EncodingException.java @@ -18,6 +18,11 @@ package netscape.security.pkcs; public class EncodingException extends Exception { + /** + * + */ + private static final long serialVersionUID = -6126764125859196917L; + public EncodingException() { super(); } diff --git a/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java b/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java index 7b2dea2c9..e3eee8099 100644 --- a/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java +++ b/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java @@ -61,6 +61,10 @@ import netscape.security.x509.OIDMap; * @version 1.13 */ public class PKCS10Attribute implements DerEncoder, Serializable { + /** + * + */ + private static final long serialVersionUID = 2002480042340316170L; protected ObjectIdentifier attributeId = null; protected CertAttrSet attributeValue = null; diff --git a/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java b/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java index 38ad19620..441d7da29 100644 --- a/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java +++ b/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java @@ -37,6 +37,10 @@ import netscape.security.util.DerValue; */ public class PKCS10Attributes extends Vector implements DerEncoder { + /** + * + */ + private static final long serialVersionUID = 1362260612357629542L; private Hashtable map; /** diff --git a/pki/base/util/src/netscape/security/pkcs/ParsingException.java b/pki/base/util/src/netscape/security/pkcs/ParsingException.java index 15bb01a5a..64f675704 100644 --- a/pki/base/util/src/netscape/security/pkcs/ParsingException.java +++ b/pki/base/util/src/netscape/security/pkcs/ParsingException.java @@ -20,6 +20,11 @@ package netscape.security.pkcs; import java.io.IOException; public class ParsingException extends IOException { + /** + * + */ + private static final long serialVersionUID = -8135726194372647410L; + public ParsingException() { super(); } diff --git a/pki/base/util/src/netscape/security/provider/CMS.java b/pki/base/util/src/netscape/security/provider/CMS.java index 63a776b0b..d89c6c4c3 100644 --- a/pki/base/util/src/netscape/security/provider/CMS.java +++ b/pki/base/util/src/netscape/security/provider/CMS.java @@ -25,7 +25,11 @@ import java.security.Provider; public final class CMS extends Provider { - private static final String INFO = "CMS " + + /** + * + */ + private static final long serialVersionUID = 1065207998900104219L; + private static final String INFO = "CMS " + "(DSA key/parameter generation; DSA signing; " + "SHA-1, MD5 digests; SecureRandom; X.509 certificates)"; diff --git a/pki/base/util/src/netscape/security/provider/RSAPublicKey.java b/pki/base/util/src/netscape/security/provider/RSAPublicKey.java index 6206b699c..4f5ec46bc 100644 --- a/pki/base/util/src/netscape/security/provider/RSAPublicKey.java +++ b/pki/base/util/src/netscape/security/provider/RSAPublicKey.java @@ -47,7 +47,12 @@ public final class RSAPublicKey extends X509Key implements Serializable { in bits (redundant!) */ - private static final ObjectIdentifier ALGORITHM_OID = + /** + * + */ + private static final long serialVersionUID = 7764823589128565374L; + +private static final ObjectIdentifier ALGORITHM_OID = AlgorithmId.RSAEncryption_oid; private BigInt modulus; diff --git a/pki/base/util/src/netscape/security/provider/Sun.java b/pki/base/util/src/netscape/security/provider/Sun.java index 2ba6be90f..36ef60d5a 100644 --- a/pki/base/util/src/netscape/security/provider/Sun.java +++ b/pki/base/util/src/netscape/security/provider/Sun.java @@ -53,6 +53,10 @@ import java.security.Provider; */ public final class Sun extends Provider { + /** + * + */ + private static final long serialVersionUID = 9134942296334703727L; private static String info = "SUN Security Provider v1.0, " + "DSA signing and key generation, SHA-1 and MD5 message digests."; diff --git a/pki/base/util/src/netscape/security/util/ArraySet.java b/pki/base/util/src/netscape/security/util/ArraySet.java index 822b752ff..540557893 100644 --- a/pki/base/util/src/netscape/security/util/ArraySet.java +++ b/pki/base/util/src/netscape/security/util/ArraySet.java @@ -64,6 +64,10 @@ import java.util.Set; public class ArraySet extends AbstractSet implements Set, Cloneable, java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 3497902530270794207L; private ArrayList a; /** diff --git a/pki/base/util/src/netscape/security/x509/AlgIdDSA.java b/pki/base/util/src/netscape/security/x509/AlgIdDSA.java index ca0e858fb..4e7030ce4 100644 --- a/pki/base/util/src/netscape/security/x509/AlgIdDSA.java +++ b/pki/base/util/src/netscape/security/x509/AlgIdDSA.java @@ -45,6 +45,10 @@ import netscape.security.util.DerValue; public final class AlgIdDSA extends AlgorithmId implements DSAParams { + /** + * + */ + private static final long serialVersionUID = 5978220691806461631L; /* * The three unsigned integer parameters. */ diff --git a/pki/base/util/src/netscape/security/x509/Attribute.java b/pki/base/util/src/netscape/security/x509/Attribute.java index 9e39e4ead..b362f629d 100644 --- a/pki/base/util/src/netscape/security/x509/Attribute.java +++ b/pki/base/util/src/netscape/security/x509/Attribute.java @@ -56,6 +56,10 @@ import netscape.security.util.ObjectIdentifier; public final class Attribute implements Serializable, DerEncoder { + /** + * + */ + private static final long serialVersionUID = -931486084625476764L; //private variables ObjectIdentifier oid; Vector valueSet = new Vector(); diff --git a/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java b/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java index 977977a89..47e18fdcd 100644 --- a/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java +++ b/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java @@ -30,6 +30,11 @@ import java.util.Vector; */ public class AttributeNameEnumeration extends Vector { /** + * + */ + private static final long serialVersionUID = 6855308073169292869L; + + /** * The default constructor for this class. */ public AttributeNameEnumeration() { diff --git a/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java b/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java index 0da29e8ef..738c97e4f 100644 --- a/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java +++ b/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java @@ -53,6 +53,10 @@ import netscape.security.util.DerValue; public class AuthorityKeyIdentifierExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -157913621972354170L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java index ed48d2d4d..f0e689e5b 100644 --- a/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java @@ -50,6 +50,10 @@ import netscape.security.util.DerValue; public class BasicConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 6213957094939885889L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CPSuri.java b/pki/base/util/src/netscape/security/x509/CPSuri.java index e802a8998..52ac0322d 100644 --- a/pki/base/util/src/netscape/security/x509/CPSuri.java +++ b/pki/base/util/src/netscape/security/x509/CPSuri.java @@ -32,6 +32,10 @@ import netscape.security.util.DerValue; */ public class CPSuri extends Qualifier { + /** + * + */ + private static final long serialVersionUID = -2814961293159006960L; private String mURI = null; /** diff --git a/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java b/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java index 6da6d586c..2ed340962 100644 --- a/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java @@ -64,6 +64,10 @@ public class CRLDistributionPointsExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 8551761833349709229L; // vector of CRLDistributionPoint private SEQUENCE distributionPoints = new SEQUENCE(); diff --git a/pki/base/util/src/netscape/security/x509/CRLExtensions.java b/pki/base/util/src/netscape/security/x509/CRLExtensions.java index dc3c82d13..3b165a592 100755 --- a/pki/base/util/src/netscape/security/x509/CRLExtensions.java +++ b/pki/base/util/src/netscape/security/x509/CRLExtensions.java @@ -41,6 +41,10 @@ import netscape.security.util.DerValue; */ public class CRLExtensions extends Vector { + /** + * + */ + private static final long serialVersionUID = 365767738692986418L; private Hashtable map; // Parse the encoded extension diff --git a/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java b/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java index 44292ed1a..d073d8811 100755 --- a/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java @@ -46,6 +46,10 @@ public class CRLNumberExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2992307666566322402L; + /** * Attribute name. */ public static final String NAME = "CRLNumber"; diff --git a/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java b/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java index 563c547c0..d1386e687 100644 --- a/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java @@ -40,6 +40,10 @@ import netscape.security.util.DerValue; public final class CRLReasonExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4544973296866779535L; + /** * Canned instances for all revocation reasons */ public static final CRLReasonExtension UNSPECIFIED = new CRLReasonExtension(RevocationReason.UNSPECIFIED); diff --git a/pki/base/util/src/netscape/security/x509/CertException.java b/pki/base/util/src/netscape/security/x509/CertException.java index fc47ed7bb..0b83ff116 100644 --- a/pki/base/util/src/netscape/security/x509/CertException.java +++ b/pki/base/util/src/netscape/security/x509/CertException.java @@ -30,6 +30,11 @@ public class CertException extends SecurityException { // Zero is reserved. + /** + * + */ + private static final long serialVersionUID = -4046189948107720588L; + /** Indicates that the signature in the certificate is not valid. */ public static final int verf_INVALID_SIG = 1; diff --git a/pki/base/util/src/netscape/security/x509/CertParseError.java b/pki/base/util/src/netscape/security/x509/CertParseError.java index 81a7a3770..2b9e444b5 100644 --- a/pki/base/util/src/netscape/security/x509/CertParseError.java +++ b/pki/base/util/src/netscape/security/x509/CertParseError.java @@ -30,6 +30,11 @@ package netscape.security.x509; class CertParseError extends CertException { + /** + * + */ + private static final long serialVersionUID = -7623327377774730807L; + CertParseError (String where) { super (CertException.verf_PARSE_ERROR, where); diff --git a/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java b/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java index c7aae98d1..20d1c0b68 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java +++ b/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java @@ -37,6 +37,11 @@ import netscape.security.util.DerValue; * @version 1.7 */ public class CertificateAlgorithmId implements CertAttrSet, Serializable { + /** + * + */ + private static final long serialVersionUID = 6084780721443376563L; + private AlgorithmId algId; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificateExtensions.java b/pki/base/util/src/netscape/security/x509/CertificateExtensions.java index 37751c67f..f30b3164c 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateExtensions.java +++ b/pki/base/util/src/netscape/security/x509/CertificateExtensions.java @@ -46,6 +46,10 @@ import netscape.security.util.DerValue; public class CertificateExtensions extends Vector implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = -7172635300185788849L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java b/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java index 8d3c64f50..c8585b7d8 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java +++ b/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java @@ -44,6 +44,10 @@ public class CertificateIssuerExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 8643788952936025986L; + /** * Attribute name. */ public static final String NAME = "CertificateIssuer"; diff --git a/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java b/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java index 9bca9f63e..e582a35f6 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java @@ -54,6 +54,10 @@ public class CertificatePoliciesExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3729294064061837367L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java b/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java index c7dddb594..2577764f8 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java @@ -32,6 +32,10 @@ import netscape.security.util.ObjectIdentifier; * @version 1.5 */ public class CertificatePolicyId implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -2376810529862707757L; private ObjectIdentifier id; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java b/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java index 9556e2acf..50387261f 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java @@ -28,7 +28,11 @@ import netscape.security.util.DerValue; * @author Christine Ho */ public class CertificatePolicyInfo implements java.io.Serializable { - private CertificatePolicyId mPolicyIdentifier; + /** + * + */ + private static final long serialVersionUID = -8516006396099280477L; + private CertificatePolicyId mPolicyIdentifier; private PolicyQualifiers mPolicyQualifiers; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java b/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java index b79e2001e..5b09fa598 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java +++ b/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java @@ -39,6 +39,10 @@ import netscape.security.util.DerValue; */ public class CertificateSubjectName implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 503643453152834350L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateValidity.java b/pki/base/util/src/netscape/security/x509/CertificateValidity.java index 4c0ca8e8b..fdb035944 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateValidity.java +++ b/pki/base/util/src/netscape/security/x509/CertificateValidity.java @@ -42,6 +42,10 @@ import netscape.security.util.DerValue; */ public class CertificateValidity implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 8277703278213804194L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateX509Key.java b/pki/base/util/src/netscape/security/x509/CertificateX509Key.java index d311a4352..acc1bc049 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateX509Key.java +++ b/pki/base/util/src/netscape/security/x509/CertificateX509Key.java @@ -39,6 +39,10 @@ import netscape.security.util.DerValue; */ public class CertificateX509Key implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 6718749024328681131L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/DNSName.java b/pki/base/util/src/netscape/security/x509/DNSName.java index d6d9b1f07..361c23571 100644 --- a/pki/base/util/src/netscape/security/x509/DNSName.java +++ b/pki/base/util/src/netscape/security/x509/DNSName.java @@ -31,6 +31,10 @@ import netscape.security.util.DerValue; * @version 1.4 */ public class DNSName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -2907649488092607056L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java b/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java index 3ef2f1ae7..4f4e11c4f 100755 --- a/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java +++ b/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java @@ -46,6 +46,10 @@ public class DeltaCRLIndicatorExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 7182919216525364676L; + /** * Attribute name. */ public static final String NAME = "DeltaCRLIndicator"; diff --git a/pki/base/util/src/netscape/security/x509/EDIPartyName.java b/pki/base/util/src/netscape/security/x509/EDIPartyName.java index 475206c0a..92f713ca2 100644 --- a/pki/base/util/src/netscape/security/x509/EDIPartyName.java +++ b/pki/base/util/src/netscape/security/x509/EDIPartyName.java @@ -40,6 +40,10 @@ import netscape.security.util.DerValue; */ public class EDIPartyName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -8669257424766789063L; // Private data members private static final byte TAG_ASSIGNER = 0; private static final byte TAG_PARTYNAME = 1; diff --git a/pki/base/util/src/netscape/security/x509/Extension.java b/pki/base/util/src/netscape/security/x509/Extension.java index 39be6eb86..e52a0be70 100644 --- a/pki/base/util/src/netscape/security/x509/Extension.java +++ b/pki/base/util/src/netscape/security/x509/Extension.java @@ -51,6 +51,10 @@ import netscape.security.util.ObjectIdentifier; * @version 1.9 */ public class Extension implements Serializable { + /** + * + */ + private static final long serialVersionUID = -643549610716024753L; protected ObjectIdentifier extensionId = null; protected boolean critical = false; protected byte[] extensionValue = null; diff --git a/pki/base/util/src/netscape/security/x509/Extensions.java b/pki/base/util/src/netscape/security/x509/Extensions.java index 5d4705d2e..1e728a0a8 100644 --- a/pki/base/util/src/netscape/security/x509/Extensions.java +++ b/pki/base/util/src/netscape/security/x509/Extensions.java @@ -43,6 +43,10 @@ import netscape.security.util.DerValue; public class Extensions extends Vector implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4597917347772057433L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java b/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java index 23aa8dc0c..ac8e2504f 100644 --- a/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java +++ b/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java @@ -65,6 +65,11 @@ public class FreshestCRLExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -8040203589629281781L; + // vector of CRLDistributionPoint private SEQUENCE distributionPoints = new SEQUENCE(); diff --git a/pki/base/util/src/netscape/security/x509/GeneralName.java b/pki/base/util/src/netscape/security/x509/GeneralName.java index 84088147e..bc3395c57 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralName.java +++ b/pki/base/util/src/netscape/security/x509/GeneralName.java @@ -45,6 +45,10 @@ import netscape.security.util.DerValue; */ public class GeneralName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = 2244101501095555042L; // Private data members private GeneralNameInterface name = null; diff --git a/pki/base/util/src/netscape/security/x509/GeneralNames.java b/pki/base/util/src/netscape/security/x509/GeneralNames.java index eb8cb2299..767e0fe3e 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralNames.java +++ b/pki/base/util/src/netscape/security/x509/GeneralNames.java @@ -37,6 +37,11 @@ import netscape.security.util.DerValue; */ public class GeneralNames extends Vector { /** + * + */ + private static final long serialVersionUID = 3204492869396713312L; + + /** * Create the GeneralNames, decoding from the passed DerValue. * * <b>Caution when using this constructor. It may be broken! diff --git a/pki/base/util/src/netscape/security/x509/GeneralNamesException.java b/pki/base/util/src/netscape/security/x509/GeneralNamesException.java index ddb0344b8..11c763fda 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralNamesException.java +++ b/pki/base/util/src/netscape/security/x509/GeneralNamesException.java @@ -28,6 +28,11 @@ import java.security.GeneralSecurityException; */ public class GeneralNamesException extends GeneralSecurityException { /** + * + */ + private static final long serialVersionUID = -8320001725384815795L; + + /** * Constructs a GeneralNamesException with no detail message. */ public GeneralNamesException() { diff --git a/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java b/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java index 6cc7cb22b..31806ae10 100644 --- a/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java +++ b/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java @@ -47,6 +47,10 @@ public class HoldInstructionExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -6706557233070964984L; + /** * Attribute name. */ public static final String NAME = "HoldInstruction"; diff --git a/pki/base/util/src/netscape/security/x509/IPAddressName.java b/pki/base/util/src/netscape/security/x509/IPAddressName.java index c79147eb2..510a4f5a1 100644 --- a/pki/base/util/src/netscape/security/x509/IPAddressName.java +++ b/pki/base/util/src/netscape/security/x509/IPAddressName.java @@ -37,6 +37,10 @@ import netscape.security.util.DerValue; * @author Hemma Prafullchandra */ public class IPAddressName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -4240184399679453666L; private byte[] address; /** diff --git a/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java b/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java index 783a4bdd9..d58ff896c 100644 --- a/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java +++ b/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java @@ -19,7 +19,11 @@ package netscape.security.x509; public class InvalidIPAddressException extends RuntimeException { - public InvalidIPAddressException() { + /** + * + */ + private static final long serialVersionUID = -1601934234587845028L; + public InvalidIPAddressException() { super(); } public InvalidIPAddressException(String ip) { diff --git a/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java b/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java index a90b2b791..c70eca7af 100755 --- a/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java +++ b/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java @@ -47,6 +47,10 @@ public class InvalidityDateExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2191026017389643053L; + /** * Attribute name. */ public static final String NAME = "InvalidityDate"; diff --git a/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java b/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java index aa18026e3..5f09b353e 100644 --- a/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java +++ b/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java @@ -46,6 +46,10 @@ import netscape.security.util.DerValue; public class IssuerAlternativeNameExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -269518027483586255L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java b/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java index 22569f454..36cce0300 100644 --- a/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java +++ b/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java @@ -93,6 +93,11 @@ public class IssuingDistributionPointExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -1281544042375527550L; + + /** * The Object Identifier for this extension. */ public static final String OID = "2.5.29.28"; diff --git a/pki/base/util/src/netscape/security/x509/KeyIdentifier.java b/pki/base/util/src/netscape/security/x509/KeyIdentifier.java index 496b9ed99..dd0e49cb1 100644 --- a/pki/base/util/src/netscape/security/x509/KeyIdentifier.java +++ b/pki/base/util/src/netscape/security/x509/KeyIdentifier.java @@ -30,6 +30,10 @@ import netscape.security.util.DerValue; * @version 1.4 */ public class KeyIdentifier implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 2412286879441154979L; private byte[] octetString; /** diff --git a/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java b/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java index f13528c9f..807388a7b 100644 --- a/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java @@ -46,6 +46,10 @@ public class KeyUsageExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2899719374157256708L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java b/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java index 406469868..4a8e91c9e 100644 --- a/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java +++ b/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java @@ -40,6 +40,10 @@ public class NSCCommentExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4066287070285105375L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java index f69e2fe5f..5e54c2d9a 100644 --- a/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java @@ -61,6 +61,10 @@ import netscape.security.util.PrettyPrintFormat; public class NameConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3506940192931244539L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/OIDName.java b/pki/base/util/src/netscape/security/x509/OIDName.java index 44e67867e..61d44771a 100644 --- a/pki/base/util/src/netscape/security/x509/OIDName.java +++ b/pki/base/util/src/netscape/security/x509/OIDName.java @@ -35,7 +35,11 @@ import netscape.security.util.ObjectIdentifier; * @see GeneralNameInterface */ public class OIDName implements GeneralNameInterface { - private ObjectIdentifier oid; + /** + * + */ + private static final long serialVersionUID = 9198510631835117121L; + private ObjectIdentifier oid; /** * Create the OIDName object from the passed encoded Der value. diff --git a/pki/base/util/src/netscape/security/x509/OtherName.java b/pki/base/util/src/netscape/security/x509/OtherName.java index c7d8841cb..c4815bb21 100644 --- a/pki/base/util/src/netscape/security/x509/OtherName.java +++ b/pki/base/util/src/netscape/security/x509/OtherName.java @@ -43,6 +43,10 @@ import netscape.security.util.ObjectIdentifier; * @author Hemma Prafullchandra */ public class OtherName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -3533614377346132611L; private ObjectIdentifier mOID = null; private byte[] mData = null; diff --git a/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java index faa5d43dd..45039df8e 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java @@ -55,6 +55,10 @@ import netscape.security.util.DerValue; public class PolicyConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3723759691127622370L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java b/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java index f95f2dbe3..777537117 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java +++ b/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java @@ -50,6 +50,10 @@ import netscape.security.util.DerValue; public class PolicyMappingsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -4023336164621135851L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java b/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java index c2f750987..da0ab3847 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java +++ b/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java @@ -36,6 +36,10 @@ import netscape.security.util.ObjectIdentifier; */ public class PolicyQualifierInfo implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -2930016944517192379L; public static final int OID_CPS[] = { 1, 3, 6, 1, 5, 5, 7, 2, 1 }; public static final ObjectIdentifier QT_CPS = new ObjectIdentifier(OID_CPS); diff --git a/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java b/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java index e066aefea..5d04e0f98 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java +++ b/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java @@ -33,6 +33,10 @@ import netscape.security.util.DerValue; */ public class PolicyQualifiers implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 6932694408774694516L; private Vector mInfo = new Vector(); /** diff --git a/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java b/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java index fb37e76bb..c844eb333 100644 --- a/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java @@ -58,6 +58,10 @@ import netscape.security.util.DerValue; public class PrivateKeyUsageExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -7623695233957629936L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/Qualifier.java b/pki/base/util/src/netscape/security/x509/Qualifier.java index 8f85333d7..3d7168df2 100644 --- a/pki/base/util/src/netscape/security/x509/Qualifier.java +++ b/pki/base/util/src/netscape/security/x509/Qualifier.java @@ -36,6 +36,11 @@ import netscape.security.util.DerValue; public class Qualifier implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 2214531407387992974L; + + /** * Create a PolicyQualifierInfo * * @param id the ObjectIdentifier for the policy id. diff --git a/pki/base/util/src/netscape/security/x509/RFC822Name.java b/pki/base/util/src/netscape/security/x509/RFC822Name.java index c29db6436..236e5ecbb 100644 --- a/pki/base/util/src/netscape/security/x509/RFC822Name.java +++ b/pki/base/util/src/netscape/security/x509/RFC822Name.java @@ -35,6 +35,10 @@ import netscape.security.util.DerValue; */ public class RFC822Name implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -1453025303548809007L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java b/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java index 7d3808bd5..5d9d0491b 100755 --- a/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java +++ b/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java @@ -69,6 +69,10 @@ import netscape.security.util.ObjectIdentifier; public class RevokedCertImpl extends RevokedCertificate implements Serializable{ + /** + * + */ + private static final long serialVersionUID = -3449642360223397701L; private SerialNumber serialNumber; private Date revocationDate; private CRLExtensions extensions = null; diff --git a/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java b/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java index 834355582..f950f57d3 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java @@ -51,6 +51,10 @@ import netscape.security.util.DerValue; public class SubjectAlternativeNameExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -4022446008355607196L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java b/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java index 007437bb3..a3277ce76 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java @@ -60,6 +60,11 @@ public class SubjectDirAttributesExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -1215458115428197688L; + + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java b/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java index 37b943898..1572f63b8 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java @@ -51,6 +51,10 @@ import netscape.security.util.DerValue; public class SubjectKeyIdentifierExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2457721262590880939L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/URIName.java b/pki/base/util/src/netscape/security/x509/URIName.java index b0cb2d084..539ad249c 100644 --- a/pki/base/util/src/netscape/security/x509/URIName.java +++ b/pki/base/util/src/netscape/security/x509/URIName.java @@ -34,6 +34,10 @@ import netscape.security.util.DerValue; * @see GeneralNameInterface */ public class URIName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = 8340049830612859508L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/UserNotice.java b/pki/base/util/src/netscape/security/x509/UserNotice.java index 3f9db6838..ad6493393 100644 --- a/pki/base/util/src/netscape/security/x509/UserNotice.java +++ b/pki/base/util/src/netscape/security/x509/UserNotice.java @@ -35,6 +35,10 @@ import netscape.security.util.DerValue; */ public class UserNotice extends Qualifier { + /** + * + */ + private static final long serialVersionUID = 5770869942793748051L; private NoticeReference mNoticeReference = null; private DisplayText mDisplayText = null; diff --git a/pki/base/util/src/netscape/security/x509/X500Name.java b/pki/base/util/src/netscape/security/x509/X500Name.java index 27e722641..c9980d3dc 100644 --- a/pki/base/util/src/netscape/security/x509/X500Name.java +++ b/pki/base/util/src/netscape/security/x509/X500Name.java @@ -55,6 +55,11 @@ import netscape.security.util.ObjectIdentifier; public class X500Name implements Principal, GeneralNameInterface { /** + * + */ + private static final long serialVersionUID = -730790062013191108L; + + /** * Constructs a name from a Ldap DN string, such * as &lb;CN=Dave, OU=JavaSoft, O=Sun Microsystems, C=US&rb;. The * older "/C=US/O=Sun Microsystems, Inc/OU=JavaSoft/CN=Dave" syntax diff --git a/pki/base/util/src/netscape/security/x509/X500Signer.java b/pki/base/util/src/netscape/security/x509/X500Signer.java index 6568e1a97..93be4ba85 100644 --- a/pki/base/util/src/netscape/security/x509/X500Signer.java +++ b/pki/base/util/src/netscape/security/x509/X500Signer.java @@ -43,6 +43,10 @@ import java.security.Signer; public final class X500Signer extends Signer { /** + * + */ + private static final long serialVersionUID = -3148659822293810158L; + /** * Called for each chunk of the data being signed. That * is, you can present the data in many chunks, so that * it doesn't need to be in a single sequential buffer. diff --git a/pki/base/util/src/netscape/security/x509/X509Cert.java b/pki/base/util/src/netscape/security/x509/X509Cert.java index eb46b15b7..873d25ab0 100644 --- a/pki/base/util/src/netscape/security/x509/X509Cert.java +++ b/pki/base/util/src/netscape/security/x509/X509Cert.java @@ -50,6 +50,10 @@ public class X509Cert implements Certificate, Serializable { + /** + * + */ + private static final long serialVersionUID = -6968141532738786900L; /* The algorithm id */ protected AlgorithmId algid; diff --git a/pki/base/util/src/netscape/security/x509/X509CertImpl.java b/pki/base/util/src/netscape/security/x509/X509CertImpl.java index c9f7c3cd7..0d666ebde 100755 --- a/pki/base/util/src/netscape/security/x509/X509CertImpl.java +++ b/pki/base/util/src/netscape/security/x509/X509CertImpl.java @@ -1159,6 +1159,10 @@ implements Serializable, DerEncoder { } protected static class CertificateRep1 implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -5207881613631592409L; private String type1; private byte[] data1; diff --git a/pki/base/util/src/netscape/security/x509/X509CertInfo.java b/pki/base/util/src/netscape/security/x509/X509CertInfo.java index 7738284e6..0e58a10b1 100644 --- a/pki/base/util/src/netscape/security/x509/X509CertInfo.java +++ b/pki/base/util/src/netscape/security/x509/X509CertInfo.java @@ -63,6 +63,10 @@ import netscape.security.util.DerValue; */ public class X509CertInfo implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = -5094073467876311577L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/X509ExtensionException.java b/pki/base/util/src/netscape/security/x509/X509ExtensionException.java index 007794e29..5b65b9b7b 100644 --- a/pki/base/util/src/netscape/security/x509/X509ExtensionException.java +++ b/pki/base/util/src/netscape/security/x509/X509ExtensionException.java @@ -28,6 +28,11 @@ import java.security.GeneralSecurityException; public class X509ExtensionException extends GeneralSecurityException { /** + * + */ + private static final long serialVersionUID = 8152491877676477910L; + + /** * Constructs an X509ExtensionException with no detail message. A * detail message is a String that describes this particular * exception. |