org.apache.geronimo.management.geronimo
Interface CertificateRequestStore

All Known Implementing Classes:
FileCertificateRequestStore

public interface CertificateRequestStore

Management interface for dealing with a specific CertificateRequestStore


Method Summary
 boolean deleteRequest(String id)
          This method deletes a certificate request with the specified id.
 String[] getAllRequestIds()
          This method returns the ids of all certificate requests in the store.
 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 csrText)
          This method stores the given certificate request under the given id.
 

Method Detail

getAllRequestIds

String[] getAllRequestIds()
This method returns the ids of all certificate requests in the store.


getVerificatonDueRequestIds

String[] getVerificatonDueRequestIds()
This method returns the ids of all certificate requests with verification due.


getVerifiedRequestIds

String[] getVerifiedRequestIds()
This method returns the ids of all certificate requests that are verified.


getRequest

String getRequest(String id)
This method returns the certificate request text corresponding to a specified id.

Parameters:
id - Id of the certificate request.

deleteRequest

boolean deleteRequest(String id)
This method deletes a certificate request with the specified id.

Parameters:
id - Id of the certificate request to be deleted.
Returns:
True if the request is deleted succssfully

storeRequest

String storeRequest(String id,
                    String csrText)
This method stores the given certificate request under the given id. If a request with the id exists in the store, it will generate a new id and store the request under that id.

Parameters:
id - Id under which the certificate request is to be stored
csrText - Certificate Request text
Returns:
Id under which the certificate request is stored

setRequestVerified

boolean setRequestVerified(String id)
This method sets the status of the specifed certificate request as verified.

Parameters:
id - Id of the certificate request
Returns:
True if the status is set successfully.

setRequestFulfilled

boolean setRequestFulfilled(String id,
                            BigInteger sNo)
This method sets the status of a certificate request as fulfilled.

Parameters:
id - Id of the certificate request
sNo - Serial number of the certificate issued against the certificate request.
Returns:
True if the operation is successfull.

getSerialNumberForRequest

BigInteger getSerialNumberForRequest(String id)
This method returns the Serial number of the certificate issued against the certificate request specified by the given id.

Parameters:
id - Id of the certificate request
Returns:
Serial number of the certificate issued.

removeRequestStatus

void removeRequestStatus(String id,
                         BigInteger sNo)
This method removes the certificate request id from the status list.

Parameters:
id - Id of the certificate request to be removed.
sNo - Serial number of certificate issued against the certificate request whose Id is to be removed.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.