Package com.netscape.certsrv.ca
Interface ICAService
-
public interface ICAService
An interface representing a CA request services.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IConnector
getConnector(IConfigStore cs)
IConnector
getKRAConnector()
Returns KRA-CA connector.X509CertImpl
issueX509Cert(AuthorityID aid, X509CertInfo certi, java.lang.String profileId, java.lang.String rid)
Issues certificate base on enrollment information, creates certificate record, and stores all necessary data.void
revokeCert(RevokedCertImpl crlentry)
Marks certificate record as revoked by adding revocation information.void
revokeCert(RevokedCertImpl crlentry, java.lang.String requestId)
Marks certificate record as revoked by adding revocation information.void
serviceProfileRequest(IRequest request)
Services profile request.void
setKRAConnector(IConnector c)
-
-
-
Method Detail
-
revokeCert
void revokeCert(RevokedCertImpl crlentry) throws EBaseException
Marks certificate record as revoked by adding revocation information. Updates CRL cache.- Parameters:
crlentry
- revocation information obtained from revocation request- Throws:
EBaseException
- failed to mark certificate record as revoked
-
revokeCert
void revokeCert(RevokedCertImpl crlentry, java.lang.String requestId) throws EBaseException
Marks certificate record as revoked by adding revocation information. Updates CRL cache.- Parameters:
crlentry
- revocation information obtained from revocation requestrequestId
- revocation request id- Throws:
EBaseException
- failed to mark certificate record as revoked
-
issueX509Cert
X509CertImpl issueX509Cert(AuthorityID aid, X509CertInfo certi, java.lang.String profileId, java.lang.String rid) throws EBaseException
Issues certificate base on enrollment information, creates certificate record, and stores all necessary data.- Parameters:
aid
- CA IDcerti
- information obtain from revocation requestprofileId
- Name of profile usedrid
- Request ID- Throws:
EBaseException
- failed to issue certificate or create certificate record
-
serviceProfileRequest
void serviceProfileRequest(IRequest request) throws EBaseException
Services profile request.- Parameters:
request
- profile enrollment request information- Throws:
EBaseException
- failed to service profile enrollment request
-
getKRAConnector
IConnector getKRAConnector()
Returns KRA-CA connector.- Returns:
- KRA-CA connector
-
setKRAConnector
void setKRAConnector(IConnector c)
-
getConnector
IConnector getConnector(IConfigStore cs) throws EBaseException
- Throws:
EBaseException
-
-