public interface IOCSPAuthority extends ISubsystem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
static org.mozilla.jss.asn1.OBJECT_IDENTIFIER |
OCSP_NONCE |
static java.lang.String |
PROP_DEF_STORE_ID |
static java.lang.String |
PROP_NEW_NICKNAME |
static java.lang.String |
PROP_NICKNAME |
static java.lang.String |
PROP_SIGNING_SUBSTORE |
static java.lang.String |
PROP_STORE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultAlgorithm()
This method retrieves the default signing algorithm.
|
IDefStore |
getDefaultStore()
This method retrieves the default OCSP store
(i.
|
org.mozilla.jss.netscape.security.x509.X500Name |
getName()
This method retrieves the X500Name of an OCSP server instance.
|
java.lang.String[] |
getOCSPSigningAlgorithms()
This method retrieves all potential OCSP signing algorithms.
|
IOCSPStore |
getOCSPStore(java.lang.String id)
This method retrieves the OCSP store given its name.
|
ResponderID |
getResponderIDByHash()
This method retrieves the responder ID by its hash.
|
ResponderID |
getResponderIDByName()
This method retrieves the responder ID by its name.
|
ISigningUnit |
getSigningUnit()
This method retrieves the signing unit.
|
void |
incLookupTime(long inc) |
void |
incNumOCSPRequest(long inc) |
void |
incSignTime(long inc) |
void |
incTotalTime(long inc) |
void |
setDefaultAlgorithm(java.lang.String algorithm)
This method sets the supplied algorithm as the default signing algorithm.
|
BasicOCSPResponse |
sign(ResponseData rd)
This method signs the basic OCSP response data provided as a parameter.
|
getConfigStore, getId, init, setId, shutdown, startup
static final java.lang.String ID
static final org.mozilla.jss.asn1.OBJECT_IDENTIFIER OCSP_NONCE
static final java.lang.String PROP_DEF_STORE_ID
static final java.lang.String PROP_STORE
static final java.lang.String PROP_SIGNING_SUBSTORE
static final java.lang.String PROP_NICKNAME
static final java.lang.String PROP_NEW_NICKNAME
IOCSPStore getOCSPStore(java.lang.String id)
id
- the string representation of an OCSP storeISigningUnit getSigningUnit()
ResponderID getResponderIDByName()
ResponderID getResponderIDByHash()
IDefStore getDefaultStore()
void setDefaultAlgorithm(java.lang.String algorithm) throws EBaseException
algorithm
- a string representing the requested algorithmEBaseException
- if the algorithm is unknown or disallowedjava.lang.String getDefaultAlgorithm()
java.lang.String[] getOCSPSigningAlgorithms()
org.mozilla.jss.netscape.security.x509.X500Name getName()
BasicOCSPResponse sign(ResponseData rd) throws EBaseException
rd
- response dataEBaseException
- error associated with an inability to sign
the specified response datavoid incTotalTime(long inc)
void incSignTime(long inc)
void incLookupTime(long inc)
void incNumOCSPRequest(long inc)