summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/cert
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 14:49:11 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:03:25 -0500
commit7c7b9d023cd466c1771068badc020dab36beb553 (patch)
tree178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/cmscore/cert
parentda1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff)
downloadpki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz
pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz
pki-7c7b9d023cd466c1771068badc020dab36beb553.zip
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command: find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \; Ticket #134
Diffstat (limited to 'base/common/src/com/netscape/cmscore/cert')
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CertDateCompare.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CertPrettyPrint.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CertificatePair.java10
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CrlCachePrettyPrint.java4
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CrlPrettyPrint.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/CrossCertPairSubsystem.java10
-rw-r--r--base/common/src/com/netscape/cmscore/cert/ExtPrettyPrint.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/OidLoaderSubsystem.java6
-rw-r--r--base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java6
-rw-r--r--base/common/src/com/netscape/cmscore/cert/PrettyPrintResources.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/PubKeyPrettyPrint.java2
-rw-r--r--base/common/src/com/netscape/cmscore/cert/X500NameSubsystem.java34
12 files changed, 41 insertions, 41 deletions
diff --git a/base/common/src/com/netscape/cmscore/cert/CertDateCompare.java b/base/common/src/com/netscape/cmscore/cert/CertDateCompare.java
index 7078c3440..30f806ea2 100644
--- a/base/common/src/com/netscape/cmscore/cert/CertDateCompare.java
+++ b/base/common/src/com/netscape/cmscore/cert/CertDateCompare.java
@@ -24,7 +24,7 @@ import netscape.security.x509.X509CertImpl;
/**
* Compares validity dates for use in sorting.
- *
+ *
* @author kanda
* @version $Revision$, $Date$
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/CertPrettyPrint.java b/base/common/src/com/netscape/cmscore/cert/CertPrettyPrint.java
index 726fa5e14..ecd1a4a60 100644
--- a/base/common/src/com/netscape/cmscore/cert/CertPrettyPrint.java
+++ b/base/common/src/com/netscape/cmscore/cert/CertPrettyPrint.java
@@ -24,7 +24,7 @@ import com.netscape.certsrv.base.ICertPrettyPrint;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Jack Pan-Chen
* @version $Revision$, $Date$
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/CertificatePair.java b/base/common/src/com/netscape/cmscore/cert/CertificatePair.java
index b8f958be5..0a68da2d9 100644
--- a/base/common/src/com/netscape/cmscore/cert/CertificatePair.java
+++ b/base/common/src/com/netscape/cmscore/cert/CertificatePair.java
@@ -35,7 +35,7 @@ import com.netscape.certsrv.cert.ICrossCertPairSubsystem;
/**
* This class implements CertificatePair used for Cross Certification
- *
+ *
* @author cfu
* @version $Revision$, $Date$
*/
@@ -48,7 +48,7 @@ public class CertificatePair implements ASN1Value {
* construct a CertificatePair. It doesn't matter which is
* forward and which is reverse in the parameters. It will figure
* it out
- *
+ *
* @param cert1 one X509Certificate
* @param cert2 one X509Certificate
*/
@@ -76,7 +76,7 @@ public class CertificatePair implements ASN1Value {
* construct a CertificatePair. It doesn't matter which is
* forward and which is reverse in the parameters. It will figure
* it out
- *
+ *
* @param cert1 one certificate byte array
* @param cert2 one certificate byte array
*/
@@ -114,7 +114,7 @@ public class CertificatePair implements ASN1Value {
/* It looks the DN's returned are not normalized and fail
* comparison
- if ((c1.getIssuerDN().equals((Object) caCert.getSubjectDN())))
+ if ((c1.getIssuerDN().equals((Object) caCert.getSubjectDN())))
debug("myCA signed c1");
else {
debug("c1 issuerDN="+c1.getIssuerDN().toString());
@@ -144,7 +144,7 @@ public class CertificatePair implements ASN1Value {
if ((c1.getIssuerDN().equals((Object) caCert.getSubjectDN()))
&& (caCert.getSubjectDN().equals((Object) c2.getSubjectDN())))
-
+
{
return false;
} else if ((c2.getIssuerDN().equals((Object) caCert.getSubjectDN()))
diff --git a/base/common/src/com/netscape/cmscore/cert/CrlCachePrettyPrint.java b/base/common/src/com/netscape/cmscore/cert/CrlCachePrettyPrint.java
index 6d838b70d..532211c42 100644
--- a/base/common/src/com/netscape/cmscore/cert/CrlCachePrettyPrint.java
+++ b/base/common/src/com/netscape/cmscore/cert/CrlCachePrettyPrint.java
@@ -36,7 +36,7 @@ import com.netscape.certsrv.ca.ICertificateAuthority;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Andrew Wnuk
* @version $Revision$, $Date$
*/
@@ -70,7 +70,7 @@ public class CrlCachePrettyPrint implements ICRLPrettyPrint {
* This method return string representation of the certificate
* revocation list in predefined format using specified client
* local. I18N Support.
- *
+ *
* @param clientLocale Locale to be used for localization
* @return string representation of the certificate
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/CrlPrettyPrint.java b/base/common/src/com/netscape/cmscore/cert/CrlPrettyPrint.java
index 1d6048c8d..2dc947641 100644
--- a/base/common/src/com/netscape/cmscore/cert/CrlPrettyPrint.java
+++ b/base/common/src/com/netscape/cmscore/cert/CrlPrettyPrint.java
@@ -24,7 +24,7 @@ import com.netscape.certsrv.base.ICRLPrettyPrint;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Andrew Wnuk
* @version $Revision$, $Date$
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/CrossCertPairSubsystem.java b/base/common/src/com/netscape/cmscore/cert/CrossCertPairSubsystem.java
index 8d8a337c5..9b950e239 100644
--- a/base/common/src/com/netscape/cmscore/cert/CrossCertPairSubsystem.java
+++ b/base/common/src/com/netscape/cmscore/cert/CrossCertPairSubsystem.java
@@ -60,7 +60,7 @@ import com.netscape.cmscore.ldapconn.LdapBoundConnFactory;
* If it happens that the above two cases finds its pairing
* cert already there, then a CertifiatePair is created and put
* in the internal db "crosscertificatepair;binary" attribute
- *
+ *
* @author cfu
* @version $Revision$, $Date$
*/
@@ -141,7 +141,7 @@ public class CrossCertPairSubsystem implements ICrossCertPairSubsystem {
* If it happens that it finds its pairing
* cert already there, then a CertifiatePair is created and put
* in the internal db "crosscertificatepair;binary" attribute
- *
+ *
* @param certBytes cert in byte array to be imported
*/
public void importCert(byte[] certBytes) throws EBaseException {
@@ -166,7 +166,7 @@ public class CrossCertPairSubsystem implements ICrossCertPairSubsystem {
* If it happens that it finds its pairing
* cert already there, then a CertifiatePair is created and put
* in the internal db "crosscertificatepair;binary" attribute
- *
+ *
* @param certBytes cert in byte array to be imported
*/
public synchronized void importCert(Object certObj) throws EBaseException {
@@ -180,7 +180,7 @@ public class CrossCertPairSubsystem implements ICrossCertPairSubsystem {
// cert
// 2. does cert2's subject match this CA's subject?
// 3. other valididity checks: is this a ca cert? Is this
- // cert still valid? If the issuer is not yet trusted, let it
+ // cert still valid? If the issuer is not yet trusted, let it
// be.
// get certs from internal db to see if we find a pair
@@ -277,7 +277,7 @@ public class CrossCertPairSubsystem implements ICrossCertPairSubsystem {
/**
* are cert1 and cert2 cross-signed certs?
- *
+ *
* @param cert1 the cert for comparison in our internal db
* @param cert2 the cert that's being considered
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/ExtPrettyPrint.java b/base/common/src/com/netscape/cmscore/cert/ExtPrettyPrint.java
index 5f5c66a48..10ac3fbb1 100644
--- a/base/common/src/com/netscape/cmscore/cert/ExtPrettyPrint.java
+++ b/base/common/src/com/netscape/cmscore/cert/ExtPrettyPrint.java
@@ -24,7 +24,7 @@ import com.netscape.certsrv.base.IExtPrettyPrint;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Andrew Wnuk
* @version $Revision$, $Date$
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/OidLoaderSubsystem.java b/base/common/src/com/netscape/cmscore/cert/OidLoaderSubsystem.java
index dfd7dbab8..c4983d7c8 100644
--- a/base/common/src/com/netscape/cmscore/cert/OidLoaderSubsystem.java
+++ b/base/common/src/com/netscape/cmscore/cert/OidLoaderSubsystem.java
@@ -38,7 +38,7 @@ import com.netscape.certsrv.base.ISubsystem;
import com.netscape.cmscore.util.Debug;
/**
- *
+ *
* @author stevep
* @version $Revision
*/
@@ -52,7 +52,7 @@ public class OidLoaderSubsystem implements ISubsystem {
private static final String PROP_CLASS = "class";
/**
- *
+ *
*/
private OidLoaderSubsystem() {
}
@@ -122,7 +122,7 @@ public class OidLoaderSubsystem implements ISubsystem {
* Note that individual subsystem should be initialized in a separated thread if it has dependency on the
* initialization of other subsystems.
* <P>
- *
+ *
* @param owner owner of this subsystem
* @param config configuration store
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java b/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java
index 669200575..7b7ce64f9 100644
--- a/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java
+++ b/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java
@@ -22,7 +22,7 @@ import com.netscape.certsrv.base.IPrettyPrintFormat;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Andrew Wnuk
* @version $Revision$, $Date$
*/
@@ -76,7 +76,7 @@ public class PrettyPrintFormat implements IPrettyPrintFormat {
/**
* Provide white space indention
* stevep - speed improvements. Factor of 10 improvement
- *
+ *
* @param numSpace number of white space to be returned
* @return white spaces
*/
@@ -92,7 +92,7 @@ public class PrettyPrintFormat implements IPrettyPrintFormat {
/**
* Convert Byte Array to Hex String Format
* stevep - speedup by factor of 8
- *
+ *
* @param byte array of data to hexify
* @param indentSize number of spaces to prepend before each line
* @param lineLen number of bytes to output on each line (0
diff --git a/base/common/src/com/netscape/cmscore/cert/PrettyPrintResources.java b/base/common/src/com/netscape/cmscore/cert/PrettyPrintResources.java
index 361f50b47..0756664d9 100644
--- a/base/common/src/com/netscape/cmscore/cert/PrettyPrintResources.java
+++ b/base/common/src/com/netscape/cmscore/cert/PrettyPrintResources.java
@@ -24,7 +24,7 @@ import netscape.security.x509.KeyUsageExtension;
/**
* Resource Boundle for the Pretty Print
- *
+ *
* @author Jack Pan-Chen
* @version $Revision$, $Date$
*/
diff --git a/base/common/src/com/netscape/cmscore/cert/PubKeyPrettyPrint.java b/base/common/src/com/netscape/cmscore/cert/PubKeyPrettyPrint.java
index 9ea581812..5c5b13084 100644
--- a/base/common/src/com/netscape/cmscore/cert/PubKeyPrettyPrint.java
+++ b/base/common/src/com/netscape/cmscore/cert/PubKeyPrettyPrint.java
@@ -22,7 +22,7 @@ import java.security.PublicKey;
/**
* This class will display the certificate content in predefined
* format.
- *
+ *
* @author Jack Pan-Chen
* @author Andrew Wnuk
* @version $Revision$, $Date$
diff --git a/base/common/src/com/netscape/cmscore/cert/X500NameSubsystem.java b/base/common/src/com/netscape/cmscore/cert/X500NameSubsystem.java
index de5e233c9..0d58973f8 100644
--- a/base/common/src/com/netscape/cmscore/cert/X500NameSubsystem.java
+++ b/base/common/src/com/netscape/cmscore/cert/X500NameSubsystem.java
@@ -41,7 +41,7 @@ import com.netscape.cmscore.util.Debug;
* <li>Add X500Name (string to oid) maps for attributes that are not supported by default.
* <li>Specify an order for encoding Directory Strings other than the default.
* </ul>
- *
+ *
* @author lhsiao
* @version $Revision$
*/
@@ -84,12 +84,12 @@ public class X500NameSubsystem implements ISubsystem {
* All paramters are optional.
* <ul>
* <li>Change encoding order of Directory Strings:
- *
+ *
* <pre>
* X500Name.directoryStringEncodingOrder=order seperated by commas
* For example: Printable,BMPString,UniversalString.
* </pre>
- *
+ *
* Possible values are:
* <ul>
* <li>Printable
@@ -100,34 +100,34 @@ public class X500NameSubsystem implements ISubsystem {
* </ul>
* <p>
* <li>Add X500Name attributes:
- *
+ *
* <pre>
* X500Name.attr.attribute-name.oid=n.n.n.n
* X500Name.attr.attribute-name.class=value converter class
* </pre>
- *
+ *
* The value converter class converts a string to a ASN.1 value. It must implement
* netscape.security.x509.AVAValueConverter interface. Converter classes provided in CMS are:
- *
+ *
* <pre>
- * netscape.security.x509.PrintableConverter -
- * Converts to a Printable String value. String must have only
- * printable characters.
- * netscape.security.x509.IA5StringConverter -
+ * netscape.security.x509.PrintableConverter -
+ * Converts to a Printable String value. String must have only
+ * printable characters.
+ * netscape.security.x509.IA5StringConverter -
* Converts to a IA5String value. String must have only IA5String
- * characters.
- * netscape.security.x509.DirStrConverter -
- * Converts to a Directory (v3) String. String is expected to
+ * characters.
+ * netscape.security.x509.DirStrConverter -
+ * Converts to a Directory (v3) String. String is expected to
* be in Directory String format according to rfc2253.
- * netscape.security.x509.GenericValueConverter -
+ * netscape.security.x509.GenericValueConverter -
* Converts string character by character in the following order
* from smaller character sets to broadest character set.
* Printable, IA5String, BMPString, Universal String.
* </pre>
- *
+ *
* </ul>
* <P>
- *
+ *
* @param owner owner of this subsystem
* @param config configuration store
*/
@@ -142,7 +142,7 @@ public class X500NameSubsystem implements ISubsystem {
// get order for encoding directory strings if any.
setDirStrEncodingOrder();
- // load x500 name maps
+ // load x500 name maps
loadX500NameAttrMaps();
}