Interface IOCSPAuthority

All Superinterfaces:
ISubsystem

public interface IOCSPAuthority extends ISubsystem
This class represents the primary interface for the Online Certificate Status Protocol (OCSP) server.

Version:
$Revision$, $Date$
  • Field Details

  • Method Details

    • getSigningUnit

      SigningUnit getSigningUnit()
      This method retrieves the signing unit.

      Returns:
      ISigningUnit an instance of a signing unit object
    • getResponderIDByName

      ResponderID getResponderIDByName()
      This method retrieves the responder ID by its name.

      Returns:
      ResponderID an instance of a responder ID
    • getResponderIDByHash

      ResponderID getResponderIDByHash()
      This method retrieves the responder ID by its hash.

      Returns:
      ResponderID an instance of a responder ID
    • setDefaultAlgorithm

      void setDefaultAlgorithm(String algorithm) throws EBaseException
      This method sets the supplied algorithm as the default signing algorithm.

      Parameters:
      algorithm - a string representing the requested algorithm
      Throws:
      EBaseException - if the algorithm is unknown or disallowed
    • getDefaultAlgorithm

      String getDefaultAlgorithm()
      This method retrieves the default signing algorithm.

      Returns:
      String the name of the default signing algorithm
    • getOCSPSigningAlgorithms

      String[] getOCSPSigningAlgorithms()
      This method retrieves all potential OCSP signing algorithms.

      Returns:
      String[] the names of all potential OCSP signing algorithms
    • getName

      org.mozilla.jss.netscape.security.x509.X500Name getName()
      This method retrieves the X500Name of an OCSP server instance.

      Returns:
      X500Name an instance of the X500 name object
    • sign

      This method signs the basic OCSP response data provided as a parameter.

      Parameters:
      rd - response data
      Returns:
      BasicOCSPResponse signed response data
      Throws:
      EBaseException - error associated with an inability to sign the specified response data
    • incTotalTime

      void incTotalTime(long inc)
    • incSignTime

      void incSignTime(long inc)
    • incLookupTime

      void incLookupTime(long inc)
    • incNumOCSPRequest

      void incNumOCSPRequest(long inc)