Class CACertClient


  • public class CACertClient
    extends Client
    Author:
    Endi S. Dewata
    • 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
      • getCert

        public CertData getCert​(CertId id)
                         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
      • unrevokeCert

        public CertRequestInfo unrevokeCert​(CertId id)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRequest

        public CertRequestInfo getRequest​(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