Class CAInfoService

  • All Implemented Interfaces:
    CAInfoResource

    public class CAInfoService
    extends PKIService
    implements CAInfoResource
    Author:
    Ade Lee This class returns CA info, including KRA-related values the CA clients may need to know (e.g. for generating a CRMF cert request that will cause keys to be archived in KRA). The KRA-related info is read from the KRAInfoService, which is queried according to the KRA Connector configuration. After the KRAInfoService has been successfully contacted, the recorded KRA-related settings are regarded as authoritative. The KRA is contacted ONLY if the current info is NOT authoritative, otherwise the currently recorded values are used. This means that any change to relevant KRA configuration (which should occur seldom if ever) necessitates restart of the CA subsystem. If this is unsuccessful (e.g. if the KRA is down or the connector is misconfigured) we use the default values, which may be incorrect.
    • Constructor Detail

      • CAInfoService

        public CAInfoService()
    • Method Detail

      • getInfo

        public javax.ws.rs.core.Response getInfo()
                                          throws java.lang.Exception
        Specified by:
        getInfo in interface CAInfoResource
        Throws:
        java.lang.Exception