Package com.netscape.certsrv.ocsp
Interface IOCSPAuthority
- All Superinterfaces:
ISubsystem
This class represents the primary interface for the Online Certificate
Status Protocol (OCSP) server.
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThis method retrieves the default signing algorithm.org.mozilla.jss.netscape.security.x509.X500Name
getName()
This method retrieves the X500Name of an OCSP server instance.String[]
This method retrieves all potential OCSP signing algorithms.This method retrieves the responder ID by its hash.This method retrieves the responder ID by its name.This method retrieves the signing unit.void
incLookupTime
(long inc) void
incNumOCSPRequest
(long inc) void
incSignTime
(long inc) void
incTotalTime
(long inc) void
setDefaultAlgorithm
(String algorithm) This method sets the supplied algorithm as the default signing algorithm.sign
(ResponseData rd) This method signs the basic OCSP response data provided as a parameter.Methods inherited from interface com.netscape.certsrv.base.ISubsystem
getConfigStore, getId, init, setId, shutdown, startup
-
Field Details
-
ID
- See Also:
-
OCSP_NONCE
static final org.mozilla.jss.asn1.OBJECT_IDENTIFIER OCSP_NONCE -
PROP_DEF_STORE_ID
- See Also:
-
PROP_STORE
- See Also:
-
PROP_SIGNING_SUBSTORE
- See Also:
-
PROP_NICKNAME
- See Also:
-
PROP_NEW_NICKNAME
- See Also:
-
-
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
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)
-