Class CmpResponder


  • public class CmpResponder
    extends BaseCmpResponder
    CMP responder.
    Since:
    6.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • CmpResponder

        public CmpResponder​(CmpControl cmpControl,
                            org.xipki.ca.sdk.SdkClient sdk,
                            org.xipki.security.SecurityFactory securityFactory,
                            org.xipki.ca.gateway.CaNameSigners signers,
                            org.xipki.ca.gateway.RequestorAuthenticator authenticator,
                            org.xipki.ca.gateway.PopControl popControl)
                     throws NoSuchAlgorithmException
        Throws:
        NoSuchAlgorithmException
    • Method Detail

      • confirmCertificates

        protected org.bouncycastle.asn1.cmp.PKIBody confirmCertificates​(String caName,
                                                                        org.bouncycastle.asn1.ASN1OctetString transactionId,
                                                                        org.bouncycastle.asn1.cmp.CertConfirmContent certConf)
                                                                 throws org.xipki.ca.sdk.SdkErrorResponseException
        Specified by:
        confirmCertificates in class BaseCmpResponder
        Throws:
        org.xipki.ca.sdk.SdkErrorResponseException
      • revokePendingCertificates

        protected org.bouncycastle.asn1.cmp.PKIBody revokePendingCertificates​(String caName,
                                                                              org.bouncycastle.asn1.ASN1OctetString transactionId)
                                                                       throws org.xipki.ca.sdk.SdkErrorResponseException
        Specified by:
        revokePendingCertificates in class BaseCmpResponder
        Throws:
        org.xipki.ca.sdk.SdkErrorResponseException
      • cmpEnrollCert

        protected org.bouncycastle.asn1.cmp.PKIBody cmpEnrollCert​(String caName,
                                                                  String dfltCertprofileName,
                                                                  boolean groupEnroll,
                                                                  org.bouncycastle.asn1.cmp.PKIMessage request,
                                                                  org.bouncycastle.asn1.cmp.PKIHeaderBuilder respHeader,
                                                                  org.bouncycastle.asn1.cmp.PKIHeader reqHeader,
                                                                  org.bouncycastle.asn1.cmp.PKIBody reqBody,
                                                                  org.xipki.ca.gateway.Requestor requestor,
                                                                  org.bouncycastle.asn1.ASN1OctetString tid,
                                                                  org.xipki.audit.AuditEvent event)
                                                           throws org.xipki.util.exception.InsufficientPermissionException,
                                                                  org.xipki.ca.sdk.SdkErrorResponseException
        Specified by:
        cmpEnrollCert in class BaseCmpResponder
        Throws:
        org.xipki.util.exception.InsufficientPermissionException
        org.xipki.ca.sdk.SdkErrorResponseException
      • cmpUnRevokeCertificates

        protected org.bouncycastle.asn1.cmp.PKIBody cmpUnRevokeCertificates​(String caName,
                                                                            org.bouncycastle.asn1.cmp.PKIMessage request,
                                                                            org.bouncycastle.asn1.cmp.PKIHeaderBuilder respHeader,
                                                                            org.bouncycastle.asn1.cmp.PKIHeader reqHeader,
                                                                            org.bouncycastle.asn1.cmp.PKIBody reqBody,
                                                                            org.xipki.ca.gateway.Requestor requestor,
                                                                            org.xipki.audit.AuditEvent event)
                                                                     throws org.xipki.ca.sdk.SdkErrorResponseException
        Specified by:
        cmpUnRevokeCertificates in class BaseCmpResponder
        Throws:
        org.xipki.ca.sdk.SdkErrorResponseException