|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.security.ca.FileCertificateRequestStore
public class FileCertificateRequestStore
A certificate request store implementation using disk files.
| Field Summary | |
|---|---|
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
FileCertificateRequestStore(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
URI directoryPath,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName abstractName)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
deleteRequest(String id)
This method deletes a certificate request with the specified id. |
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
String[] |
getAllRequestIds()
This method returns the ids of all certificate requests in the store. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
String |
getRequest(String id)
This method returns the certificate request text corresponding to a specified id. |
BigInteger |
getSerialNumberForRequest(String id)
This method returns the Serial number of the certificate issued against the certificate request specified by the given id. |
String[] |
getVerificatonDueRequestIds()
This method returns the ids of all certificate requests with verification due. |
String[] |
getVerifiedRequestIds()
This method returns the ids of all certificate requests that are verified. |
void |
removeRequestStatus(String id,
BigInteger sNo)
This method removes the certificate request id from the status list. |
boolean |
setRequestFulfilled(String id,
BigInteger sNo)
This method sets the status of a certificate request as fulfilled. |
boolean |
setRequestVerified(String id)
This method sets the status of the specifed certificate request as verified. |
String |
storeRequest(String id,
String csr)
This method stores the given certificate request under the given id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public FileCertificateRequestStore(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
URI directoryPath,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName abstractName)
| Method Detail |
|---|
public boolean deleteRequest(String id)
deleteRequest in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate request to be deleted.
public String[] getAllRequestIds()
getAllRequestIds in interface org.apache.geronimo.management.geronimo.CertificateRequestStorepublic String[] getVerificatonDueRequestIds()
getVerificatonDueRequestIds in interface org.apache.geronimo.management.geronimo.CertificateRequestStorepublic String[] getVerifiedRequestIds()
getVerifiedRequestIds in interface org.apache.geronimo.management.geronimo.CertificateRequestStorepublic boolean setRequestVerified(String id)
setRequestVerified in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate request
public boolean setRequestFulfilled(String id,
BigInteger sNo)
setRequestFulfilled in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate requestsNo - Serial number of the certificate issued against the certificate request.
public String getRequest(String id)
getRequest in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate request.
public String storeRequest(String id,
String csr)
storeRequest in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id under which the certificate request is to be storedcsrText - Certificate Request text
public BigInteger getSerialNumberForRequest(String id)
getSerialNumberForRequest in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate request
public void removeRequestStatus(String id,
BigInteger sNo)
removeRequestStatus in interface org.apache.geronimo.management.geronimo.CertificateRequestStoreid - Id of the certificate request to be removed.sNo - Serial number of certificate issued against the certificate request whose Id is to be removed.public void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
public void doStart()
throws Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecycleException
public void doStop()
throws Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleExceptionpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||