From 7c7b9d023cd466c1771068badc020dab36beb553 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Apr 2012 14:49:11 -0500 Subject: 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 --- .../src/com/netscape/certsrv/ocsp/IDefStore.java | 28 ++++++++++---------- .../com/netscape/certsrv/ocsp/IOCSPAuthority.java | 30 +++++++++++----------- .../com/netscape/certsrv/ocsp/IOCSPService.java | 12 ++++----- .../src/com/netscape/certsrv/ocsp/IOCSPStore.java | 8 +++--- 4 files changed, 39 insertions(+), 39 deletions(-) (limited to 'base/common/src/com/netscape/certsrv/ocsp') diff --git a/base/common/src/com/netscape/certsrv/ocsp/IDefStore.java b/base/common/src/com/netscape/certsrv/ocsp/IDefStore.java index ee4c76a08..76ece7510 100644 --- a/base/common/src/com/netscape/certsrv/ocsp/IDefStore.java +++ b/base/common/src/com/netscape/certsrv/ocsp/IDefStore.java @@ -30,14 +30,14 @@ import com.netscape.certsrv.dbs.repository.IRepositoryRecord; * This class defines an Online Certificate Status Protocol (OCSP) store which * has been extended to provide information from the internal database. *

- * + * * @version $Revision$, $Date$ */ public interface IDefStore extends IOCSPStore { /** * This method retrieves the number of CRL updates since startup. *

- * + * * @return count the number of OCSP default stores */ public int getStateCount(); @@ -45,7 +45,7 @@ public interface IDefStore extends IOCSPStore { /** * This method retrieves the number of OCSP requests since startup. *

- * + * * @param id a string associated with an OCSP request * @return count the number of this type of OCSP requests */ @@ -54,7 +54,7 @@ public interface IDefStore extends IOCSPStore { /** * This method creates a an OCSP default store repository record. *

- * + * * @return IRepositoryRecord an instance of the repository record object */ public IRepositoryRecord createRepositoryRecord(); @@ -62,7 +62,7 @@ public interface IDefStore extends IOCSPStore { /** * This method adds a request to the default OCSP store repository. *

- * + * * @param name a string representing the name of this request * @param thisUpdate the current request * @param rec an instance of the repository record object @@ -77,7 +77,7 @@ public interface IDefStore extends IOCSPStore { * This method specifies whether or not to wait for the Certificate * Revocation List (CRL) to be updated. *

- * + * * @return boolean true or false */ public boolean waitOnCRLUpdate(); @@ -85,7 +85,7 @@ public interface IDefStore extends IOCSPStore { /** * This method updates the specified CRL. *

- * + * * @param crl the CRL to be updated * @exception EBaseException occurs when the CRL cannot be updated */ @@ -94,7 +94,7 @@ public interface IDefStore extends IOCSPStore { /** * This method attempts to read the CRL issuing point. *

- * + * * @param name the name of the CRL to be read * @return ICRLIssuingPointRecord the CRL issuing point * @exception EBaseException occurs when the specified CRL cannot be located @@ -105,7 +105,7 @@ public interface IDefStore extends IOCSPStore { /** * This method searches all CRL issuing points. *

- * + * * @param maxSize specifies the largest number of hits from the search * @return Enumeration a list of the CRL issuing points * @exception EBaseException occurs when no CRL issuing point exists @@ -118,7 +118,7 @@ public interface IDefStore extends IOCSPStore { * This method searches all CRL issuing points constrained by the specified * filtering mechanism. *

- * + * * @param filter a string which constrains the search * @param maxSize specifies the largest number of hits from the search * @return Enumeration a list of the CRL issuing points @@ -131,7 +131,7 @@ public interface IDefStore extends IOCSPStore { /** * This method creates a CRL issuing point record. *

- * + * * @param name a string representation of this CRL issuing point record * @param crlNumber the number of this CRL issuing point record * @param crlSize the size of this CRL issuing point record @@ -146,7 +146,7 @@ public interface IDefStore extends IOCSPStore { /** * This method adds a CRL issuing point *

- * + * * @param name a string representation of this CRL issuing point record * @param rec this CRL issuing point record * @exception EBaseException occurs when the specified CRL issuing point @@ -158,7 +158,7 @@ public interface IDefStore extends IOCSPStore { /** * This method deletes a CRL issuing point record *

- * + * * @param id a string representation of this CRL issuing point record * @exception EBaseException occurs when the specified CRL issuing point * record cannot be deleted @@ -170,7 +170,7 @@ public interface IDefStore extends IOCSPStore { * This method checks to see if the OCSP response should return good * when the certificate is not found. *

- * + * * @return boolean true or false */ public boolean isNotFoundGood(); diff --git a/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java b/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java index 0219d357d..6164b4917 100644 --- a/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java +++ b/base/common/src/com/netscape/certsrv/ocsp/IOCSPAuthority.java @@ -33,7 +33,7 @@ import com.netscape.cmsutil.ocsp.ResponseData; * This class represents the primary interface for the Online Certificate * Status Protocol (OCSP) server. *

- * + * * @version $Revision$, $Date$ */ public interface IOCSPAuthority extends ISubsystem { @@ -50,7 +50,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the OCSP store given its name. *

- * + * * @param id the string representation of an OCSP store * @return IOCSPStore an instance of an OCSP store object */ @@ -59,7 +59,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the signing unit. *

- * + * * @return ISigningUnit an instance of a signing unit object */ public ISigningUnit getSigningUnit(); @@ -67,7 +67,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the responder ID by its name. *

- * + * * @return ResponderID an instance of a responder ID */ public ResponderID getResponderIDByName(); @@ -75,7 +75,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the responder ID by its hash. *

- * + * * @return ResponderID an instance of a responder ID */ public ResponderID getResponderIDByHash(); @@ -84,7 +84,7 @@ public interface IOCSPAuthority extends ISubsystem { * This method retrieves the default OCSP store * (i. e. - information from the internal database). *

- * + * * @return IDefStore an instance of the default OCSP store */ public IDefStore getDefaultStore(); @@ -92,7 +92,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method sets the supplied algorithm as the default signing algorithm. *

- * + * * @param algorithm a string representing the requested algorithm * @exception EBaseException if the algorithm is unknown or disallowed */ @@ -102,7 +102,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the default signing algorithm. *

- * + * * @return String the name of the default signing algorithm */ public String getDefaultAlgorithm(); @@ -110,7 +110,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves all potential OCSP signing algorithms. *

- * + * * @return String[] the names of all potential OCSP signing algorithms */ public String[] getOCSPSigningAlgorithms(); @@ -118,7 +118,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method logs the specified message at the specified level. *

- * + * * @param level the log level * @param msg the log message */ @@ -128,7 +128,7 @@ public interface IOCSPAuthority extends ISubsystem { * This method logs the specified message at the specified level given * the specified event. *

- * + * * @param event the log event * @param level the log message * @param msg the log message @@ -138,7 +138,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves the X500Name of an OCSP server instance. *

- * + * * @return X500Name an instance of the X500 name object */ public X500Name getName(); @@ -146,7 +146,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method retrieves an OCSP server instance digest name as a string. *

- * + * * @param alg the signing algorithm * @return String the digest name of the related OCSP server */ @@ -155,7 +155,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method signs the basic OCSP response data provided as a parameter. *

- * + * * @param rd response data * @return BasicOCSPResponse signed response data * @exception EBaseException error associated with an inability to sign @@ -167,7 +167,7 @@ public interface IOCSPAuthority extends ISubsystem { /** * This method compares two byte arrays to see if they are equivalent. *

- * + * * @param bytes the first byte array * @param ints the second byte array * @return boolean true or false diff --git a/base/common/src/com/netscape/certsrv/ocsp/IOCSPService.java b/base/common/src/com/netscape/certsrv/ocsp/IOCSPService.java index 574289c29..b379ba42c 100644 --- a/base/common/src/com/netscape/certsrv/ocsp/IOCSPService.java +++ b/base/common/src/com/netscape/certsrv/ocsp/IOCSPService.java @@ -24,7 +24,7 @@ import com.netscape.cmsutil.ocsp.OCSPResponse; /** * This class represents the servlet that serves the Online Certificate * Status Protocol (OCSP) requests. - * + * * @version $Revision$ $Date$ */ public interface IOCSPService { @@ -32,7 +32,7 @@ public interface IOCSPService { * This method validates the information associated with the specified * OCSP request and returns an OCSP response. *

- * + * * @param r an OCSP request * @return OCSPResponse the OCSP response associated with the specified * OCSP request @@ -44,7 +44,7 @@ public interface IOCSPService { /** * Returns the in-memory count of the processed OCSP requests. - * + * * @return number of processed OCSP requests in memory */ public long getNumOCSPRequest(); @@ -52,7 +52,7 @@ public interface IOCSPService { /** * Returns the in-memory time (in mini-second) of * the processed time for OCSP requests. - * + * * @return processed times for OCSP requests */ public long getOCSPRequestTotalTime(); @@ -60,7 +60,7 @@ public interface IOCSPService { /** * Returns the in-memory time (in mini-second) of * the signing time for OCSP requests. - * + * * @return processed times for OCSP requests */ public long getOCSPTotalSignTime(); @@ -70,7 +70,7 @@ public interface IOCSPService { /** * Returns the total data signed * for OCSP requests. - * + * * @return processed times for OCSP requests */ public long getOCSPTotalData(); diff --git a/base/common/src/com/netscape/certsrv/ocsp/IOCSPStore.java b/base/common/src/com/netscape/certsrv/ocsp/IOCSPStore.java index 676122105..b94038473 100644 --- a/base/common/src/com/netscape/certsrv/ocsp/IOCSPStore.java +++ b/base/common/src/com/netscape/certsrv/ocsp/IOCSPStore.java @@ -31,7 +31,7 @@ import com.netscape.cmsutil.ocsp.OCSPResponse; * would merely create a new class that extends this class (e. g. - * "public interface ICorporateLDAPStore extends IOCSPStore"). *

- * + * * @version $Revision$, $Date$ */ public interface IOCSPStore extends ISubsystem { @@ -39,7 +39,7 @@ public interface IOCSPStore extends ISubsystem { * This method validates the information associated with the specified * OCSP request and returns an OCSP response. *

- * + * * @param req an OCSP request * @return OCSPResponse the OCSP response associated with the specified * OCSP request @@ -53,7 +53,7 @@ public interface IOCSPStore extends ISubsystem { * This method retrieves the configuration parameters associated with this * OCSP store. *

- * + * * @return NameValuePairs all configuration items */ public NameValuePairs getConfigParameters(); @@ -62,7 +62,7 @@ public interface IOCSPStore extends ISubsystem { * This method stores the configuration parameters specified by the * passed-in Name Value pairs object. *

- * + * * @param pairs a name-value pair object * @exception EBaseException an illegal name-value pair */ -- cgit