Package com.netscape.certsrv.ca
Class CACertClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.ca.CACertClient
-
public class CACertClient extends Client
- Author:
- Endi S. Dewata
-
-
Field Summary
Fields Modifier and Type Field Description CertResource
certClient
CertRequestResource
certRequestClient
-
Constructor Summary
Constructors Constructor Description CACertClient(PKIClient client, java.lang.String subsystem)
CACertClient(SubsystemClient subsystemClient)
-
Method Summary
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
-
-
-
-
Field Detail
-
certClient
public CertResource certClient
-
certRequestClient
public CertRequestResource certRequestClient
-
-
Constructor Detail
-
CACertClient
public CACertClient(SubsystemClient subsystemClient) throws java.lang.Exception
- Throws:
java.lang.Exception
-
CACertClient
public CACertClient(PKIClient client, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
reviewCert
public CertData reviewCert(CertId id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
listCerts
public CertDataInfos listCerts(java.lang.String status, java.lang.Integer maxResults, java.lang.Integer maxTime, java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
findCerts
public CertDataInfos findCerts(CertSearchRequest data, java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
revokeCert
public CertRequestInfo revokeCert(CertId id, CertRevokeRequest request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
revokeCACert
public CertRequestInfo revokeCACert(CertId id, CertRevokeRequest request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
unrevokeCert
public CertRequestInfo unrevokeCert(CertId id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
enrollRequest
public CertRequestInfos enrollRequest(CertEnrollmentRequest data, AuthorityID aid, org.mozilla.jss.netscape.security.x509.X500Name adn) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getRequest
public CertRequestInfo getRequest(RequestId id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
reviewRequest
public CertReviewResponse reviewRequest(RequestId id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
approveRequest
public void approveRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
rejectRequest
public void rejectRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
cancelRequest
public void cancelRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateRequest
public void updateRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
validateRequest
public void validateRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
assignRequest
public void assignRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
unassignRequest
public void unassignRequest(RequestId id, CertReviewResponse data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
listRequests
public CertRequestInfos listRequests(java.lang.String requestState, java.lang.String requestType, RequestId start, java.lang.Integer pageSize, java.lang.Integer maxResults, java.lang.Integer maxTime) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEnrollmentTemplate
public CertEnrollmentRequest getEnrollmentTemplate(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
listEnrollmentTemplates
public ProfileDataInfos listEnrollmentTemplates(java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-