|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOCSPAuthority
This class represents the primary interface for the Online Certificate Status Protocol (OCSP) server.
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
boolean |
arraysEqual(byte[] bytes,
byte[] ints)
This method compares two byte arrays to see if they are equivalent. |
java.lang.String |
getDefaultAlgorithm()
This method retrieves the default signing algorithm. |
IDefStore |
getDefaultStore()
This method retrieves the default OCSP store (i. |
java.lang.String |
getDigestName(org.mozilla.jss.pkix.primitive.AlgorithmIdentifier alg)
This method retrieves an OCSP server instance digest name as a string. |
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. |
com.netscape.cmsutil.ocsp.ResponderID |
getResponderIDByHash()
This method retrieves the responder ID by its hash. |
com.netscape.cmsutil.ocsp.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 |
log(int event,
int level,
java.lang.String msg)
This method logs the specified message at the specified level given the specified event. |
void |
log(int level,
java.lang.String msg)
This method logs the specified message at the specified level. |
void |
setDefaultAlgorithm(java.lang.String algorithm)
This method sets the supplied algorithm as the default signing algorithm. |
com.netscape.cmsutil.ocsp.BasicOCSPResponse |
sign(com.netscape.cmsutil.ocsp.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 Detail |
---|
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
Method Detail |
---|
IOCSPStore getOCSPStore(java.lang.String id)
id
- the string representation of an OCSP store
ISigningUnit getSigningUnit()
com.netscape.cmsutil.ocsp.ResponderID getResponderIDByName()
com.netscape.cmsutil.ocsp.ResponderID getResponderIDByHash()
IDefStore getDefaultStore()
void setDefaultAlgorithm(java.lang.String algorithm) throws EBaseException
algorithm
- a string representing the requested algorithm
EBaseException
- if the algorithm is unknown or disallowedjava.lang.String getDefaultAlgorithm()
java.lang.String[] getOCSPSigningAlgorithms()
void log(int level, java.lang.String msg)
level
- the log levelmsg
- the log messagevoid log(int event, int level, java.lang.String msg)
event
- the log eventlevel
- the log messagemsg
- the log messagenetscape.security.x509.X500Name getName()
java.lang.String getDigestName(org.mozilla.jss.pkix.primitive.AlgorithmIdentifier alg)
alg
- the signing algorithm
com.netscape.cmsutil.ocsp.BasicOCSPResponse sign(com.netscape.cmsutil.ocsp.ResponseData rd) throws EBaseException
rd
- response data
EBaseException
- error associated with an inability to sign
the specified response databoolean arraysEqual(byte[] bytes, byte[] ints)
bytes
- the first byte arrayints
- the second byte array
void incTotalTime(long inc)
void incSignTime(long inc)
void incLookupTime(long inc)
void incNumOCSPRequest(long inc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |